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
47 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
61 inline void SetExperiment(
const char* value) { m_experimentHasBeenSet =
true; m_experiment.assign(value); }
106 inline void SetProject(
const char* value) { m_projectHasBeenSet =
true; m_project.assign(value); }
124 inline void SetRandomizationSalt(
const char* value) { m_randomizationSaltHasBeenSet =
true; m_randomizationSalt.assign(value); }
137 inline void SetRemoveSegment(
bool value) { m_removeSegmentHasBeenSet =
true; m_removeSegment = value; }
152 inline void SetSamplingRate(
long long value) { m_samplingRateHasBeenSet =
true; m_samplingRate = value; }
167 inline void SetSegment(
const char* value) { m_segmentHasBeenSet =
true; m_segment.assign(value); }
190 bool m_descriptionHasBeenSet =
false;
193 bool m_experimentHasBeenSet =
false;
196 bool m_metricGoalsHasBeenSet =
false;
199 bool m_onlineAbConfigHasBeenSet =
false;
202 bool m_projectHasBeenSet =
false;
205 bool m_randomizationSaltHasBeenSet =
false;
207 bool m_removeSegment;
208 bool m_removeSegmentHasBeenSet =
false;
210 long long m_samplingRate;
211 bool m_samplingRateHasBeenSet =
false;
214 bool m_segmentHasBeenSet =
false;
217 bool m_treatmentsHasBeenSet =
false;
void SetSegment(const Aws::String &value)
void SetSegment(Aws::String &&value)
UpdateExperimentRequest & AddTreatments(const TreatmentConfig &value)
void SetProject(Aws::String &&value)
void SetRemoveSegment(bool value)
void SetDescription(const char *value)
UpdateExperimentRequest & WithSegment(const Aws::String &value)
UpdateExperimentRequest & WithRemoveSegment(bool value)
UpdateExperimentRequest & WithTreatments(Aws::Vector< TreatmentConfig > &&value)
virtual const char * GetServiceRequestName() const override
long long GetSamplingRate() const
bool MetricGoalsHasBeenSet() const
UpdateExperimentRequest & WithExperiment(Aws::String &&value)
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 SetMetricGoals(Aws::Vector< MetricGoalConfig > &&value)
UpdateExperimentRequest & WithTreatments(const Aws::Vector< TreatmentConfig > &value)
UpdateExperimentRequest & WithSamplingRate(long long value)
void SetProject(const char *value)
bool RandomizationSaltHasBeenSet() const
void SetMetricGoals(const Aws::Vector< MetricGoalConfig > &value)
bool TreatmentsHasBeenSet() const
void SetSamplingRate(long long value)
void SetDescription(const Aws::String &value)
bool ProjectHasBeenSet() const
void SetRandomizationSalt(const Aws::String &value)
const Aws::String & GetSegment() const
UpdateExperimentRequest & WithSegment(const char *value)
void SetExperiment(Aws::String &&value)
UpdateExperimentRequest & WithMetricGoals(Aws::Vector< MetricGoalConfig > &&value)
UpdateExperimentRequest & WithDescription(Aws::String &&value)
const Aws::String & GetExperiment() const
bool RemoveSegmentHasBeenSet() const
void SetOnlineAbConfig(OnlineAbConfig &&value)
void SetTreatments(Aws::Vector< TreatmentConfig > &&value)
void SetExperiment(const Aws::String &value)
bool GetRemoveSegment() const
const OnlineAbConfig & GetOnlineAbConfig() const
UpdateExperimentRequest & WithRandomizationSalt(const char *value)
UpdateExperimentRequest & AddTreatments(TreatmentConfig &&value)
void SetTreatments(const Aws::Vector< TreatmentConfig > &value)
const Aws::String & GetDescription() const
bool ExperimentHasBeenSet() const
bool SegmentHasBeenSet() const
bool SamplingRateHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API UpdateExperimentRequest()
UpdateExperimentRequest & WithMetricGoals(const Aws::Vector< MetricGoalConfig > &value)
UpdateExperimentRequest & AddMetricGoals(const MetricGoalConfig &value)
UpdateExperimentRequest & WithProject(Aws::String &&value)
UpdateExperimentRequest & WithExperiment(const char *value)
bool DescriptionHasBeenSet() const
UpdateExperimentRequest & WithProject(const char *value)
UpdateExperimentRequest & WithDescription(const char *value)
bool OnlineAbConfigHasBeenSet() const
UpdateExperimentRequest & WithDescription(const Aws::String &value)
void SetRandomizationSalt(const char *value)
UpdateExperimentRequest & WithSegment(Aws::String &&value)
UpdateExperimentRequest & WithOnlineAbConfig(const OnlineAbConfig &value)
void SetDescription(Aws::String &&value)
UpdateExperimentRequest & AddMetricGoals(MetricGoalConfig &&value)
UpdateExperimentRequest & WithProject(const Aws::String &value)
void SetExperiment(const char *value)
UpdateExperimentRequest & WithExperiment(const Aws::String &value)
UpdateExperimentRequest & WithOnlineAbConfig(OnlineAbConfig &&value)
void SetSegment(const char *value)
UpdateExperimentRequest & WithRandomizationSalt(Aws::String &&value)
UpdateExperimentRequest & WithRandomizationSalt(const Aws::String &value)
void SetRandomizationSalt(Aws::String &&value)
void SetProject(const Aws::String &value)
const Aws::Vector< MetricGoalConfig > & GetMetricGoals() const
void SetOnlineAbConfig(const OnlineAbConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector