7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/evidently/model/FeatureEvaluationStrategy.h>
13#include <aws/evidently/model/FeatureStatus.h>
14#include <aws/evidently/model/VariationValueType.h>
15#include <aws/evidently/model/EvaluationRule.h>
16#include <aws/evidently/model/Variation.h>
29namespace CloudWatchEvidently
56 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
57 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
88 inline void SetDefaultVariation(
const char* value) { m_defaultVariationHasBeenSet =
true; m_defaultVariation.assign(value); }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
131 inline Feature&
AddEntityOverrides(
const char* key,
const char* value) { m_entityOverridesHasBeenSet =
true; m_entityOverrides.emplace(key, value);
return *
this; }
183 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
197 inline void SetProject(
const char* value) { m_projectHasBeenSet =
true; m_project.assign(value); }
229 inline Feature&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
230 inline Feature&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
231 inline Feature&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
266 bool m_arnHasBeenSet =
false;
269 bool m_createdTimeHasBeenSet =
false;
272 bool m_defaultVariationHasBeenSet =
false;
275 bool m_descriptionHasBeenSet =
false;
278 bool m_entityOverridesHasBeenSet =
false;
281 bool m_evaluationRulesHasBeenSet =
false;
284 bool m_evaluationStrategyHasBeenSet =
false;
287 bool m_lastUpdatedTimeHasBeenSet =
false;
290 bool m_nameHasBeenSet =
false;
293 bool m_projectHasBeenSet =
false;
296 bool m_statusHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
302 bool m_valueTypeHasBeenSet =
false;
305 bool m_variationsHasBeenSet =
false;
Feature & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
Feature & AddVariations(Variation &&value)
Feature & WithDescription(const char *value)
bool StatusHasBeenSet() const
Feature & AddVariations(const Variation &value)
Feature & WithEvaluationRules(Aws::Vector< EvaluationRule > &&value)
Feature & WithStatus(FeatureStatus &&value)
bool ValueTypeHasBeenSet() const
Feature & AddTags(Aws::String &&key, Aws::String &&value)
Feature & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Feature & AddTags(const Aws::String &key, Aws::String &&value)
Feature & AddEntityOverrides(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEntityOverrides() const
const VariationValueType & GetValueType() const
void SetName(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
bool CreatedTimeHasBeenSet() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const FeatureEvaluationStrategy & GetEvaluationStrategy() const
Feature & AddEvaluationRules(EvaluationRule &&value)
void SetArn(const char *value)
void SetArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Feature & AddEntityOverrides(const Aws::String &key, Aws::String &&value)
void SetVariations(const Aws::Vector< Variation > &value)
bool VariationsHasBeenSet() const
Feature & WithDefaultVariation(Aws::String &&value)
Feature & AddEntityOverrides(Aws::String &&key, const char *value)
void SetStatus(const FeatureStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Feature & WithEvaluationRules(const Aws::Vector< EvaluationRule > &value)
bool EvaluationStrategyHasBeenSet() const
Feature & WithProject(Aws::String &&value)
Feature & WithProject(const Aws::String &value)
const Aws::Vector< EvaluationRule > & GetEvaluationRules() const
void SetEvaluationStrategy(const FeatureEvaluationStrategy &value)
void SetEvaluationRules(const Aws::Vector< EvaluationRule > &value)
Feature & AddTags(const char *key, const char *value)
const Aws::String & GetDefaultVariation() const
Feature & AddTags(Aws::String &&key, const Aws::String &value)
bool ProjectHasBeenSet() const
void SetDefaultVariation(Aws::String &&value)
const Aws::String & GetProject() const
void SetDescription(const char *value)
Feature & AddTags(const Aws::String &key, const Aws::String &value)
void SetStatus(FeatureStatus &&value)
bool DefaultVariationHasBeenSet() const
Feature & WithName(const Aws::String &value)
Feature & WithArn(const Aws::String &value)
void SetValueType(VariationValueType &&value)
void SetEvaluationRules(Aws::Vector< EvaluationRule > &&value)
const Aws::String & GetName() const
Feature & WithName(const char *value)
void SetEntityOverrides(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const char *value)
bool EntityOverridesHasBeenSet() const
Feature & WithEvaluationStrategy(const FeatureEvaluationStrategy &value)
Feature & WithCreatedTime(const Aws::Utils::DateTime &value)
Feature & WithValueType(VariationValueType &&value)
Feature & WithEvaluationStrategy(FeatureEvaluationStrategy &&value)
AWS_CLOUDWATCHEVIDENTLY_API Feature & operator=(Aws::Utils::Json::JsonView jsonValue)
Feature & WithVariations(const Aws::Vector< Variation > &value)
Feature & WithEntityOverrides(Aws::Map< Aws::String, Aws::String > &&value)
Feature & WithCreatedTime(Aws::Utils::DateTime &&value)
Feature & WithArn(Aws::String &&value)
bool ArnHasBeenSet() const
void SetVariations(Aws::Vector< Variation > &&value)
Feature & AddEntityOverrides(Aws::String &&key, Aws::String &&value)
void SetValueType(const VariationValueType &value)
Feature & WithDefaultVariation(const char *value)
const Aws::String & GetArn() const
Feature & WithDefaultVariation(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetProject(const Aws::String &value)
Feature & WithProject(const char *value)
Feature & WithVariations(Aws::Vector< Variation > &&value)
Feature & AddEntityOverrides(Aws::String &&key, const Aws::String &value)
Feature & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Feature & WithStatus(const FeatureStatus &value)
Feature & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
bool EvaluationRulesHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Feature & WithArn(const char *value)
void SetEvaluationStrategy(FeatureEvaluationStrategy &&value)
Feature & WithValueType(const VariationValueType &value)
AWS_CLOUDWATCHEVIDENTLY_API Feature()
Feature & AddTags(const char *key, Aws::String &&value)
void SetProject(Aws::String &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultVariation(const char *value)
Feature & AddEvaluationRules(const EvaluationRule &value)
Feature & AddTags(Aws::String &&key, const char *value)
bool TagsHasBeenSet() const
const FeatureStatus & GetStatus() const
Feature & WithEntityOverrides(const Aws::Map< Aws::String, Aws::String > &value)
void SetArn(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Feature(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetProject(const char *value)
Feature & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(const Aws::String &value)
Feature & WithDescription(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetEntityOverrides(Aws::Map< Aws::String, Aws::String > &&value)
bool NameHasBeenSet() const
void SetDefaultVariation(const Aws::String &value)
void SetDescription(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Variation > & GetVariations() const
Feature & AddEntityOverrides(const Aws::String &key, const Aws::String &value)
Feature & WithName(Aws::String &&value)
Feature & AddEntityOverrides(const char *key, const char *value)
void SetDescription(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue