7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/FISRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/fis/model/CreateExperimentTemplateLogConfigurationInput.h>
13#include <aws/fis/model/CreateExperimentTemplateExperimentOptionsInput.h>
14#include <aws/fis/model/CreateExperimentTemplateReportConfigurationInput.h>
15#include <aws/fis/model/CreateExperimentTemplateStopConditionInput.h>
16#include <aws/fis/model/CreateExperimentTemplateTargetInput.h>
17#include <aws/fis/model/CreateExperimentTemplateActionInput.h>
19#include <aws/core/utils/UUID.h>
51 template<
typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<
typename ClientTokenT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename StopConditionsT = Aws::Vector<CreateExperimentTemplateStopConditionInput>>
76 void SetStopConditions(StopConditionsT&& value) { m_stopConditionsHasBeenSet =
true; m_stopConditions = std::forward<StopConditionsT>(value); }
77 template<
typename StopConditionsT = Aws::Vector<CreateExperimentTemplateStopConditionInput>>
79 template<
typename StopConditionsT = CreateExperimentTemplateStopConditionInput>
89 template<
typename TargetsT = Aws::Map<Aws::String, CreateExperimentTemplateTargetInput>>
90 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
91 template<
typename TargetsT = Aws::Map<Aws::String, CreateExperimentTemplateTargetInput>>
93 template<
typename TargetsKeyT = Aws::String,
typename TargetsValueT = CreateExperimentTemplateTargetInput>
95 m_targetsHasBeenSet =
true; m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
return *
this;
105 template<
typename ActionsT = Aws::Map<Aws::String, CreateExperimentTemplateActionInput>>
106 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
107 template<
typename ActionsT = Aws::Map<Aws::String, CreateExperimentTemplateActionInput>>
109 template<
typename ActionsKeyT = Aws::String,
typename ActionsValueT = CreateExperimentTemplateActionInput>
111 m_actionsHasBeenSet =
true; m_actions.emplace(std::forward<ActionsKeyT>(key), std::forward<ActionsValueT>(value));
return *
this;
122 template<
typename RoleArnT = Aws::String>
123 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
124 template<
typename RoleArnT = Aws::String>
134 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
136 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
140 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
150 template<
typename LogConfigurationT = CreateExperimentTemplateLogConfigurationInput>
151 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet =
true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
152 template<
typename LogConfigurationT = CreateExperimentTemplateLogConfigurationInput>
162 template<
typename ExperimentOptionsT = CreateExperimentTemplateExperimentOptionsInput>
163 void SetExperimentOptions(ExperimentOptionsT&& value) { m_experimentOptionsHasBeenSet =
true; m_experimentOptions = std::forward<ExperimentOptionsT>(value); }
164 template<
typename ExperimentOptionsT = CreateExperimentTemplateExperimentOptionsInput>
174 template<
typename ExperimentReportConfigurationT = CreateExperimentTemplateReportConfigurationInput>
175 void SetExperimentReportConfiguration(ExperimentReportConfigurationT&& value) { m_experimentReportConfigurationHasBeenSet =
true; m_experimentReportConfiguration = std::forward<ExperimentReportConfigurationT>(value); }
176 template<
typename ExperimentReportConfigurationT = CreateExperimentTemplateReportConfigurationInput>
182 bool m_clientTokenHasBeenSet =
true;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_stopConditionsHasBeenSet =
false;
191 bool m_targetsHasBeenSet =
false;
194 bool m_actionsHasBeenSet =
false;
197 bool m_roleArnHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
202 CreateExperimentTemplateLogConfigurationInput m_logConfiguration;
203 bool m_logConfigurationHasBeenSet =
false;
205 CreateExperimentTemplateExperimentOptionsInput m_experimentOptions;
206 bool m_experimentOptionsHasBeenSet =
false;
208 CreateExperimentTemplateReportConfigurationInput m_experimentReportConfiguration;
209 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