AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectSummary.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/evidently/model/ProjectStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CloudWatchEvidently
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary();
39 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline long long GetActiveExperimentCount() const{ return m_activeExperimentCount; }
49 inline bool ActiveExperimentCountHasBeenSet() const { return m_activeExperimentCountHasBeenSet; }
50 inline void SetActiveExperimentCount(long long value) { m_activeExperimentCountHasBeenSet = true; m_activeExperimentCount = value; }
51 inline ProjectSummary& WithActiveExperimentCount(long long value) { SetActiveExperimentCount(value); return *this;}
53
55
58 inline long long GetActiveLaunchCount() const{ return m_activeLaunchCount; }
59 inline bool ActiveLaunchCountHasBeenSet() const { return m_activeLaunchCountHasBeenSet; }
60 inline void SetActiveLaunchCount(long long value) { m_activeLaunchCountHasBeenSet = true; m_activeLaunchCount = value; }
61 inline ProjectSummary& WithActiveLaunchCount(long long value) { SetActiveLaunchCount(value); return *this;}
63
65
68 inline const Aws::String& GetArn() const{ return m_arn; }
69 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
70 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
71 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
72 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
73 inline ProjectSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 inline ProjectSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 inline ProjectSummary& WithArn(const char* value) { SetArn(value); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
83 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
84 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
85 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
86 inline ProjectSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
87 inline ProjectSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline long long GetExperimentCount() const{ return m_experimentCount; }
109 inline bool ExperimentCountHasBeenSet() const { return m_experimentCountHasBeenSet; }
110 inline void SetExperimentCount(long long value) { m_experimentCountHasBeenSet = true; m_experimentCount = value; }
111 inline ProjectSummary& WithExperimentCount(long long value) { SetExperimentCount(value); return *this;}
113
115
118 inline long long GetFeatureCount() const{ return m_featureCount; }
119 inline bool FeatureCountHasBeenSet() const { return m_featureCountHasBeenSet; }
120 inline void SetFeatureCount(long long value) { m_featureCountHasBeenSet = true; m_featureCount = value; }
121 inline ProjectSummary& WithFeatureCount(long long value) { SetFeatureCount(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
129 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
130 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
131 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
132 inline ProjectSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
133 inline ProjectSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
135
137
141 inline long long GetLaunchCount() const{ return m_launchCount; }
142 inline bool LaunchCountHasBeenSet() const { return m_launchCountHasBeenSet; }
143 inline void SetLaunchCount(long long value) { m_launchCountHasBeenSet = true; m_launchCount = value; }
144 inline ProjectSummary& WithLaunchCount(long long value) { SetLaunchCount(value); return *this;}
146
148
151 inline const Aws::String& GetName() const{ return m_name; }
152 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
153 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
154 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
155 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
156 inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
157 inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;}
160
162
165 inline const ProjectStatus& GetStatus() const{ return m_status; }
166 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
167 inline void SetStatus(const ProjectStatus& value) { m_statusHasBeenSet = true; m_status = value; }
168 inline void SetStatus(ProjectStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
169 inline ProjectSummary& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;}
170 inline ProjectSummary& WithStatus(ProjectStatus&& value) { SetStatus(std::move(value)); return *this;}
172
174
177 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
180 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 inline ProjectSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
182 inline ProjectSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
183 inline ProjectSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
184 inline ProjectSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
185 inline ProjectSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
186 inline ProjectSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
187 inline ProjectSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
188 inline ProjectSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
189 inline ProjectSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
191 private:
192
193 long long m_activeExperimentCount;
194 bool m_activeExperimentCountHasBeenSet = false;
195
196 long long m_activeLaunchCount;
197 bool m_activeLaunchCountHasBeenSet = false;
198
199 Aws::String m_arn;
200 bool m_arnHasBeenSet = false;
201
202 Aws::Utils::DateTime m_createdTime;
203 bool m_createdTimeHasBeenSet = false;
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 long long m_experimentCount;
209 bool m_experimentCountHasBeenSet = false;
210
211 long long m_featureCount;
212 bool m_featureCountHasBeenSet = false;
213
214 Aws::Utils::DateTime m_lastUpdatedTime;
215 bool m_lastUpdatedTimeHasBeenSet = false;
216
217 long long m_launchCount;
218 bool m_launchCountHasBeenSet = false;
219
220 Aws::String m_name;
221 bool m_nameHasBeenSet = false;
222
223 ProjectStatus m_status;
224 bool m_statusHasBeenSet = false;
225
227 bool m_tagsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace CloudWatchEvidently
232} // namespace Aws
ProjectSummary & WithDescription(const char *value)
ProjectSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
ProjectSummary & WithName(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary()
ProjectSummary & AddTags(const char *key, Aws::String &&value)
void SetStatus(const ProjectStatus &value)
ProjectSummary & WithArn(const Aws::String &value)
ProjectSummary & AddTags(const Aws::String &key, const Aws::String &value)
ProjectSummary & WithFeatureCount(long long value)
ProjectSummary & WithArn(const char *value)
ProjectSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ProjectSummary & WithActiveLaunchCount(long long value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
ProjectSummary & WithName(const char *value)
ProjectSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ProjectSummary & AddTags(Aws::String &&key, const Aws::String &value)
ProjectSummary & WithLaunchCount(long long value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ProjectSummary & WithDescription(const Aws::String &value)
ProjectSummary & WithName(Aws::String &&value)
ProjectSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ProjectSummary & WithArn(Aws::String &&value)
ProjectSummary & AddTags(const char *key, const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ProjectSummary & WithDescription(Aws::String &&value)
ProjectSummary & AddTags(Aws::String &&key, Aws::String &&value)
ProjectSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
ProjectSummary & WithStatus(const ProjectStatus &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
ProjectSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ProjectSummary & WithStatus(ProjectStatus &&value)
ProjectSummary & AddTags(Aws::String &&key, const char *value)
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & AddTags(const Aws::String &key, Aws::String &&value)
ProjectSummary & WithActiveExperimentCount(long long value)
ProjectSummary & WithExperimentCount(long long value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedTime(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
Aws::Utils::Json::JsonValue JsonValue