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
52 inline void SetDefaultVariation(
const char* value) { m_defaultVariationHasBeenSet =
true; m_defaultVariation.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
118 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
132 inline void SetProject(
const char* value) { m_projectHasBeenSet =
true; m_project.assign(value); }
182 bool m_defaultVariationHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_entityOverridesHasBeenSet =
false;
191 bool m_evaluationStrategyHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
197 bool m_projectHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
203 bool m_variationsHasBeenSet =
false;
const Aws::String & GetName() const
void SetEvaluationStrategy(FeatureEvaluationStrategy &&value)
const Aws::Vector< VariationConfig > & GetVariations() const
CreateFeatureRequest & AddEntityOverrides(const char *key, const char *value)
CreateFeatureRequest & AddTags(const char *key, Aws::String &&value)
CreateFeatureRequest & WithVariations(const Aws::Vector< VariationConfig > &value)
CreateFeatureRequest & WithProject(const char *value)
CreateFeatureRequest & WithName(const char *value)
void SetProject(Aws::String &&value)
CreateFeatureRequest & AddEntityOverrides(Aws::String &&key, Aws::String &&value)
void SetProject(const char *value)
void SetName(const Aws::String &value)
CreateFeatureRequest & WithDefaultVariation(const char *value)
void SetDescription(const Aws::String &value)
CreateFeatureRequest & AddTags(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateFeatureRequest & WithProject(Aws::String &&value)
CreateFeatureRequest & WithProject(const Aws::String &value)
bool VariationsHasBeenSet() const
const FeatureEvaluationStrategy & GetEvaluationStrategy() const
const Aws::String & GetProject() const
void SetProject(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool EntityOverridesHasBeenSet() const
CreateFeatureRequest & WithEvaluationStrategy(FeatureEvaluationStrategy &&value)
CreateFeatureRequest & WithDefaultVariation(const Aws::String &value)
CreateFeatureRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetVariations(const Aws::Vector< VariationConfig > &value)
CreateFeatureRequest & AddTags(const char *key, const char *value)
CreateFeatureRequest & WithEntityOverrides(const Aws::Map< Aws::String, Aws::String > &value)
CreateFeatureRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultVariation(const Aws::String &value)
CreateFeatureRequest & AddEntityOverrides(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDefaultVariation() const
CreateFeatureRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateFeatureRequest & AddVariations(const VariationConfig &value)
bool NameHasBeenSet() const
CreateFeatureRequest & AddEntityOverrides(Aws::String &&key, const char *value)
CreateFeatureRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateFeatureRequest & WithDefaultVariation(Aws::String &&value)
void SetEntityOverrides(const Aws::Map< Aws::String, Aws::String > &value)
bool DescriptionHasBeenSet() const
void SetName(const char *value)
CreateFeatureRequest & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
CreateFeatureRequest & AddEntityOverrides(const char *key, Aws::String &&value)
CreateFeatureRequest & AddVariations(VariationConfig &&value)
CreateFeatureRequest & AddEntityOverrides(const Aws::String &key, const Aws::String &value)
CreateFeatureRequest & WithName(const Aws::String &value)
CreateFeatureRequest & WithName(Aws::String &&value)
CreateFeatureRequest & AddEntityOverrides(Aws::String &&key, const Aws::String &value)
void SetEntityOverrides(Aws::Map< Aws::String, Aws::String > &&value)
CreateFeatureRequest & WithVariations(Aws::Vector< VariationConfig > &&value)
CreateFeatureRequest & WithDescription(const Aws::String &value)
bool DefaultVariationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEntityOverrides() const
AWS_CLOUDWATCHEVIDENTLY_API CreateFeatureRequest()
bool EvaluationStrategyHasBeenSet() const
void SetDefaultVariation(const char *value)
void SetName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
CreateFeatureRequest & WithEvaluationStrategy(const FeatureEvaluationStrategy &value)
void SetVariations(Aws::Vector< VariationConfig > &&value)
void SetDescription(const char *value)
CreateFeatureRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool TagsHasBeenSet() const
bool ProjectHasBeenSet() const
void SetDefaultVariation(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetEvaluationStrategy(const FeatureEvaluationStrategy &value)
CreateFeatureRequest & WithEntityOverrides(Aws::Map< Aws::String, Aws::String > &&value)
CreateFeatureRequest & AddTags(Aws::String &&key, const char *value)
CreateFeatureRequest & WithDescription(const char *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