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/core/utils/memory/stl/AWSMap.h>
13#include <aws/evidently/model/MetricGoalConfig.h>
14#include <aws/evidently/model/TreatmentConfig.h>
19namespace CloudWatchEvidently
48 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
77 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetProject(
const char* value) { m_projectHasBeenSet =
true; m_project.assign(value); }
125 inline void SetRandomizationSalt(
const char* value) { m_randomizationSaltHasBeenSet =
true; m_randomizationSalt.assign(value); }
142 inline void SetSamplingRate(
long long value) { m_samplingRateHasBeenSet =
true; m_samplingRate = value; }
156 inline void SetSegment(
const char* value) { m_segmentHasBeenSet =
true; m_segment.assign(value); }
206 bool m_descriptionHasBeenSet =
false;
209 bool m_metricGoalsHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
215 bool m_onlineAbConfigHasBeenSet =
false;
218 bool m_projectHasBeenSet =
false;
221 bool m_randomizationSaltHasBeenSet =
false;
223 long long m_samplingRate;
224 bool m_samplingRateHasBeenSet =
false;
227 bool m_segmentHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
233 bool m_treatmentsHasBeenSet =
false;
CreateExperimentRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool MetricGoalsHasBeenSet() const
void SetName(const char *value)
const OnlineAbConfig & GetOnlineAbConfig() const
void SetSegment(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API CreateExperimentRequest()
void SetTreatments(Aws::Vector< TreatmentConfig > &&value)
const Aws::String & GetName() const
const Aws::String & GetSegment() const
const Aws::String & GetRandomizationSalt() const
CreateExperimentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentRequest & WithProject(Aws::String &&value)
CreateExperimentRequest & AddTags(Aws::String &&key, const char *value)
CreateExperimentRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(const char *value)
CreateExperimentRequest & WithRandomizationSalt(const char *value)
void SetName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetProject(Aws::String &&value)
CreateExperimentRequest & WithOnlineAbConfig(OnlineAbConfig &&value)
CreateExperimentRequest & WithName(Aws::String &&value)
CreateExperimentRequest & WithRandomizationSalt(Aws::String &&value)
CreateExperimentRequest & WithSegment(const Aws::String &value)
void SetProject(const Aws::String &value)
CreateExperimentRequest & WithDescription(const char *value)
CreateExperimentRequest & WithName(const Aws::String &value)
CreateExperimentRequest & WithProject(const Aws::String &value)
CreateExperimentRequest & WithMetricGoals(Aws::Vector< MetricGoalConfig > &&value)
void SetMetricGoals(const Aws::Vector< MetricGoalConfig > &value)
bool NameHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetProject(const char *value)
void SetSegment(const Aws::String &value)
bool TreatmentsHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateExperimentRequest & WithProject(const char *value)
const Aws::String & GetProject() const
CreateExperimentRequest & WithDescription(const Aws::String &value)
CreateExperimentRequest & WithMetricGoals(const Aws::Vector< MetricGoalConfig > &value)
void SetMetricGoals(Aws::Vector< MetricGoalConfig > &&value)
bool OnlineAbConfigHasBeenSet() const
CreateExperimentRequest & WithDescription(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetTreatments(const Aws::Vector< TreatmentConfig > &value)
CreateExperimentRequest & WithName(const char *value)
CreateExperimentRequest & WithRandomizationSalt(const Aws::String &value)
void SetRandomizationSalt(Aws::String &&value)
CreateExperimentRequest & WithSegment(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetRandomizationSalt(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetRandomizationSalt(const char *value)
CreateExperimentRequest & AddTreatments(TreatmentConfig &&value)
const Aws::Vector< TreatmentConfig > & GetTreatments() const
CreateExperimentRequest & AddMetricGoals(MetricGoalConfig &&value)
bool TagsHasBeenSet() const
void SetSegment(const char *value)
bool SamplingRateHasBeenSet() const
CreateExperimentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ProjectHasBeenSet() const
CreateExperimentRequest & WithTreatments(const Aws::Vector< TreatmentConfig > &value)
CreateExperimentRequest & WithSamplingRate(long long value)
CreateExperimentRequest & AddTags(const char *key, Aws::String &&value)
CreateExperimentRequest & AddMetricGoals(const MetricGoalConfig &value)
CreateExperimentRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateExperimentRequest & AddTreatments(const TreatmentConfig &value)
bool RandomizationSaltHasBeenSet() const
void SetOnlineAbConfig(OnlineAbConfig &&value)
void SetDescription(Aws::String &&value)
bool SegmentHasBeenSet() const
CreateExperimentRequest & AddTags(const char *key, const char *value)
void SetSamplingRate(long long value)
long long GetSamplingRate() const
void SetOnlineAbConfig(const OnlineAbConfig &value)
CreateExperimentRequest & WithSegment(Aws::String &&value)
CreateExperimentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateExperimentRequest & WithTreatments(Aws::Vector< TreatmentConfig > &&value)
CreateExperimentRequest & WithOnlineAbConfig(const OnlineAbConfig &value)
const Aws::Vector< MetricGoalConfig > & GetMetricGoals() const
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