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
51 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
74 inline Treatment&
AddFeatureVariations(
const char* key,
const char* value) { m_featureVariationsHasBeenSet =
true; m_featureVariations.emplace(key, value);
return *
this; }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 bool m_descriptionHasBeenSet =
false;
96 bool m_featureVariationsHasBeenSet =
false;
99 bool m_nameHasBeenSet =
false;
Treatment & AddFeatureVariations(const Aws::String &key, const Aws::String &value)
Treatment & AddFeatureVariations(Aws::String &&key, const char *value)
Treatment & AddFeatureVariations(Aws::String &&key, const Aws::String &value)
Treatment & AddFeatureVariations(const char *key, Aws::String &&value)
void SetName(const char *value)
Treatment & WithName(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
void SetFeatureVariations(const Aws::Map< Aws::String, Aws::String > &value)
Treatment & WithName(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Treatment()
const Aws::Map< Aws::String, Aws::String > & GetFeatureVariations() const
AWS_CLOUDWATCHEVIDENTLY_API Treatment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Treatment(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Treatment & WithDescription(const Aws::String &value)
Treatment & WithDescription(const char *value)
Treatment & AddFeatureVariations(Aws::String &&key, Aws::String &&value)
bool DescriptionHasBeenSet() const
Treatment & AddFeatureVariations(const Aws::String &key, Aws::String &&value)
bool FeatureVariationsHasBeenSet() const
void SetName(const Aws::String &value)
Treatment & WithFeatureVariations(Aws::Map< Aws::String, Aws::String > &&value)
Treatment & WithName(const Aws::String &value)
Treatment & WithDescription(Aws::String &&value)
void SetFeatureVariations(Aws::Map< Aws::String, Aws::String > &&value)
Treatment & WithFeatureVariations(const Aws::Map< Aws::String, Aws::String > &value)
Treatment & AddFeatureVariations(const char *key, const char *value)
const Aws::String & GetName() 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