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
49 template<
typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
51 template<
typename DescriptionT = Aws::String>
62 template<
typename FeatureVariationsT = Aws::Map<Aws::String, Aws::String>>
63 void SetFeatureVariations(FeatureVariationsT&& value) { m_featureVariationsHasBeenSet =
true; m_featureVariations = std::forward<FeatureVariationsT>(value); }
64 template<
typename FeatureVariationsT = Aws::Map<Aws::String, Aws::String>>
66 template<
typename FeatureVariationsKeyT = Aws::String,
typename FeatureVariationsValueT = Aws::String>
68 m_featureVariationsHasBeenSet =
true; m_featureVariations.emplace(std::forward<FeatureVariationsKeyT>(key), std::forward<FeatureVariationsValueT>(value));
return *
this;
78 template<
typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
80 template<
typename NameT = Aws::String>
86 bool m_descriptionHasBeenSet =
false;
89 bool m_featureVariationsHasBeenSet =
false;
92 bool m_nameHasBeenSet =
false;
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
Treatment & WithFeatureVariations(FeatureVariationsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
Treatment & AddFeatureVariations(FeatureVariationsKeyT &&key, FeatureVariationsValueT &&value)
const Aws::String & GetDescription() const
AWS_CLOUDWATCHEVIDENTLY_API Treatment()=default
Treatment & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetFeatureVariations() const
void SetFeatureVariations(FeatureVariationsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Treatment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Treatment(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Treatment & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool FeatureVariationsHasBeenSet() const
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