7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace CloudWatchEvidently
53 inline void SetControlTreatmentName(
const char* value) { m_controlTreatmentNameHasBeenSet =
true; m_controlTreatmentName.assign(value); }
79 bool m_controlTreatmentNameHasBeenSet =
false;
82 bool m_treatmentWeightsHasBeenSet =
false;
void SetTreatmentWeights(const Aws::Map< Aws::String, long long > &value)
void SetControlTreatmentName(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API OnlineAbConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OnlineAbConfig & WithTreatmentWeights(const Aws::Map< Aws::String, long long > &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
OnlineAbConfig & WithControlTreatmentName(const char *value)
OnlineAbConfig & AddTreatmentWeights(Aws::String &&key, long long value)
void SetControlTreatmentName(Aws::String &&value)
OnlineAbConfig & WithControlTreatmentName(Aws::String &&value)
OnlineAbConfig & WithTreatmentWeights(Aws::Map< Aws::String, long long > &&value)
bool TreatmentWeightsHasBeenSet() const
OnlineAbConfig & AddTreatmentWeights(const char *key, long long value)
bool ControlTreatmentNameHasBeenSet() const
OnlineAbConfig & AddTreatmentWeights(const Aws::String &key, long long value)
void SetControlTreatmentName(const Aws::String &value)
const Aws::String & GetControlTreatmentName() const
AWS_CLOUDWATCHEVIDENTLY_API OnlineAbConfig()
AWS_CLOUDWATCHEVIDENTLY_API OnlineAbConfig(Aws::Utils::Json::JsonView jsonValue)
OnlineAbConfig & WithControlTreatmentName(const Aws::String &value)
void SetTreatmentWeights(Aws::Map< Aws::String, long long > &&value)
const Aws::Map< Aws::String, long long > & GetTreatmentWeights() 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
Aws::Utils::Json::JsonValue JsonValue