7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evidently/model/ExperimentResultResponseType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CloudWatchEvidently
51 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
78 inline void SetTreatmentName(
const char* value) { m_treatmentNameHasBeenSet =
true; m_treatmentName.assign(value); }
100 bool m_metricNameHasBeenSet =
false;
103 bool m_resultStatHasBeenSet =
false;
106 bool m_treatmentNameHasBeenSet =
false;
109 bool m_valuesHasBeenSet =
false;
bool ResultStatHasBeenSet() const
ExperimentResultsData & WithResultStat(ExperimentResultResponseType &&value)
void SetTreatmentName(const Aws::String &value)
const Aws::String & GetMetricName() const
AWS_CLOUDWATCHEVIDENTLY_API ExperimentResultsData()
void SetResultStat(const ExperimentResultResponseType &value)
ExperimentResultsData & AddValues(double value)
bool MetricNameHasBeenSet() const
void SetResultStat(ExperimentResultResponseType &&value)
const ExperimentResultResponseType & GetResultStat() const
void SetMetricName(const char *value)
ExperimentResultsData & WithMetricName(const Aws::String &value)
void SetTreatmentName(Aws::String &&value)
void SetValues(Aws::Vector< double > &&value)
ExperimentResultsData & WithResultStat(const ExperimentResultResponseType &value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentResultsData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetValues() const
void SetTreatmentName(const char *value)
ExperimentResultsData & WithValues(const Aws::Vector< double > &value)
ExperimentResultsData & WithMetricName(Aws::String &&value)
ExperimentResultsData & WithMetricName(const char *value)
bool ValuesHasBeenSet() const
void SetMetricName(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentResultsData(Aws::Utils::Json::JsonView jsonValue)
ExperimentResultsData & WithTreatmentName(const char *value)
ExperimentResultsData & WithTreatmentName(const Aws::String &value)
bool TreatmentNameHasBeenSet() const
void SetMetricName(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValues(const Aws::Vector< double > &value)
ExperimentResultsData & WithValues(Aws::Vector< double > &&value)
ExperimentResultsData & WithTreatmentName(Aws::String &&value)
const Aws::String & GetTreatmentName() const
ExperimentResultResponseType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue