AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
55 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
56 inline FeatureSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
57 inline FeatureSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
58 inline FeatureSummary& WithArn(const char* value) { SetArn(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
66 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
67 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
68 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
69 inline FeatureSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
70 inline FeatureSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
72
74
79 inline const Aws::String& GetDefaultVariation() const{ return m_defaultVariation; }
80 inline bool DefaultVariationHasBeenSet() const { return m_defaultVariationHasBeenSet; }
81 inline void SetDefaultVariation(const Aws::String& value) { m_defaultVariationHasBeenSet = true; m_defaultVariation = value; }
82 inline void SetDefaultVariation(Aws::String&& value) { m_defaultVariationHasBeenSet = true; m_defaultVariation = std::move(value); }
83 inline void SetDefaultVariation(const char* value) { m_defaultVariationHasBeenSet = true; m_defaultVariation.assign(value); }
84 inline FeatureSummary& WithDefaultVariation(const Aws::String& value) { SetDefaultVariation(value); return *this;}
85 inline FeatureSummary& WithDefaultVariation(Aws::String&& value) { SetDefaultVariation(std::move(value)); return *this;}
86 inline FeatureSummary& WithDefaultVariation(const char* value) { SetDefaultVariation(value); return *this;}
88
90
93 inline const Aws::Vector<EvaluationRule>& GetEvaluationRules() const{ return m_evaluationRules; }
94 inline bool EvaluationRulesHasBeenSet() const { return m_evaluationRulesHasBeenSet; }
95 inline void SetEvaluationRules(const Aws::Vector<EvaluationRule>& value) { m_evaluationRulesHasBeenSet = true; m_evaluationRules = value; }
96 inline void SetEvaluationRules(Aws::Vector<EvaluationRule>&& value) { m_evaluationRulesHasBeenSet = true; m_evaluationRules = std::move(value); }
98 inline FeatureSummary& WithEvaluationRules(Aws::Vector<EvaluationRule>&& value) { SetEvaluationRules(std::move(value)); return *this;}
99 inline FeatureSummary& AddEvaluationRules(const EvaluationRule& value) { m_evaluationRulesHasBeenSet = true; m_evaluationRules.push_back(value); return *this; }
100 inline FeatureSummary& AddEvaluationRules(EvaluationRule&& value) { m_evaluationRulesHasBeenSet = true; m_evaluationRules.push_back(std::move(value)); return *this; }
102
104
110 inline const FeatureEvaluationStrategy& GetEvaluationStrategy() const{ return m_evaluationStrategy; }
111 inline bool EvaluationStrategyHasBeenSet() const { return m_evaluationStrategyHasBeenSet; }
112 inline void SetEvaluationStrategy(const FeatureEvaluationStrategy& value) { m_evaluationStrategyHasBeenSet = true; m_evaluationStrategy = value; }
113 inline void SetEvaluationStrategy(FeatureEvaluationStrategy&& value) { m_evaluationStrategyHasBeenSet = true; m_evaluationStrategy = std::move(value); }
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
123 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
124 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
125 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
126 inline FeatureSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
127 inline FeatureSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetName() const{ return m_name; }
135 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
136 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
137 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
138 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
139 inline FeatureSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
140 inline FeatureSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
141 inline FeatureSummary& WithName(const char* value) { SetName(value); return *this;}
143
145
148 inline const Aws::String& GetProject() const{ return m_project; }
149 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
150 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
151 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
152 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
153 inline FeatureSummary& WithProject(const Aws::String& value) { SetProject(value); return *this;}
154 inline FeatureSummary& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
155 inline FeatureSummary& WithProject(const char* value) { SetProject(value); return *this;}
157
159
162 inline const FeatureStatus& GetStatus() const{ return m_status; }
163 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
164 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
165 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
166 inline FeatureSummary& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
167 inline FeatureSummary& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
169
171
174 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
175 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
176 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
177 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
178 inline FeatureSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
179 inline FeatureSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
180 inline FeatureSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
181 inline FeatureSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
182 inline FeatureSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
183 inline FeatureSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
184 inline FeatureSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
185 inline FeatureSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
186 inline FeatureSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
188 private:
189
190 Aws::String m_arn;
191 bool m_arnHasBeenSet = false;
192
193 Aws::Utils::DateTime m_createdTime;
194 bool m_createdTimeHasBeenSet = false;
195
196 Aws::String m_defaultVariation;
197 bool m_defaultVariationHasBeenSet = false;
198
199 Aws::Vector<EvaluationRule> m_evaluationRules;
200 bool m_evaluationRulesHasBeenSet = false;
201
202 FeatureEvaluationStrategy m_evaluationStrategy;
203 bool m_evaluationStrategyHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastUpdatedTime;
206 bool m_lastUpdatedTimeHasBeenSet = false;
207
208 Aws::String m_name;
209 bool m_nameHasBeenSet = false;
210
211 Aws::String m_project;
212 bool m_projectHasBeenSet = false;
213
214 FeatureStatus m_status;
215 bool m_statusHasBeenSet = false;
216
218 bool m_tagsHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace CloudWatchEvidently
223} // namespace Aws
FeatureSummary & WithArn(const Aws::String &value)
FeatureSummary & WithEvaluationRules(const Aws::Vector< EvaluationRule > &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::Vector< EvaluationRule > & GetEvaluationRules() const
FeatureSummary & AddTags(Aws::String &&key, Aws::String &&value)
FeatureSummary & WithStatus(const FeatureStatus &value)
void SetStatus(const FeatureStatus &value)
void SetEvaluationRules(Aws::Vector< EvaluationRule > &&value)
FeatureSummary & AddTags(const Aws::String &key, Aws::String &&value)
FeatureSummary & WithProject(const Aws::String &value)
void SetEvaluationRules(const Aws::Vector< EvaluationRule > &value)
FeatureSummary & WithName(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
FeatureSummary & WithName(const Aws::String &value)
FeatureSummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary(Aws::Utils::Json::JsonView jsonValue)
FeatureSummary & WithDefaultVariation(const char *value)
FeatureSummary & WithEvaluationRules(Aws::Vector< EvaluationRule > &&value)
FeatureSummary & WithName(Aws::String &&value)
FeatureSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureSummary & WithProject(Aws::String &&value)
FeatureSummary & WithEvaluationStrategy(FeatureEvaluationStrategy &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDWATCHEVIDENTLY_API FeatureSummary()
FeatureSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
FeatureSummary & AddTags(const char *key, const char *value)
FeatureSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
FeatureSummary & AddTags(const char *key, Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
FeatureSummary & AddEvaluationRules(const EvaluationRule &value)
FeatureSummary & WithStatus(FeatureStatus &&value)
const FeatureEvaluationStrategy & GetEvaluationStrategy() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
FeatureSummary & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDefaultVariation(const Aws::String &value)
FeatureSummary & WithProject(const char *value)
FeatureSummary & WithDefaultVariation(Aws::String &&value)
void SetEvaluationStrategy(const FeatureEvaluationStrategy &value)
FeatureSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDefaultVariation() const
const Aws::Utils::DateTime & GetCreatedTime() const
FeatureSummary & WithDefaultVariation(const Aws::String &value)
void SetEvaluationStrategy(FeatureEvaluationStrategy &&value)
FeatureSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
FeatureSummary & AddTags(Aws::String &&key, const char *value)
FeatureSummary & AddEvaluationRules(EvaluationRule &&value)
FeatureSummary & WithArn(Aws::String &&value)
FeatureSummary & WithEvaluationStrategy(const FeatureEvaluationStrategy &value)
FeatureSummary & WithArn(const char *value)
FeatureSummary & WithCreatedTime(Aws::Utils::DateTime &&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