7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fis/FIS_EXPORTS.h>
12#include <aws/fis/model/ExperimentActionState.h>
44 template <
typename ActionIdT = Aws::String>
46 m_actionIdHasBeenSet =
true;
47 m_actionId = std::forward<ActionIdT>(value);
49 template <
typename ActionIdT = Aws::String>
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
80 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
82 m_parametersHasBeenSet =
true;
83 m_parameters = std::forward<ParametersT>(value);
85 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
90 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
92 m_parametersHasBeenSet =
true;
93 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
104 template <
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
106 m_targetsHasBeenSet =
true;
107 m_targets = std::forward<TargetsT>(value);
109 template <
typename TargetsT = Aws::Map<Aws::String, Aws::String>>
114 template <
typename TargetsKeyT = Aws::String,
typename TargetsValueT = Aws::String>
116 m_targetsHasBeenSet =
true;
117 m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
128 template <
typename StartAfterT = Aws::Vector<Aws::String>>
130 m_startAfterHasBeenSet =
true;
131 m_startAfter = std::forward<StartAfterT>(value);
133 template <
typename StartAfterT = Aws::Vector<Aws::String>>
138 template <
typename StartAfterT = Aws::String>
140 m_startAfterHasBeenSet =
true;
141 m_startAfter.emplace_back(std::forward<StartAfterT>(value));
152 template <
typename StateT = ExperimentActionState>
154 m_stateHasBeenSet =
true;
155 m_state = std::forward<StateT>(value);
157 template <
typename StateT = ExperimentActionState>
159 SetState(std::forward<StateT>(value));
170 template <
typename StartTimeT = Aws::Utils::DateTime>
172 m_startTimeHasBeenSet =
true;
173 m_startTime = std::forward<StartTimeT>(value);
175 template <
typename StartTimeT = Aws::Utils::DateTime>
188 template <
typename EndTimeT = Aws::Utils::DateTime>
190 m_endTimeHasBeenSet =
true;
191 m_endTime = std::forward<EndTimeT>(value);
193 template <
typename EndTimeT = Aws::Utils::DateTime>
215 bool m_actionIdHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
217 bool m_parametersHasBeenSet =
false;
218 bool m_targetsHasBeenSet =
false;
219 bool m_startAfterHasBeenSet =
false;
220 bool m_stateHasBeenSet =
false;
221 bool m_startTimeHasBeenSet =
false;
222 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