7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/evidently/model/FeatureEvaluationStrategy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/evidently/model/VariationConfig.h>
18namespace CloudWatchEvidently
50 template<
typename DefaultVariationT = Aws::String>
51 void SetDefaultVariation(DefaultVariationT&& value) { m_defaultVariationHasBeenSet =
true; m_defaultVariation = std::forward<DefaultVariationT>(value); }
52 template<
typename DefaultVariationT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
79 template<
typename EntityOverr
idesT = Aws::Map<Aws::String, Aws::String>>
80 void SetEntityOverrides(EntityOverridesT&& value) { m_entityOverridesHasBeenSet =
true; m_entityOverrides = std::forward<EntityOverridesT>(value); }
81 template<
typename EntityOverr
idesT = Aws::Map<Aws::String, Aws::String>>
83 template<
typename EntityOverr
idesKeyT = Aws::String,
typename EntityOverr
idesValueT = Aws::String>
85 m_entityOverridesHasBeenSet =
true; m_entityOverrides.emplace(std::forward<EntityOverridesKeyT>(key), std::forward<EntityOverridesValueT>(value));
return *
this;
107 template<
typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
109 template<
typename NameT = Aws::String>
119 template<
typename ProjectT = Aws::String>
120 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
121 template<
typename ProjectT = Aws::String>
139 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
145 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
156 template<
typename VariationsT = Aws::Vector<VariationConfig>>
157 void SetVariations(VariationsT&& value) { m_variationsHasBeenSet =
true; m_variations = std::forward<VariationsT>(value); }
158 template<
typename VariationsT = Aws::Vector<VariationConfig>>
160 template<
typename VariationsT = VariationConfig>
166 bool m_defaultVariationHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_entityOverridesHasBeenSet =
false;
175 bool m_evaluationStrategyHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
181 bool m_projectHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
187 bool m_variationsHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::Vector< VariationConfig > & GetVariations() const
CreateFeatureRequest & WithName(NameT &&value)
FeatureEvaluationStrategy GetEvaluationStrategy() const
CreateFeatureRequest & WithProject(ProjectT &&value)
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
bool VariationsHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API CreateFeatureRequest()=default
const Aws::String & GetProject() const
bool EntityOverridesHasBeenSet() const
CreateFeatureRequest & AddVariations(VariationsT &&value)
void SetDefaultVariation(DefaultVariationT &&value)
CreateFeatureRequest & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetVariations(VariationsT &&value)
const Aws::String & GetDefaultVariation() const
CreateFeatureRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
CreateFeatureRequest & WithEvaluationStrategy(FeatureEvaluationStrategy value)
bool DescriptionHasBeenSet() const
CreateFeatureRequest & WithVariations(VariationsT &&value)
void SetDescription(DescriptionT &&value)
void SetEntityOverrides(EntityOverridesT &&value)
bool DefaultVariationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEntityOverrides() const
bool EvaluationStrategyHasBeenSet() const
CreateFeatureRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
bool ProjectHasBeenSet() const
void SetEvaluationStrategy(FeatureEvaluationStrategy value)
CreateFeatureRequest & WithDefaultVariation(DefaultVariationT &&value)
CreateFeatureRequest & AddEntityOverrides(EntityOverridesKeyT &&key, EntityOverridesValueT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
CreateFeatureRequest & WithEntityOverrides(EntityOverridesT &&value)
void SetProject(ProjectT &&value)
FeatureEvaluationStrategy
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