7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/TreatmentInput.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
40 template <
typename ApplicationIdentifierT = Aws::String>
42 m_applicationIdentifierHasBeenSet =
true;
43 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
45 template <
typename ApplicationIdentifierT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename ConfigurationProfileIdentifierT = Aws::String>
78 m_configurationProfileIdentifierHasBeenSet =
true;
79 m_configurationProfileIdentifier = std::forward<ConfigurationProfileIdentifierT>(value);
81 template <
typename ConfigurationProfileIdentifierT = Aws::String>
94 template <
typename EnvironmentIdentifierT = Aws::String>
96 m_environmentIdentifierHasBeenSet =
true;
97 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
99 template <
typename EnvironmentIdentifierT = Aws::String>
112 template <
typename FlagKeyT = Aws::String>
114 m_flagKeyHasBeenSet =
true;
115 m_flagKey = std::forward<FlagKeyT>(value);
117 template <
typename FlagKeyT = Aws::String>
131 template <
typename TreatmentsT = Aws::Vector<TreatmentInput>>
133 m_treatmentsHasBeenSet =
true;
134 m_treatments = std::forward<TreatmentsT>(value);
136 template <
typename TreatmentsT = Aws::Vector<TreatmentInput>>
141 template <
typename TreatmentsT = TreatmentInput>
143 m_treatmentsHasBeenSet =
true;
144 m_treatments.emplace_back(std::forward<TreatmentsT>(value));
156 template <
typename ControlT = TreatmentInput>
158 m_controlHasBeenSet =
true;
159 m_control = std::forward<ControlT>(value);
161 template <
typename ControlT = TreatmentInput>
175 template <
typename AudienceRuleT = Aws::String>
177 m_audienceRuleHasBeenSet =
true;
178 m_audienceRule = std::forward<AudienceRuleT>(value);
180 template <
typename AudienceRuleT = Aws::String>
194 template <
typename HypothesisT = Aws::String>
196 m_hypothesisHasBeenSet =
true;
197 m_hypothesis = std::forward<HypothesisT>(value);
199 template <
typename HypothesisT = Aws::String>
212 template <
typename AudienceDescriptionT = Aws::String>
214 m_audienceDescriptionHasBeenSet =
true;
215 m_audienceDescription = std::forward<AudienceDescriptionT>(value);
217 template <
typename AudienceDescriptionT = Aws::String>
231 template <
typename LaunchCriteriaT = Aws::String>
233 m_launchCriteriaHasBeenSet =
true;
234 m_launchCriteria = std::forward<LaunchCriteriaT>(value);
236 template <
typename LaunchCriteriaT = Aws::String>
250 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
252 m_tagsHasBeenSet =
true;
253 m_tags = std::forward<TagsT>(value);
255 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 SetTags(std::forward<TagsT>(value));
260 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
262 m_tagsHasBeenSet =
true;
263 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
291 bool m_applicationIdentifierHasBeenSet =
false;
292 bool m_nameHasBeenSet =
false;
293 bool m_configurationProfileIdentifierHasBeenSet =
false;
294 bool m_environmentIdentifierHasBeenSet =
false;
295 bool m_flagKeyHasBeenSet =
false;
296 bool m_treatmentsHasBeenSet =
false;
297 bool m_controlHasBeenSet =
false;
298 bool m_audienceRuleHasBeenSet =
false;
299 bool m_hypothesisHasBeenSet =
false;
300 bool m_audienceDescriptionHasBeenSet =
false;
301 bool m_launchCriteriaHasBeenSet =
false;
302 bool m_tagsHasBeenSet =
false;
bool LaunchCriteriaHasBeenSet() const
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetLaunchCriteria(LaunchCriteriaT &&value)
void SetAudienceDescription(AudienceDescriptionT &&value)
CreateExperimentDefinitionRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetLaunchCriteria() const
bool ConfigurationProfileIdentifierHasBeenSet() const
CreateExperimentDefinitionRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetName(NameT &&value)
CreateExperimentDefinitionRequest & WithLaunchCriteria(LaunchCriteriaT &&value)
bool TreatmentsHasBeenSet() const
bool AudienceRuleHasBeenSet() const
bool FlagKeyHasBeenSet() const
void SetHypothesis(HypothesisT &&value)
const Aws::String & GetHypothesis() const
CreateExperimentDefinitionRequest & WithConfigurationProfileIdentifier(ConfigurationProfileIdentifierT &&value)
bool NameHasBeenSet() const
bool AudienceDescriptionHasBeenSet() const
const Aws::Vector< TreatmentInput > & GetTreatments() const
void SetTags(TagsT &&value)
bool HypothesisHasBeenSet() const
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
const Aws::String & GetFlagKey() const
CreateExperimentDefinitionRequest & WithControl(ControlT &&value)
virtual const char * GetServiceRequestName() const override
CreateExperimentDefinitionRequest & AddTreatments(TreatmentsT &&value)
const Aws::String & GetApplicationIdentifier() const
bool TagsHasBeenSet() const
void SetTreatments(TreatmentsT &&value)
const TreatmentInput & GetControl() const
bool EnvironmentIdentifierHasBeenSet() const
AWS_APPCONFIG_API CreateExperimentDefinitionRequest()=default
CreateExperimentDefinitionRequest & WithAudienceDescription(AudienceDescriptionT &&value)
CreateExperimentDefinitionRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
bool ApplicationIdentifierHasBeenSet() const
CreateExperimentDefinitionRequest & WithAudienceRule(AudienceRuleT &&value)
CreateExperimentDefinitionRequest & WithTreatments(TreatmentsT &&value)
CreateExperimentDefinitionRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetFlagKey(FlagKeyT &&value)
void SetConfigurationProfileIdentifier(ConfigurationProfileIdentifierT &&value)
const Aws::String & GetEnvironmentIdentifier() const
const Aws::String & GetAudienceRule() const
const Aws::String & GetAudienceDescription() const
CreateExperimentDefinitionRequest & WithFlagKey(FlagKeyT &&value)
CreateExperimentDefinitionRequest & WithHypothesis(HypothesisT &&value)
CreateExperimentDefinitionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetControl(ControlT &&value)
void SetAudienceRule(AudienceRuleT &&value)
const Aws::String & GetConfigurationProfileIdentifier() const
bool ControlHasBeenSet() const
void SetApplicationIdentifier(ApplicationIdentifierT &&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