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/UpdateExperimentTemplateLogConfigurationInput.h>
13#include <aws/fis/model/UpdateExperimentTemplateExperimentOptionsInput.h>
14#include <aws/fis/model/UpdateExperimentTemplateReportConfigurationInput.h>
15#include <aws/fis/model/UpdateExperimentTemplateStopConditionInput.h>
16#include <aws/fis/model/UpdateExperimentTemplateTargetInput.h>
17#include <aws/fis/model/UpdateExperimentTemplateActionInputItem.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename StopConditionsT = Aws::Vector<UpdateExperimentTemplateStopConditionInput>>
74 void SetStopConditions(StopConditionsT&& value) { m_stopConditionsHasBeenSet =
true; m_stopConditions = std::forward<StopConditionsT>(value); }
75 template<
typename StopConditionsT = Aws::Vector<UpdateExperimentTemplateStopConditionInput>>
77 template<
typename StopConditionsT = UpdateExperimentTemplateStopConditionInput>
87 template<
typename TargetsT = Aws::Map<Aws::String, UpdateExperimentTemplateTargetInput>>
88 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
89 template<
typename TargetsT = Aws::Map<Aws::String, UpdateExperimentTemplateTargetInput>>
91 template<
typename TargetsKeyT = Aws::String,
typename TargetsValueT = UpdateExperimentTemplateTargetInput>
93 m_targetsHasBeenSet =
true; m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value));
return *
this;
103 template<
typename ActionsT = Aws::Map<Aws::String, UpdateExperimentTemplateActionInputItem>>
104 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
105 template<
typename ActionsT = Aws::Map<Aws::String, UpdateExperimentTemplateActionInputItem>>
107 template<
typename ActionsKeyT = Aws::String,
typename ActionsValueT = UpdateExperimentTemplateActionInputItem>
109 m_actionsHasBeenSet =
true; m_actions.emplace(std::forward<ActionsKeyT>(key), std::forward<ActionsValueT>(value));
return *
this;
120 template<
typename RoleArnT = Aws::String>
121 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
122 template<
typename RoleArnT = Aws::String>
132 template<
typename LogConfigurationT = UpdateExperimentTemplateLogConfigurationInput>
133 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet =
true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
134 template<
typename LogConfigurationT = UpdateExperimentTemplateLogConfigurationInput>
144 template<
typename ExperimentOptionsT = UpdateExperimentTemplateExperimentOptionsInput>
145 void SetExperimentOptions(ExperimentOptionsT&& value) { m_experimentOptionsHasBeenSet =
true; m_experimentOptions = std::forward<ExperimentOptionsT>(value); }
146 template<
typename ExperimentOptionsT = UpdateExperimentTemplateExperimentOptionsInput>
156 template<
typename ExperimentReportConfigurationT = UpdateExperimentTemplateReportConfigurationInput>
157 void SetExperimentReportConfiguration(ExperimentReportConfigurationT&& value) { m_experimentReportConfigurationHasBeenSet =
true; m_experimentReportConfiguration = std::forward<ExperimentReportConfigurationT>(value); }
158 template<
typename ExperimentReportConfigurationT = UpdateExperimentTemplateReportConfigurationInput>
164 bool m_idHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_stopConditionsHasBeenSet =
false;
173 bool m_targetsHasBeenSet =
false;
176 bool m_actionsHasBeenSet =
false;
179 bool m_roleArnHasBeenSet =
false;
182 bool m_logConfigurationHasBeenSet =
false;
185 bool m_experimentOptionsHasBeenSet =
false;
188 bool m_experimentReportConfigurationHasBeenSet =
false;
void SetExperimentReportConfiguration(ExperimentReportConfigurationT &&value)
bool StopConditionsHasBeenSet() const
UpdateExperimentTemplateRequest & AddActions(ActionsKeyT &&key, ActionsValueT &&value)
const Aws::Map< Aws::String, UpdateExperimentTemplateActionInputItem > & GetActions() const
const UpdateExperimentTemplateLogConfigurationInput & GetLogConfiguration() const
void SetExperimentOptions(ExperimentOptionsT &&value)
const Aws::Map< Aws::String, UpdateExperimentTemplateTargetInput > & GetTargets() const
AWS_FIS_API Aws::String SerializePayload() const override
UpdateExperimentTemplateRequest & WithExperimentOptions(ExperimentOptionsT &&value)
bool LogConfigurationHasBeenSet() const
void SetActions(ActionsT &&value)
const Aws::String & GetDescription() const
AWS_FIS_API UpdateExperimentTemplateRequest()=default
bool IdHasBeenSet() const
UpdateExperimentTemplateRequest & WithLogConfiguration(LogConfigurationT &&value)
const UpdateExperimentTemplateReportConfigurationInput & GetExperimentReportConfiguration() const
UpdateExperimentTemplateRequest & WithStopConditions(StopConditionsT &&value)
UpdateExperimentTemplateRequest & WithId(IdT &&value)
const Aws::Vector< UpdateExperimentTemplateStopConditionInput > & GetStopConditions() const
UpdateExperimentTemplateRequest & WithActions(ActionsT &&value)
UpdateExperimentTemplateRequest & WithRoleArn(RoleArnT &&value)
bool ExperimentOptionsHasBeenSet() const
bool TargetsHasBeenSet() const
void SetDescription(DescriptionT &&value)
UpdateExperimentTemplateRequest & WithDescription(DescriptionT &&value)
UpdateExperimentTemplateRequest & AddStopConditions(StopConditionsT &&value)
bool ExperimentReportConfigurationHasBeenSet() const
void SetLogConfiguration(LogConfigurationT &&value)
bool DescriptionHasBeenSet() const
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
virtual const char * GetServiceRequestName() const override
void SetStopConditions(StopConditionsT &&value)
const Aws::String & GetId() const
UpdateExperimentTemplateRequest & WithTargets(TargetsT &&value)
const Aws::String & GetRoleArn() const
const UpdateExperimentTemplateExperimentOptionsInput & GetExperimentOptions() const
UpdateExperimentTemplateRequest & WithExperimentReportConfiguration(ExperimentReportConfigurationT &&value)
UpdateExperimentTemplateRequest & AddTargets(TargetsKeyT &&key, TargetsValueT &&value)
bool ActionsHasBeenSet() const
void SetTargets(TargetsT &&value)
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