7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/LaunchActionCategory.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/drs/model/LaunchActionParameter.h>
46 inline void SetActionCode(
const char* value) { m_actionCodeHasBeenSet =
true; m_actionCode.assign(value); }
58 inline void SetActionId(
const char* value) { m_actionIdHasBeenSet =
true; m_actionId.assign(value); }
70 inline void SetActionVersion(
const char* value) { m_actionVersionHasBeenSet =
true; m_actionVersion.assign(value); }
82 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
114 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
126 inline void SetOptional(
bool value) { m_optionalHasBeenSet =
true; m_optional = value; }
134 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
160 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
168 bool m_actionCodeHasBeenSet =
false;
171 bool m_actionIdHasBeenSet =
false;
174 bool m_actionVersionHasBeenSet =
false;
177 bool m_activeHasBeenSet =
false;
180 bool m_categoryHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
189 bool m_optionalHasBeenSet =
false;
192 bool m_orderHasBeenSet =
false;
195 bool m_parametersHasBeenSet =
false;
198 bool m_resourceIdHasBeenSet =
false;
void SetActionCode(const Aws::String &value)
PutLaunchActionRequest & WithResourceId(const char *value)
PutLaunchActionRequest & WithActionCode(Aws::String &&value)
void SetCategory(const LaunchActionCategory &value)
void SetResourceId(const char *value)
void SetActionId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
PutLaunchActionRequest & WithActionVersion(Aws::String &&value)
const LaunchActionCategory & GetCategory() const
void SetActionVersion(Aws::String &&value)
PutLaunchActionRequest & WithActive(bool value)
PutLaunchActionRequest & WithOrder(int value)
PutLaunchActionRequest & WithActionVersion(const Aws::String &value)
bool OrderHasBeenSet() const
bool CategoryHasBeenSet() const
PutLaunchActionRequest & WithOptional(bool value)
PutLaunchActionRequest & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
PutLaunchActionRequest & WithName(Aws::String &&value)
PutLaunchActionRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
PutLaunchActionRequest & WithActionId(const Aws::String &value)
AWS_DRS_API PutLaunchActionRequest()
PutLaunchActionRequest & WithParameters(const Aws::Map< Aws::String, LaunchActionParameter > &value)
void SetActionId(const char *value)
void SetDescription(const Aws::String &value)
void SetOptional(bool value)
void SetActionId(Aws::String &&value)
AWS_DRS_API Aws::String SerializePayload() const override
bool ActionCodeHasBeenSet() const
void SetActionCode(const char *value)
void SetName(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, LaunchActionParameter > &&value)
void SetParameters(const Aws::Map< Aws::String, LaunchActionParameter > &value)
const Aws::String & GetResourceId() const
PutLaunchActionRequest & WithParameters(Aws::Map< Aws::String, LaunchActionParameter > &&value)
PutLaunchActionRequest & AddParameters(const char *key, const LaunchActionParameter &value)
const Aws::String & GetDescription() const
PutLaunchActionRequest & AddParameters(Aws::String &&key, LaunchActionParameter &&value)
PutLaunchActionRequest & AddParameters(const Aws::String &key, const LaunchActionParameter &value)
PutLaunchActionRequest & WithDescription(Aws::String &&value)
bool ActionIdHasBeenSet() const
const Aws::String & GetActionCode() const
bool ActiveHasBeenSet() const
void SetResourceId(Aws::String &&value)
PutLaunchActionRequest & WithResourceId(Aws::String &&value)
PutLaunchActionRequest & WithCategory(const LaunchActionCategory &value)
bool ResourceIdHasBeenSet() const
void SetActionVersion(const Aws::String &value)
PutLaunchActionRequest & WithName(const char *value)
const Aws::Map< Aws::String, LaunchActionParameter > & GetParameters() const
PutLaunchActionRequest & AddParameters(const Aws::String &key, LaunchActionParameter &&value)
PutLaunchActionRequest & WithCategory(LaunchActionCategory &&value)
const Aws::String & GetActionId() const
PutLaunchActionRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetDescription(const char *value)
const Aws::String & GetActionVersion() const
bool OptionalHasBeenSet() const
PutLaunchActionRequest & AddParameters(const char *key, LaunchActionParameter &&value)
PutLaunchActionRequest & WithActionCode(const Aws::String &value)
void SetActionVersion(const char *value)
void SetActionCode(Aws::String &&value)
bool NameHasBeenSet() const
bool ParametersHasBeenSet() const
PutLaunchActionRequest & WithActionVersion(const char *value)
bool DescriptionHasBeenSet() const
void SetName(const char *value)
PutLaunchActionRequest & WithActionCode(const char *value)
void SetCategory(LaunchActionCategory &&value)
PutLaunchActionRequest & WithResourceId(const Aws::String &value)
PutLaunchActionRequest & AddParameters(Aws::String &&key, const LaunchActionParameter &value)
void SetActive(bool value)
bool ActionVersionHasBeenSet() const
void SetName(Aws::String &&value)
PutLaunchActionRequest & WithActionId(Aws::String &&value)
PutLaunchActionRequest & WithActionId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String