7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/Treatment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename ApplicationIdT = Aws::String>
46 m_applicationIdHasBeenSet =
true;
47 m_applicationId = std::forward<ApplicationIdT>(value);
49 template <
typename ApplicationIdT = Aws::String>
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
98 template <
typename HypothesisT = Aws::String>
100 m_hypothesisHasBeenSet =
true;
101 m_hypothesis = std::forward<HypothesisT>(value);
103 template <
typename HypothesisT = Aws::String>
116 template <
typename ConfigurationProfileIdT = Aws::String>
118 m_configurationProfileIdHasBeenSet =
true;
119 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
121 template <
typename ConfigurationProfileIdT = Aws::String>
134 template <
typename EnvironmentIdT = Aws::String>
136 m_environmentIdHasBeenSet =
true;
137 m_environmentId = std::forward<EnvironmentIdT>(value);
139 template <
typename EnvironmentIdT = Aws::String>
152 template <
typename FlagKeyT = Aws::String>
154 m_flagKeyHasBeenSet =
true;
155 m_flagKey = std::forward<FlagKeyT>(value);
157 template <
typename FlagKeyT = Aws::String>
170 template <
typename AudienceRuleT = Aws::String>
172 m_audienceRuleHasBeenSet =
true;
173 m_audienceRule = std::forward<AudienceRuleT>(value);
175 template <
typename AudienceRuleT = Aws::String>
188 template <
typename AudienceDescriptionT = Aws::String>
190 m_audienceDescriptionHasBeenSet =
true;
191 m_audienceDescription = std::forward<AudienceDescriptionT>(value);
193 template <
typename AudienceDescriptionT = Aws::String>
206 template <
typename LaunchCriteriaT = Aws::String>
208 m_launchCriteriaHasBeenSet =
true;
209 m_launchCriteria = std::forward<LaunchCriteriaT>(value);
211 template <
typename LaunchCriteriaT = Aws::String>
224 template <
typename TreatmentsT = Aws::Vector<Treatment>>
226 m_treatmentsHasBeenSet =
true;
227 m_treatments = std::forward<TreatmentsT>(value);
229 template <
typename TreatmentsT = Aws::Vector<Treatment>>
234 template <
typename TreatmentsT = Treatment>
236 m_treatmentsHasBeenSet =
true;
237 m_treatments.emplace_back(std::forward<TreatmentsT>(value));
248 template <
typename ControlT = Treatment>
250 m_controlHasBeenSet =
true;
251 m_control = std::forward<ControlT>(value);
253 template <
typename ControlT = Treatment>
283 bool m_applicationIdHasBeenSet =
false;
284 bool m_idHasBeenSet =
false;
285 bool m_nameHasBeenSet =
false;
286 bool m_hypothesisHasBeenSet =
false;
287 bool m_configurationProfileIdHasBeenSet =
false;
288 bool m_environmentIdHasBeenSet =
false;
289 bool m_flagKeyHasBeenSet =
false;
290 bool m_audienceRuleHasBeenSet =
false;
291 bool m_audienceDescriptionHasBeenSet =
false;
292 bool m_launchCriteriaHasBeenSet =
false;
293 bool m_treatmentsHasBeenSet =
false;
294 bool m_controlHasBeenSet =
false;
const Aws::String & GetFlagKey() const
const Aws::String & GetAudienceDescription() const
void SetControl(ControlT &&value)
AWS_APPCONFIG_API ExperimentDefinitionSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAudienceRule(AudienceRuleT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetName(NameT &&value)
bool ControlHasBeenSet() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool TreatmentsHasBeenSet() const
AWS_APPCONFIG_API ExperimentDefinitionSnapshot()=default
const Aws::String & GetId() const
const Aws::String & GetHypothesis() const
ExperimentDefinitionSnapshot & WithAudienceRule(AudienceRuleT &&value)
const Aws::String & GetEnvironmentId() const
ExperimentDefinitionSnapshot & WithAudienceDescription(AudienceDescriptionT &&value)
bool AudienceDescriptionHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Vector< Treatment > & GetTreatments() const
ExperimentDefinitionSnapshot & WithTreatments(TreatmentsT &&value)
ExperimentDefinitionSnapshot & WithHypothesis(HypothesisT &&value)
ExperimentDefinitionSnapshot & WithControl(ControlT &&value)
bool FlagKeyHasBeenSet() const
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
bool IdHasBeenSet() const
bool LaunchCriteriaHasBeenSet() const
const Aws::String & GetLaunchCriteria() const
void SetAudienceDescription(AudienceDescriptionT &&value)
bool HypothesisHasBeenSet() const
ExperimentDefinitionSnapshot & WithApplicationId(ApplicationIdT &&value)
bool ConfigurationProfileIdHasBeenSet() const
const Aws::String & GetAudienceRule() const
ExperimentDefinitionSnapshot & WithName(NameT &&value)
bool EnvironmentIdHasBeenSet() const
ExperimentDefinitionSnapshot & WithFlagKey(FlagKeyT &&value)
bool AudienceRuleHasBeenSet() const
void SetFlagKey(FlagKeyT &&value)
ExperimentDefinitionSnapshot & WithLaunchCriteria(LaunchCriteriaT &&value)
const Aws::String & GetApplicationId() const
ExperimentDefinitionSnapshot & WithEnvironmentId(EnvironmentIdT &&value)
AWS_APPCONFIG_API ExperimentDefinitionSnapshot(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationId(ApplicationIdT &&value)
ExperimentDefinitionSnapshot & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
void SetHypothesis(HypothesisT &&value)
ExperimentDefinitionSnapshot & AddTreatments(TreatmentsT &&value)
ExperimentDefinitionSnapshot & WithId(IdT &&value)
bool ApplicationIdHasBeenSet() const
const Aws::String & GetConfigurationProfileId() const
void SetLaunchCriteria(LaunchCriteriaT &&value)
void SetTreatments(TreatmentsT &&value)
const Treatment & GetControl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue