7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/DrsRequest.h>
10#include <aws/drs/Drs_EXPORTS.h>
11#include <aws/drs/model/LaunchActionCategory.h>
12#include <aws/drs/model/LaunchActionParameter.h>
40 template <
typename ActionCodeT = Aws::String>
42 m_actionCodeHasBeenSet =
true;
43 m_actionCode = std::forward<ActionCodeT>(value);
45 template <
typename ActionCodeT = Aws::String>
56 template <
typename ActionIdT = Aws::String>
58 m_actionIdHasBeenSet =
true;
59 m_actionId = std::forward<ActionIdT>(value);
61 template <
typename ActionIdT = Aws::String>
72 template <
typename ActionVersionT = Aws::String>
74 m_actionVersionHasBeenSet =
true;
75 m_actionVersion = std::forward<ActionVersionT>(value);
77 template <
typename ActionVersionT = Aws::String>
91 m_activeHasBeenSet =
true;
105 m_categoryHasBeenSet =
true;
118 template <
typename DescriptionT = Aws::String>
120 m_descriptionHasBeenSet =
true;
121 m_description = std::forward<DescriptionT>(value);
123 template <
typename DescriptionT = Aws::String>
134 template <
typename NameT = Aws::String>
136 m_nameHasBeenSet =
true;
137 m_name = std::forward<NameT>(value);
139 template <
typename NameT = Aws::String>
141 SetName(std::forward<NameT>(value));
153 m_optionalHasBeenSet =
true;
167 m_orderHasBeenSet =
true;
180 template <
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
182 m_parametersHasBeenSet =
true;
183 m_parameters = std::forward<ParametersT>(value);
185 template <
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
190 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = LaunchActionParameter>
192 m_parametersHasBeenSet =
true;
193 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
202 template <
typename ResourceIdT = Aws::String>
204 m_resourceIdHasBeenSet =
true;
205 m_resourceId = std::forward<ResourceIdT>(value);
207 template <
typename ResourceIdT = Aws::String>
220 bool m_active{
false};
228 bool m_optional{
false};
235 bool m_actionCodeHasBeenSet =
false;
236 bool m_actionIdHasBeenSet =
false;
237 bool m_actionVersionHasBeenSet =
false;
238 bool m_activeHasBeenSet =
false;
239 bool m_categoryHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
241 bool m_nameHasBeenSet =
false;
242 bool m_optionalHasBeenSet =
false;
243 bool m_orderHasBeenSet =
false;
244 bool m_parametersHasBeenSet =
false;
245 bool m_resourceIdHasBeenSet =
false;
PutLaunchActionRequest & WithDescription(DescriptionT &&value)
void SetActionCode(ActionCodeT &&value)
PutLaunchActionRequest & WithActionId(ActionIdT &&value)
PutLaunchActionRequest & WithActive(bool value)
PutLaunchActionRequest & WithOrder(int value)
AWS_DRS_API PutLaunchActionRequest()=default
bool OrderHasBeenSet() const
bool CategoryHasBeenSet() const
PutLaunchActionRequest & WithOptional(bool value)
PutLaunchActionRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
void SetResourceId(ResourceIdT &&value)
PutLaunchActionRequest & WithResourceId(ResourceIdT &&value)
PutLaunchActionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetOptional(bool value)
void SetActionId(ActionIdT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
bool ActionCodeHasBeenSet() const
const Aws::String & GetResourceId() const
const Aws::String & GetDescription() const
bool ActionIdHasBeenSet() const
const Aws::String & GetActionCode() const
bool ActiveHasBeenSet() const
void SetActionVersion(ActionVersionT &&value)
void SetParameters(ParametersT &&value)
void SetName(NameT &&value)
void SetCategory(LaunchActionCategory value)
PutLaunchActionRequest & WithCategory(LaunchActionCategory value)
bool ResourceIdHasBeenSet() const
const Aws::Map< Aws::String, LaunchActionParameter > & GetParameters() const
LaunchActionCategory GetCategory() const
const Aws::String & GetActionId() const
const Aws::String & GetName() const
const Aws::String & GetActionVersion() const
bool OptionalHasBeenSet() const
PutLaunchActionRequest & WithActionCode(ActionCodeT &&value)
bool NameHasBeenSet() const
bool ParametersHasBeenSet() const
bool DescriptionHasBeenSet() const
PutLaunchActionRequest & WithParameters(ParametersT &&value)
void SetActive(bool value)
PutLaunchActionRequest & WithActionVersion(ActionVersionT &&value)
bool ActionVersionHasBeenSet() const
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