7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/evidently/model/ExperimentExecution.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/evidently/model/OnlineAbDefinition.h>
13#include <aws/evidently/model/ExperimentSchedule.h>
14#include <aws/evidently/model/ExperimentStatus.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/evidently/model/ExperimentType.h>
17#include <aws/evidently/model/MetricGoal.h>
18#include <aws/evidently/model/Treatment.h>
31namespace CloudWatchEvidently
58 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
59 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
85 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
139 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
168 inline void SetProject(
const char* value) { m_projectHasBeenSet =
true; m_project.assign(value); }
185 inline void SetRandomizationSalt(
const char* value) { m_randomizationSaltHasBeenSet =
true; m_randomizationSalt.assign(value); }
201 inline void SetSamplingRate(
long long value) { m_samplingRateHasBeenSet =
true; m_samplingRate = value; }
227 inline void SetSegment(
const char* value) { m_segmentHasBeenSet =
true; m_segment.assign(value); }
254 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
276 inline Experiment&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
309 bool m_arnHasBeenSet =
false;
312 bool m_createdTimeHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
318 bool m_executionHasBeenSet =
false;
321 bool m_lastUpdatedTimeHasBeenSet =
false;
324 bool m_metricGoalsHasBeenSet =
false;
327 bool m_nameHasBeenSet =
false;
330 bool m_onlineAbDefinitionHasBeenSet =
false;
333 bool m_projectHasBeenSet =
false;
336 bool m_randomizationSaltHasBeenSet =
false;
338 long long m_samplingRate;
339 bool m_samplingRateHasBeenSet =
false;
342 bool m_scheduleHasBeenSet =
false;
345 bool m_segmentHasBeenSet =
false;
348 bool m_statusHasBeenSet =
false;
351 bool m_statusReasonHasBeenSet =
false;
354 bool m_tagsHasBeenSet =
false;
357 bool m_treatmentsHasBeenSet =
false;
360 bool m_typeHasBeenSet =
false;
bool DescriptionHasBeenSet() const
Experiment & WithRandomizationSalt(const char *value)
void SetArn(const char *value)
Experiment & WithSegment(const Aws::String &value)
Experiment & AddTags(const char *key, const char *value)
const Aws::String & GetProject() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Experiment & WithTreatments(Aws::Vector< Treatment > &&value)
bool ScheduleHasBeenSet() const
Experiment & WithSchedule(ExperimentSchedule &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRandomizationSalt(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetSegment(Aws::String &&value)
Experiment & WithRandomizationSalt(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
void SetTreatments(Aws::Vector< Treatment > &&value)
void SetTreatments(const Aws::Vector< Treatment > &value)
Experiment & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ArnHasBeenSet() const
Experiment & AddTags(const Aws::String &key, Aws::String &&value)
Experiment & AddMetricGoals(const MetricGoal &value)
bool NameHasBeenSet() const
void SetStatus(ExperimentStatus &&value)
bool ExecutionHasBeenSet() const
void SetMetricGoals(const Aws::Vector< MetricGoal > &value)
Experiment & WithProject(const Aws::String &value)
void SetSamplingRate(long long value)
void SetSchedule(const ExperimentSchedule &value)
Experiment & AddTags(const Aws::String &key, const Aws::String &value)
void SetDescription(const char *value)
long long GetSamplingRate() const
Experiment & WithStatus(const ExperimentStatus &value)
const Aws::Vector< Treatment > & GetTreatments() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Experiment & AddTags(const char *key, Aws::String &&value)
bool MetricGoalsHasBeenSet() const
Experiment & WithSegment(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Experiment & WithStatusReason(const char *value)
Experiment & WithStatusReason(const Aws::String &value)
Experiment & WithStatusReason(Aws::String &&value)
void SetExecution(const ExperimentExecution &value)
Experiment & WithName(Aws::String &&value)
void SetName(const char *value)
bool TypeHasBeenSet() const
bool ProjectHasBeenSet() const
bool SegmentHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetRandomizationSalt(const Aws::String &value)
Experiment & WithProject(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTime() const
Experiment & WithDescription(Aws::String &&value)
const Aws::String & GetSegment() const
void SetDescription(const Aws::String &value)
Experiment & WithMetricGoals(const Aws::Vector< MetricGoal > &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetType(ExperimentType &&value)
AWS_CLOUDWATCHEVIDENTLY_API Experiment(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdatedTimeHasBeenSet() const
Experiment & WithArn(Aws::String &&value)
void SetStatusReason(Aws::String &&value)
bool RandomizationSaltHasBeenSet() const
Experiment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const OnlineAbDefinition & GetOnlineAbDefinition() const
Experiment & WithExecution(ExperimentExecution &&value)
Experiment & WithRandomizationSalt(const Aws::String &value)
const Aws::String & GetDescription() const
Experiment & WithDescription(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const ExperimentExecution & GetExecution() const
Experiment & WithProject(Aws::String &&value)
const ExperimentType & GetType() const
void SetOnlineAbDefinition(const OnlineAbDefinition &value)
Experiment & AddTags(Aws::String &&key, Aws::String &&value)
bool OnlineAbDefinitionHasBeenSet() const
Experiment & WithArn(const Aws::String &value)
void SetProject(const char *value)
void SetProject(Aws::String &&value)
Experiment & WithOnlineAbDefinition(const OnlineAbDefinition &value)
void SetArn(Aws::String &&value)
Experiment & WithStatus(ExperimentStatus &&value)
Experiment & WithArn(const char *value)
void SetOnlineAbDefinition(OnlineAbDefinition &&value)
Experiment & WithTreatments(const Aws::Vector< Treatment > &value)
Experiment & AddTreatments(const Treatment &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Experiment & WithName(const Aws::String &value)
bool StatusReasonHasBeenSet() const
void SetStatusReason(const char *value)
Experiment & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetType(const ExperimentType &value)
Experiment & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetSegment(const Aws::String &value)
Experiment & AddTags(Aws::String &&key, const char *value)
void SetSchedule(ExperimentSchedule &&value)
Experiment & WithSchedule(const ExperimentSchedule &value)
Experiment & WithSegment(const char *value)
Experiment & WithSamplingRate(long long value)
void SetStatusReason(const Aws::String &value)
Experiment & WithDescription(const char *value)
bool SamplingRateHasBeenSet() const
const Aws::String & GetName() const
Experiment & WithExecution(const ExperimentExecution &value)
AWS_CLOUDWATCHEVIDENTLY_API Experiment()
Experiment & WithType(const ExperimentType &value)
Experiment & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetRandomizationSalt() const
Experiment & AddTreatments(Treatment &&value)
Experiment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Experiment & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Experiment & WithName(const char *value)
void SetExecution(ExperimentExecution &&value)
void SetProject(const Aws::String &value)
Experiment & WithType(ExperimentType &&value)
bool TreatmentsHasBeenSet() const
Experiment & AddMetricGoals(MetricGoal &&value)
bool StatusHasBeenSet() const
const ExperimentSchedule & GetSchedule() const
const Aws::Vector< MetricGoal > & GetMetricGoals() const
void SetRandomizationSalt(const char *value)
Experiment & WithOnlineAbDefinition(OnlineAbDefinition &&value)
const ExperimentStatus & GetStatus() const
void SetMetricGoals(Aws::Vector< MetricGoal > &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
bool TagsHasBeenSet() const
void SetName(Aws::String &&value)
void SetSegment(const char *value)
Experiment & WithMetricGoals(Aws::Vector< MetricGoal > &&value)
void SetStatus(const ExperimentStatus &value)
const Aws::String & GetStatusReason() 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
Aws::Utils::Json::JsonValue JsonValue