30 #ifndef GOOGLE_DATAFLOW_API_LAUNCH_FLEX_TEMPLATE_REQUEST_H_ 31 #define GOOGLE_DATAFLOW_API_LAUNCH_FLEX_TEMPLATE_REQUEST_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 37 #include "google/dataflow_api/launch_flex_template_parameter.h" 85 return StringPiece(
"google_dataflow_api::LaunchFlexTemplateRequest");
94 return Storage().isMember(
"launchParameter");
101 MutableStorage()->removeMember(
"launchParameter");
127 return Storage().isMember(
"validateOnly");
134 MutableStorage()->removeMember(
"validateOnly");
142 const Json::Value& storage = Storage(
"validateOnly");
143 return client::JsonValueToCppValueHelper<bool >(storage);
155 client::SetJsonValueFromCppValueHelper<bool >(
156 value, MutableStorage(
"validateOnly"));
163 #endif // GOOGLE_DATAFLOW_API_LAUNCH_FLEX_TEMPLATE_REQUEST_H_ Definition: launch_flex_template_request.h:51
const StringPiece GetTypeName() const
Definition: launch_flex_template_request.h:84
void clear_launch_parameter()
Definition: launch_flex_template_request.h:100
Definition: launch_flex_template_parameter.h:52
bool get_validate_only() const
Definition: launch_flex_template_request.h:141
bool has_validate_only() const
Definition: launch_flex_template_request.h:126
Definition: approximate_progress.h:40
void set_validate_only(bool value)
Definition: launch_flex_template_request.h:154
bool has_launch_parameter() const
Definition: launch_flex_template_request.h:93
Definition: approximate_progress.cc:42
void clear_validate_only()
Definition: launch_flex_template_request.h:133