7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
48 template<
typename ActionIdT = Aws::String>
49 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
50 template<
typename ActionIdT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
73 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
74 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
76 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
78 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
88 template<
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
89 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
90 template<
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
92 template<
typename TargetsKeyT = Aws::String,
typename TargetsValueT = Aws::String>
94 m_targetsHasBeenSet =
true; m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
return *
this;
105 template<
typename StartAfterT = Aws::Vector<Aws::String>>
106 void SetStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet =
true; m_startAfter = std::forward<StartAfterT>(value); }
107 template<
typename StartAfterT = Aws::Vector<Aws::String>>
109 template<
typename StartAfterT = Aws::String>
115 bool m_actionIdHasBeenSet =
false;
118 bool m_descriptionHasBeenSet =
false;
121 bool m_parametersHasBeenSet =
false;
124 bool m_targetsHasBeenSet =
false;
127 bool m_startAfterHasBeenSet =
false;
ExperimentTemplateAction & WithActionId(ActionIdT &&value)
ExperimentTemplateAction & AddStartAfter(StartAfterT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_FIS_API ExperimentTemplateAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TargetsHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetStartAfter() const
bool ActionIdHasBeenSet() const
const Aws::String & GetActionId() const
ExperimentTemplateAction & WithDescription(DescriptionT &&value)
void SetTargets(TargetsT &&value)
ExperimentTemplateAction & AddTargets(TargetsKeyT &&key, TargetsValueT &&value)
ExperimentTemplateAction & WithTargets(TargetsT &&value)
ExperimentTemplateAction & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_FIS_API ExperimentTemplateAction()=default
void SetDescription(DescriptionT &&value)
void SetStartAfter(StartAfterT &&value)
void SetParameters(ParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTargets() const
ExperimentTemplateAction & WithStartAfter(StartAfterT &&value)
AWS_FIS_API ExperimentTemplateAction(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateAction & WithParameters(ParametersT &&value)
void SetActionId(ActionIdT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
bool ParametersHasBeenSet() const
bool StartAfterHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue