7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/LaunchActionCategory.h>
11#include <aws/drs/model/LaunchActionParameter.h>
12#include <aws/drs/model/LaunchActionType.h>
44 template <
typename ActionCodeT = Aws::String>
46 m_actionCodeHasBeenSet =
true;
47 m_actionCode = std::forward<ActionCodeT>(value);
49 template <
typename ActionCodeT = Aws::String>
60 template <
typename ActionIdT = Aws::String>
62 m_actionIdHasBeenSet =
true;
63 m_actionId = std::forward<ActionIdT>(value);
65 template <
typename ActionIdT = Aws::String>
76 template <
typename ActionVersionT = Aws::String>
78 m_actionVersionHasBeenSet =
true;
79 m_actionVersion = std::forward<ActionVersionT>(value);
81 template <
typename ActionVersionT = Aws::String>
95 m_activeHasBeenSet =
true;
109 m_categoryHasBeenSet =
true;
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
138 template <
typename NameT = Aws::String>
140 m_nameHasBeenSet =
true;
141 m_name = std::forward<NameT>(value);
143 template <
typename NameT = Aws::String>
145 SetName(std::forward<NameT>(value));
157 m_optionalHasBeenSet =
true;
171 m_orderHasBeenSet =
true;
184 template <
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
186 m_parametersHasBeenSet =
true;
187 m_parameters = std::forward<ParametersT>(value);
189 template <
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
194 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = LaunchActionParameter>
196 m_parametersHasBeenSet =
true;
197 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
209 m_typeHasBeenSet =
true;
224 bool m_active{
false};
232 bool m_optional{
false};
239 bool m_actionCodeHasBeenSet =
false;
240 bool m_actionIdHasBeenSet =
false;
241 bool m_actionVersionHasBeenSet =
false;
242 bool m_activeHasBeenSet =
false;
243 bool m_categoryHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
246 bool m_optionalHasBeenSet =
false;
247 bool m_orderHasBeenSet =
false;
248 bool m_parametersHasBeenSet =
false;
249 bool m_typeHasBeenSet =
false;
const Aws::String & GetActionVersion() const
LaunchActionType GetType() const
LaunchAction & WithOrder(int value)
void SetName(NameT &&value)
LaunchActionCategory GetCategory() const
AWS_DRS_API LaunchAction()=default
bool ParametersHasBeenSet() const
const Aws::String & GetActionId() const
bool ActiveHasBeenSet() const
bool ActionIdHasBeenSet() const
void SetType(LaunchActionType value)
void SetOptional(bool value)
LaunchAction & WithType(LaunchActionType value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchAction & WithActionCode(ActionCodeT &&value)
void SetParameters(ParametersT &&value)
bool OptionalHasBeenSet() const
bool TypeHasBeenSet() const
LaunchAction & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetActionCode() const
AWS_DRS_API LaunchAction(Aws::Utils::Json::JsonView jsonValue)
void SetActionCode(ActionCodeT &&value)
bool ActionCodeHasBeenSet() const
const Aws::Map< Aws::String, LaunchActionParameter > & GetParameters() const
bool ActionVersionHasBeenSet() const
const Aws::String & GetName() const
LaunchAction & WithActionVersion(ActionVersionT &&value)
LaunchAction & WithName(NameT &&value)
LaunchAction & WithActive(bool value)
LaunchAction & WithCategory(LaunchActionCategory value)
void SetCategory(LaunchActionCategory value)
LaunchAction & WithOptional(bool value)
bool OrderHasBeenSet() const
LaunchAction & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
LaunchAction & WithActionId(ActionIdT &&value)
void SetActive(bool value)
bool CategoryHasBeenSet() const
LaunchAction & WithParameters(ParametersT &&value)
void SetActionVersion(ActionVersionT &&value)
void SetActionId(ActionIdT &&value)
AWS_DRS_API LaunchAction & operator=(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue