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
43 AWS_CLOUDWATCHEVIDENTLY_API
Feature() =
default;
55 template<
typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
57 template<
typename ArnT = Aws::String>
67 template<
typename CreatedTimeT = Aws::Utils::DateTime>
68 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
69 template<
typename CreatedTimeT = Aws::Utils::DateTime>
84 template<
typename DefaultVariationT = Aws::String>
85 void SetDefaultVariation(DefaultVariationT&& value) { m_defaultVariationHasBeenSet =
true; m_defaultVariation = std::forward<DefaultVariationT>(value); }
86 template<
typename DefaultVariationT = Aws::String>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
115 template<
typename EntityOverr
idesT = Aws::Map<Aws::String, Aws::String>>
116 void SetEntityOverrides(EntityOverridesT&& value) { m_entityOverridesHasBeenSet =
true; m_entityOverrides = std::forward<EntityOverridesT>(value); }
117 template<
typename EntityOverr
idesT = Aws::Map<Aws::String, Aws::String>>
119 template<
typename EntityOverr
idesKeyT = Aws::String,
typename EntityOverr
idesValueT = Aws::String>
121 m_entityOverridesHasBeenSet =
true; m_entityOverrides.emplace(std::forward<EntityOverridesKeyT>(key), std::forward<EntityOverridesValueT>(value));
return *
this;
131 template<
typename EvaluationRulesT = Aws::Vector<EvaluationRule>>
132 void SetEvaluationRules(EvaluationRulesT&& value) { m_evaluationRulesHasBeenSet =
true; m_evaluationRules = std::forward<EvaluationRulesT>(value); }
133 template<
typename EvaluationRulesT = Aws::Vector<EvaluationRule>>
135 template<
typename EvaluationRulesT = EvaluationRule>
136 Feature&
AddEvaluationRules(EvaluationRulesT&& value) { m_evaluationRulesHasBeenSet =
true; m_evaluationRules.emplace_back(std::forward<EvaluationRulesT>(value));
return *
this; }
158 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
159 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
160 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
170 template<
typename NameT = Aws::String>
171 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
172 template<
typename NameT = Aws::String>
182 template<
typename ProjectT = Aws::String>
183 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
184 template<
typename ProjectT = Aws::String>
204 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
206 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
210 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
234 template<
typename VariationsT = Aws::Vector<Variation>>
235 void SetVariations(VariationsT&& value) { m_variationsHasBeenSet =
true; m_variations = std::forward<VariationsT>(value); }
236 template<
typename VariationsT = Aws::Vector<Variation>>
238 template<
typename VariationsT = Variation>
239 Feature&
AddVariations(VariationsT&& value) { m_variationsHasBeenSet =
true; m_variations.emplace_back(std::forward<VariationsT>(value));
return *
this; }
244 bool m_arnHasBeenSet =
false;
247 bool m_createdTimeHasBeenSet =
false;
250 bool m_defaultVariationHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
256 bool m_entityOverridesHasBeenSet =
false;
259 bool m_evaluationRulesHasBeenSet =
false;
262 bool m_evaluationStrategyHasBeenSet =
false;
265 bool m_lastUpdatedTimeHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_projectHasBeenSet =
false;
274 bool m_statusHasBeenSet =
false;
277 bool m_tagsHasBeenSet =
false;
280 bool m_valueTypeHasBeenSet =
false;
283 bool m_variationsHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedTime() const
Feature & AddVariations(VariationsT &&value)
FeatureEvaluationStrategy GetEvaluationStrategy() const
bool StatusHasBeenSet() const
Feature & AddEvaluationRules(EvaluationRulesT &&value)
bool ValueTypeHasBeenSet() const
Feature & WithDefaultVariation(DefaultVariationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEntityOverrides() const
void SetEntityOverrides(EntityOverridesT &&value)
bool CreatedTimeHasBeenSet() const
Feature & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool VariationsHasBeenSet() const
Feature & WithName(NameT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Feature & WithArn(ArnT &&value)
void SetTags(TagsT &&value)
void SetValueType(VariationValueType value)
bool EvaluationStrategyHasBeenSet() const
const Aws::Vector< EvaluationRule > & GetEvaluationRules() const
AWS_CLOUDWATCHEVIDENTLY_API Feature()=default
Feature & WithVariations(VariationsT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetDefaultVariation() const
bool ProjectHasBeenSet() const
const Aws::String & GetProject() const
void SetVariations(VariationsT &&value)
bool DefaultVariationHasBeenSet() const
Feature & WithCreatedTime(CreatedTimeT &&value)
Feature & WithEntityOverrides(EntityOverridesT &&value)
void SetEvaluationRules(EvaluationRulesT &&value)
Feature & AddEntityOverrides(EntityOverridesKeyT &&key, EntityOverridesValueT &&value)
const Aws::String & GetName() const
FeatureStatus GetStatus() const
bool EntityOverridesHasBeenSet() const
void SetDefaultVariation(DefaultVariationT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Feature & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(FeatureStatus value)
bool ArnHasBeenSet() const
VariationValueType GetValueType() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
bool DescriptionHasBeenSet() const
Feature & WithEvaluationRules(EvaluationRulesT &&value)
Feature & AddTags(TagsKeyT &&key, TagsValueT &&value)
Feature & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool EvaluationRulesHasBeenSet() const
Feature & WithStatus(FeatureStatus value)
void SetDescription(DescriptionT &&value)
Feature & WithValueType(VariationValueType value)
bool LastUpdatedTimeHasBeenSet() const
Feature & WithEvaluationStrategy(FeatureEvaluationStrategy value)
void SetEvaluationStrategy(FeatureEvaluationStrategy value)
bool TagsHasBeenSet() const
Feature & WithDescription(DescriptionT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Feature(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Variation > & GetVariations() const
void SetCreatedTime(CreatedTimeT &&value)
void SetProject(ProjectT &&value)
Feature & WithProject(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
Aws::Utils::Json::JsonValue JsonValue