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>
11#include <aws/fis/model/ExperimentActionState.h>
12#include <aws/core/utils/DateTime.h>
50 template<
typename ActionIdT = Aws::String>
51 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
52 template<
typename ActionIdT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
75 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
76 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
78 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
80 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
90 template<
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
91 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
92 template<
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
94 template<
typename TargetsKeyT = Aws::String,
typename TargetsValueT = Aws::String>
96 m_targetsHasBeenSet =
true; m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
return *
this;
106 template<
typename StartAfterT = Aws::Vector<Aws::String>>
107 void SetStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet =
true; m_startAfter = std::forward<StartAfterT>(value); }
108 template<
typename StartAfterT = Aws::Vector<Aws::String>>
110 template<
typename StartAfterT = Aws::String>
111 ExperimentAction&
AddStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet =
true; m_startAfter.emplace_back(std::forward<StartAfterT>(value));
return *
this; }
120 template<
typename StateT = ExperimentActionState>
121 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
122 template<
typename StateT = ExperimentActionState>
132 template<
typename StartTimeT = Aws::Utils::DateTime>
133 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
134 template<
typename StartTimeT = Aws::Utils::DateTime>
144 template<
typename EndTimeT = Aws::Utils::DateTime>
145 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
146 template<
typename EndTimeT = Aws::Utils::DateTime>
152 bool m_actionIdHasBeenSet =
false;
155 bool m_descriptionHasBeenSet =
false;
158 bool m_parametersHasBeenSet =
false;
161 bool m_targetsHasBeenSet =
false;
164 bool m_startAfterHasBeenSet =
false;
167 bool m_stateHasBeenSet =
false;
170 bool m_startTimeHasBeenSet =
false;
173 bool m_endTimeHasBeenSet =
false;
bool TargetsHasBeenSet() const
AWS_FIS_API ExperimentAction(Aws::Utils::Json::JsonView jsonValue)
bool ParametersHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetTargets(TargetsT &&value)
AWS_FIS_API ExperimentAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Vector< Aws::String > & GetStartAfter() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentAction & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
ExperimentAction & WithState(StateT &&value)
ExperimentAction & WithActionId(ActionIdT &&value)
ExperimentAction & WithEndTime(EndTimeT &&value)
void SetStartAfter(StartAfterT &&value)
void SetParameters(ParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTargets() const
bool StartAfterHasBeenSet() const
ExperimentAction & WithStartAfter(StartAfterT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool ActionIdHasBeenSet() const
ExperimentAction & WithParameters(ParametersT &&value)
ExperimentAction & AddStartAfter(StartAfterT &&value)
bool StartTimeHasBeenSet() const
void SetActionId(ActionIdT &&value)
bool DescriptionHasBeenSet() const
void SetStartTime(StartTimeT &&value)
ExperimentAction & WithDescription(DescriptionT &&value)
void SetState(StateT &&value)
void SetDescription(DescriptionT &&value)
ExperimentAction & AddTargets(TargetsKeyT &&key, TargetsValueT &&value)
ExperimentAction & WithStartTime(StartTimeT &&value)
const Aws::String & GetActionId() const
AWS_FIS_API ExperimentAction()=default
void SetEndTime(EndTimeT &&value)
const ExperimentActionState & GetState() const
ExperimentAction & WithTargets(TargetsT &&value)
bool EndTimeHasBeenSet() 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