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/AWSVector.h>
11#include <aws/evidently/model/FeatureEvaluationStrategy.h>
12#include <aws/evidently/model/FeatureStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/evidently/model/EvaluationRule.h>
27namespace CloudWatchEvidently
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
65 template<
typename CreatedTimeT = Aws::Utils::DateTime>
66 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
67 template<
typename CreatedTimeT = Aws::Utils::DateTime>
79 template<
typename DefaultVariationT = Aws::String>
80 void SetDefaultVariation(DefaultVariationT&& value) { m_defaultVariationHasBeenSet =
true; m_defaultVariation = std::forward<DefaultVariationT>(value); }
81 template<
typename DefaultVariationT = Aws::String>
91 template<
typename EvaluationRulesT = Aws::Vector<EvaluationRule>>
92 void SetEvaluationRules(EvaluationRulesT&& value) { m_evaluationRulesHasBeenSet =
true; m_evaluationRules = std::forward<EvaluationRulesT>(value); }
93 template<
typename EvaluationRulesT = Aws::Vector<EvaluationRule>>
95 template<
typename EvaluationRulesT = EvaluationRule>
96 FeatureSummary&
AddEvaluationRules(EvaluationRulesT&& value) { m_evaluationRulesHasBeenSet =
true; m_evaluationRules.emplace_back(std::forward<EvaluationRulesT>(value));
return *
this; }
118 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
119 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
120 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
130 template<
typename NameT = Aws::String>
131 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
132 template<
typename NameT = Aws::String>
142 template<
typename ProjectT = Aws::String>
143 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
144 template<
typename ProjectT = Aws::String>
164 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
166 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
170 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
176 bool m_arnHasBeenSet =
false;
179 bool m_createdTimeHasBeenSet =
false;
182 bool m_defaultVariationHasBeenSet =
false;
185 bool m_evaluationRulesHasBeenSet =
false;
188 bool m_evaluationStrategyHasBeenSet =
false;
191 bool m_lastUpdatedTimeHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
197 bool m_projectHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
203 bool m_tagsHasBeenSet =
false;
void SetDefaultVariation(DefaultVariationT &&value)
FeatureSummary & WithCreatedTime(CreatedTimeT &&value)
FeatureSummary & WithDefaultVariation(DefaultVariationT &&value)
FeatureSummary & WithArn(ArnT &&value)
const Aws::Vector< EvaluationRule > & GetEvaluationRules() const
FeatureSummary & WithProject(ProjectT &&value)
void SetName(NameT &&value)
bool DefaultVariationHasBeenSet() const
void SetEvaluationStrategy(FeatureEvaluationStrategy value)
void SetCreatedTime(CreatedTimeT &&value)
bool CreatedTimeHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProjectHasBeenSet() const
bool TagsHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
bool EvaluationRulesHasBeenSet() const
FeatureSummary & WithTags(TagsT &&value)
FeatureSummary & WithEvaluationStrategy(FeatureEvaluationStrategy value)
void SetProject(ProjectT &&value)
FeatureSummary & WithStatus(FeatureStatus value)
void SetStatus(FeatureStatus value)
void SetEvaluationRules(EvaluationRulesT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
FeatureEvaluationStrategy GetEvaluationStrategy() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
FeatureSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool StatusHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
FeatureSummary & AddEvaluationRules(EvaluationRulesT &&value)
FeatureSummary & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDefaultVariation() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary()=default
FeatureStatus GetStatus() const
bool EvaluationStrategyHasBeenSet() const
FeatureSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetProject() const
void SetTags(TagsT &&value)
bool LastUpdatedTimeHasBeenSet() const
FeatureSummary & WithEvaluationRules(EvaluationRulesT &&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