7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/LaunchActionCategory.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/drs/model/LaunchActionType.h>
12#include <aws/drs/model/LaunchActionParameter.h>
50 template<
typename ActionCodeT = Aws::String>
51 void SetActionCode(ActionCodeT&& value) { m_actionCodeHasBeenSet =
true; m_actionCode = std::forward<ActionCodeT>(value); }
52 template<
typename ActionCodeT = Aws::String>
60 template<
typename ActionIdT = Aws::String>
61 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
62 template<
typename ActionIdT = Aws::String>
70 template<
typename ActionVersionT = Aws::String>
71 void SetActionVersion(ActionVersionT&& value) { m_actionVersionHasBeenSet =
true; m_actionVersion = std::forward<ActionVersionT>(value); }
72 template<
typename ActionVersionT = Aws::String>
82 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
108 template<
typename NameT = Aws::String>
109 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
110 template<
typename NameT = Aws::String>
120 inline void SetOptional(
bool value) { m_optionalHasBeenSet =
true; m_optional = value; }
128 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
136 template<
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
137 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
138 template<
typename ParametersT = Aws::Map<Aws::String, LaunchActionParameter>>
140 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = LaunchActionParameter>
142 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
158 bool m_actionCodeHasBeenSet =
false;
161 bool m_actionIdHasBeenSet =
false;
164 bool m_actionVersionHasBeenSet =
false;
166 bool m_active{
false};
167 bool m_activeHasBeenSet =
false;
170 bool m_categoryHasBeenSet =
false;
173 bool m_descriptionHasBeenSet =
false;
176 bool m_nameHasBeenSet =
false;
178 bool m_optional{
false};
179 bool m_optionalHasBeenSet =
false;
182 bool m_orderHasBeenSet =
false;
185 bool m_parametersHasBeenSet =
false;
188 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