7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/evidently/model/OnlineAbConfig.h>
12#include <aws/evidently/model/MetricGoalConfig.h>
13#include <aws/evidently/model/TreatmentConfig.h>
18namespace CloudWatchEvidently
45 template<
typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
47 template<
typename DescriptionT = Aws::String>
57 template<
typename ExperimentT = Aws::String>
58 void SetExperiment(ExperimentT&& value) { m_experimentHasBeenSet =
true; m_experiment = std::forward<ExperimentT>(value); }
59 template<
typename ExperimentT = Aws::String>
70 template<
typename MetricGoalsT = Aws::Vector<MetricGoalConfig>>
71 void SetMetricGoals(MetricGoalsT&& value) { m_metricGoalsHasBeenSet =
true; m_metricGoals = std::forward<MetricGoalsT>(value); }
72 template<
typename MetricGoalsT = Aws::Vector<MetricGoalConfig>>
74 template<
typename MetricGoalsT = MetricGoalConfig>
87 template<
typename OnlineAbConfigT = OnlineAbConfig>
88 void SetOnlineAbConfig(OnlineAbConfigT&& value) { m_onlineAbConfigHasBeenSet =
true; m_onlineAbConfig = std::forward<OnlineAbConfigT>(value); }
89 template<
typename OnlineAbConfigT = OnlineAbConfig>
100 template<
typename ProjectT = Aws::String>
101 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
102 template<
typename ProjectT = Aws::String>
116 template<
typename RandomizationSaltT = Aws::String>
117 void SetRandomizationSalt(RandomizationSaltT&& value) { m_randomizationSaltHasBeenSet =
true; m_randomizationSalt = std::forward<RandomizationSaltT>(value); }
118 template<
typename RandomizationSaltT = Aws::String>
129 inline void SetRemoveSegment(
bool value) { m_removeSegmentHasBeenSet =
true; m_removeSegment = value; }
144 inline void SetSamplingRate(
long long value) { m_samplingRateHasBeenSet =
true; m_samplingRate = value; }
157 template<
typename SegmentT = Aws::String>
158 void SetSegment(SegmentT&& value) { m_segmentHasBeenSet =
true; m_segment = std::forward<SegmentT>(value); }
159 template<
typename SegmentT = Aws::String>
170 template<
typename TreatmentsT = Aws::Vector<TreatmentConfig>>
171 void SetTreatments(TreatmentsT&& value) { m_treatmentsHasBeenSet =
true; m_treatments = std::forward<TreatmentsT>(value); }
172 template<
typename TreatmentsT = Aws::Vector<TreatmentConfig>>
174 template<
typename TreatmentsT = TreatmentConfig>
180 bool m_descriptionHasBeenSet =
false;
183 bool m_experimentHasBeenSet =
false;
186 bool m_metricGoalsHasBeenSet =
false;
189 bool m_onlineAbConfigHasBeenSet =
false;
192 bool m_projectHasBeenSet =
false;
195 bool m_randomizationSaltHasBeenSet =
false;
197 bool m_removeSegment{
false};
198 bool m_removeSegmentHasBeenSet =
false;
200 long long m_samplingRate{0};
201 bool m_samplingRateHasBeenSet =
false;
204 bool m_segmentHasBeenSet =
false;
207 bool m_treatmentsHasBeenSet =
false;
void SetRemoveSegment(bool value)
void SetDescription(DescriptionT &&value)
UpdateExperimentRequest & WithDescription(DescriptionT &&value)
void SetExperiment(ExperimentT &&value)
UpdateExperimentRequest & WithSegment(SegmentT &&value)
UpdateExperimentRequest & WithRemoveSegment(bool value)
UpdateExperimentRequest & WithRandomizationSalt(RandomizationSaltT &&value)
virtual const char * GetServiceRequestName() const override
long long GetSamplingRate() const
bool MetricGoalsHasBeenSet() const
const Aws::String & GetRandomizationSalt() const
const Aws::Vector< TreatmentConfig > & GetTreatments() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
const Aws::String & GetProject() const
void SetOnlineAbConfig(OnlineAbConfigT &&value)
UpdateExperimentRequest & WithExperiment(ExperimentT &&value)
UpdateExperimentRequest & AddTreatments(TreatmentsT &&value)
void SetSegment(SegmentT &&value)
void SetProject(ProjectT &&value)
UpdateExperimentRequest & WithSamplingRate(long long value)
bool RandomizationSaltHasBeenSet() const
bool TreatmentsHasBeenSet() const
void SetSamplingRate(long long value)
UpdateExperimentRequest & WithMetricGoals(MetricGoalsT &&value)
bool ProjectHasBeenSet() const
const Aws::String & GetSegment() const
const Aws::String & GetExperiment() const
bool RemoveSegmentHasBeenSet() const
UpdateExperimentRequest & AddMetricGoals(MetricGoalsT &&value)
bool GetRemoveSegment() const
const OnlineAbConfig & GetOnlineAbConfig() const
UpdateExperimentRequest & WithProject(ProjectT &&value)
void SetMetricGoals(MetricGoalsT &&value)
const Aws::String & GetDescription() const
bool ExperimentHasBeenSet() const
bool SegmentHasBeenSet() const
bool SamplingRateHasBeenSet() const
bool DescriptionHasBeenSet() const
bool OnlineAbConfigHasBeenSet() const
void SetRandomizationSalt(RandomizationSaltT &&value)
void SetTreatments(TreatmentsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API UpdateExperimentRequest()=default
UpdateExperimentRequest & WithTreatments(TreatmentsT &&value)
UpdateExperimentRequest & WithOnlineAbConfig(OnlineAbConfigT &&value)
const Aws::Vector< MetricGoalConfig > & GetMetricGoals() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector