AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FeatureSummary.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CloudWatchEvidently
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary() = default;
42 AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
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>
56 FeatureSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
64 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
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>
68 FeatureSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
70
72
77 inline const Aws::String& GetDefaultVariation() const { return m_defaultVariation; }
78 inline bool DefaultVariationHasBeenSet() const { return m_defaultVariationHasBeenSet; }
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>
82 FeatureSummary& WithDefaultVariation(DefaultVariationT&& value) { SetDefaultVariation(std::forward<DefaultVariationT>(value)); return *this;}
84
86
89 inline const Aws::Vector<EvaluationRule>& GetEvaluationRules() const { return m_evaluationRules; }
90 inline bool EvaluationRulesHasBeenSet() const { return m_evaluationRulesHasBeenSet; }
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>>
94 FeatureSummary& WithEvaluationRules(EvaluationRulesT&& value) { SetEvaluationRules(std::forward<EvaluationRulesT>(value)); return *this;}
95 template<typename EvaluationRulesT = EvaluationRule>
96 FeatureSummary& AddEvaluationRules(EvaluationRulesT&& value) { m_evaluationRulesHasBeenSet = true; m_evaluationRules.emplace_back(std::forward<EvaluationRulesT>(value)); return *this; }
98
100
106 inline FeatureEvaluationStrategy GetEvaluationStrategy() const { return m_evaluationStrategy; }
107 inline bool EvaluationStrategyHasBeenSet() const { return m_evaluationStrategyHasBeenSet; }
108 inline void SetEvaluationStrategy(FeatureEvaluationStrategy value) { m_evaluationStrategyHasBeenSet = true; m_evaluationStrategy = value; }
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
117 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
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>
121 FeatureSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
123
125
128 inline const Aws::String& GetName() const { return m_name; }
129 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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>
133 FeatureSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
135
137
140 inline const Aws::String& GetProject() const { return m_project; }
141 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
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>
145 FeatureSummary& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
147
149
152 inline FeatureStatus GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(FeatureStatus value) { m_statusHasBeenSet = true; m_status = value; }
155 inline FeatureSummary& WithStatus(FeatureStatus value) { SetStatus(value); return *this;}
157
159
162 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
163 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
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>>
167 FeatureSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
168 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
169 FeatureSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
170 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
171 }
173 private:
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdTime{};
179 bool m_createdTimeHasBeenSet = false;
180
181 Aws::String m_defaultVariation;
182 bool m_defaultVariationHasBeenSet = false;
183
184 Aws::Vector<EvaluationRule> m_evaluationRules;
185 bool m_evaluationRulesHasBeenSet = false;
186
188 bool m_evaluationStrategyHasBeenSet = false;
189
190 Aws::Utils::DateTime m_lastUpdatedTime{};
191 bool m_lastUpdatedTimeHasBeenSet = false;
192
193 Aws::String m_name;
194 bool m_nameHasBeenSet = false;
195
196 Aws::String m_project;
197 bool m_projectHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
203 bool m_tagsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace CloudWatchEvidently
208} // namespace Aws
void SetDefaultVariation(DefaultVariationT &&value)
FeatureSummary & WithCreatedTime(CreatedTimeT &&value)
FeatureSummary & WithDefaultVariation(DefaultVariationT &&value)
const Aws::Vector< EvaluationRule > & GetEvaluationRules() const
FeatureSummary & WithProject(ProjectT &&value)
void SetEvaluationStrategy(FeatureEvaluationStrategy value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureSummary & WithEvaluationStrategy(FeatureEvaluationStrategy value)
FeatureSummary & WithStatus(FeatureStatus value)
void SetEvaluationRules(EvaluationRulesT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
FeatureEvaluationStrategy GetEvaluationStrategy() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
FeatureSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
FeatureSummary & AddEvaluationRules(EvaluationRulesT &&value)
const Aws::String & GetDefaultVariation() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary()=default
FeatureSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
FeatureSummary & WithEvaluationRules(EvaluationRulesT &&value)
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