7#include <aws/core/utils/UUID.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/FISRequest.h>
12#include <aws/fis/FIS_EXPORTS.h>
13#include <aws/fis/model/CreateExperimentTemplateActionInput.h>
14#include <aws/fis/model/CreateExperimentTemplateExperimentOptionsInput.h>
15#include <aws/fis/model/CreateExperimentTemplateLogConfigurationInput.h>
16#include <aws/fis/model/CreateExperimentTemplateReportConfigurationInput.h>
17#include <aws/fis/model/CreateExperimentTemplateStopConditionInput.h>
18#include <aws/fis/model/CreateExperimentTemplateTargetInput.h>
47 template <
typename ClientTokenT = Aws::String>
49 m_clientTokenHasBeenSet =
true;
50 m_clientToken = std::forward<ClientTokenT>(value);
52 template <
typename ClientTokenT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
83 template <
typename StopConditionsT = Aws::Vector<CreateExperimentTemplateStopConditionInput>>
85 m_stopConditionsHasBeenSet =
true;
86 m_stopConditions = std::forward<StopConditionsT>(value);
88 template <
typename StopConditionsT = Aws::Vector<CreateExperimentTemplateStopConditionInput>>
93 template <
typename StopConditionsT = CreateExperimentTemplateStopConditionInput>
95 m_stopConditionsHasBeenSet =
true;
96 m_stopConditions.emplace_back(std::forward<StopConditionsT>(value));
107 template <
typename TargetsT = Aws::Map<Aws::String, CreateExperimentTemplateTargetInput>>
109 m_targetsHasBeenSet =
true;
110 m_targets = std::forward<TargetsT>(value);
112 template <
typename TargetsT = Aws::Map<Aws::String, CreateExperimentTemplateTargetInput>>
117 template <
typename TargetsKeyT = Aws::String,
typename TargetsValueT = CreateExperimentTemplateTargetInput>
119 m_targetsHasBeenSet =
true;
120 m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
131 template <
typename ActionsT = Aws::Map<Aws::String, CreateExperimentTemplateActionInput>>
133 m_actionsHasBeenSet =
true;
134 m_actions = std::forward<ActionsT>(value);
136 template <
typename ActionsT = Aws::Map<Aws::String, CreateExperimentTemplateActionInput>>
141 template <
typename ActionsKeyT = Aws::String,
typename ActionsValueT = CreateExperimentTemplateActionInput>
143 m_actionsHasBeenSet =
true;
144 m_actions.emplace(std::forward<ActionsKeyT>(key), std::forward<ActionsValueT>(value));
156 template <
typename RoleArnT = Aws::String>
158 m_roleArnHasBeenSet =
true;
159 m_roleArn = std::forward<RoleArnT>(value);
161 template <
typename RoleArnT = Aws::String>
174 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 m_tagsHasBeenSet =
true;
177 m_tags = std::forward<TagsT>(value);
179 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 SetTags(std::forward<TagsT>(value));
184 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
186 m_tagsHasBeenSet =
true;
187 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
198 template <
typename LogConfigurationT = CreateExperimentTemplateLogConfigurationInput>
200 m_logConfigurationHasBeenSet =
true;
201 m_logConfiguration = std::forward<LogConfigurationT>(value);
203 template <
typename LogConfigurationT = CreateExperimentTemplateLogConfigurationInput>
216 template <
typename ExperimentOptionsT = CreateExperimentTemplateExperimentOptionsInput>
218 m_experimentOptionsHasBeenSet =
true;
219 m_experimentOptions = std::forward<ExperimentOptionsT>(value);
221 template <
typename ExperimentOptionsT = CreateExperimentTemplateExperimentOptionsInput>
233 return m_experimentReportConfiguration;
236 template <
typename ExperimentReportConfigurationT = CreateExperimentTemplateReportConfigurationInput>
238 m_experimentReportConfigurationHasBeenSet =
true;
239 m_experimentReportConfiguration = std::forward<ExperimentReportConfigurationT>(value);
241 template <
typename ExperimentReportConfigurationT = CreateExperimentTemplateReportConfigurationInput>
262 CreateExperimentTemplateLogConfigurationInput m_logConfiguration;
264 CreateExperimentTemplateExperimentOptionsInput m_experimentOptions;
266 CreateExperimentTemplateReportConfigurationInput m_experimentReportConfiguration;
267 bool m_clientTokenHasBeenSet =
true;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_stopConditionsHasBeenSet =
false;
270 bool m_targetsHasBeenSet =
false;
271 bool m_actionsHasBeenSet =
false;
272 bool m_roleArnHasBeenSet =
false;
273 bool m_tagsHasBeenSet =
false;
274 bool m_logConfigurationHasBeenSet =
false;
275 bool m_experimentOptionsHasBeenSet =
false;
276 bool m_experimentReportConfigurationHasBeenSet =
false;
void SetExperimentOptions(ExperimentOptionsT &&value)
bool DescriptionHasBeenSet() const
const CreateExperimentTemplateExperimentOptionsInput & GetExperimentOptions() const
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_FIS_API Aws::String SerializePayload() const override
CreateExperimentTemplateRequest & AddActions(ActionsKeyT &&key, ActionsValueT &&value)
AWS_FIS_API CreateExperimentTemplateRequest()=default
CreateExperimentTemplateRequest & WithLogConfiguration(LogConfigurationT &&value)
bool LogConfigurationHasBeenSet() const
bool StopConditionsHasBeenSet() const
CreateExperimentTemplateRequest & WithClientToken(ClientTokenT &&value)
CreateExperimentTemplateRequest & WithTags(TagsT &&value)
const Aws::String & GetRoleArn() const
CreateExperimentTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const CreateExperimentTemplateReportConfigurationInput & GetExperimentReportConfiguration() const
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, CreateExperimentTemplateActionInput > & GetActions() const
void SetExperimentReportConfiguration(ExperimentReportConfigurationT &&value)
CreateExperimentTemplateRequest & WithTargets(TargetsT &&value)
CreateExperimentTemplateRequest & AddStopConditions(StopConditionsT &&value)
CreateExperimentTemplateRequest & WithExperimentOptions(ExperimentOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateExperimentTemplateRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
CreateExperimentTemplateRequest & WithActions(ActionsT &&value)
void SetStopConditions(StopConditionsT &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
bool ExperimentReportConfigurationHasBeenSet() const
CreateExperimentTemplateRequest & WithExperimentReportConfiguration(ExperimentReportConfigurationT &&value)
bool ActionsHasBeenSet() const
void SetActions(ActionsT &&value)
const Aws::Map< Aws::String, CreateExperimentTemplateTargetInput > & GetTargets() const
void SetTargets(TargetsT &&value)
void SetLogConfiguration(LogConfigurationT &&value)
void SetTags(TagsT &&value)
const CreateExperimentTemplateLogConfigurationInput & GetLogConfiguration() const
bool TargetsHasBeenSet() const
CreateExperimentTemplateRequest & WithStopConditions(StopConditionsT &&value)
void SetClientToken(ClientTokenT &&value)
bool RoleArnHasBeenSet() const
CreateExperimentTemplateRequest & AddTargets(TargetsKeyT &&key, TargetsValueT &&value)
const Aws::Vector< CreateExperimentTemplateStopConditionInput > & GetStopConditions() const
void SetRoleArn(RoleArnT &&value)
CreateExperimentTemplateRequest & WithRoleArn(RoleArnT &&value)
bool ExperimentOptionsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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