AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Project.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/model/ProjectAppConfigResource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/evidently/model/ProjectDataDelivery.h>
12#include <aws/evidently/model/ProjectStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CloudWatchEvidently
27{
28namespace Model
29{
30
38 class Project
39 {
40 public:
41 AWS_CLOUDWATCHEVIDENTLY_API Project();
42 AWS_CLOUDWATCHEVIDENTLY_API Project(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDWATCHEVIDENTLY_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline long long GetActiveExperimentCount() const{ return m_activeExperimentCount; }
52 inline bool ActiveExperimentCountHasBeenSet() const { return m_activeExperimentCountHasBeenSet; }
53 inline void SetActiveExperimentCount(long long value) { m_activeExperimentCountHasBeenSet = true; m_activeExperimentCount = value; }
54 inline Project& WithActiveExperimentCount(long long value) { SetActiveExperimentCount(value); return *this;}
56
58
61 inline long long GetActiveLaunchCount() const{ return m_activeLaunchCount; }
62 inline bool ActiveLaunchCountHasBeenSet() const { return m_activeLaunchCountHasBeenSet; }
63 inline void SetActiveLaunchCount(long long value) { m_activeLaunchCountHasBeenSet = true; m_activeLaunchCount = value; }
64 inline Project& WithActiveLaunchCount(long long value) { SetActiveLaunchCount(value); return *this;}
66
68
72 inline const ProjectAppConfigResource& GetAppConfigResource() const{ return m_appConfigResource; }
73 inline bool AppConfigResourceHasBeenSet() const { return m_appConfigResourceHasBeenSet; }
74 inline void SetAppConfigResource(const ProjectAppConfigResource& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = value; }
75 inline void SetAppConfigResource(ProjectAppConfigResource&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::move(value); }
76 inline Project& WithAppConfigResource(const ProjectAppConfigResource& value) { SetAppConfigResource(value); return *this;}
77 inline Project& WithAppConfigResource(ProjectAppConfigResource&& value) { SetAppConfigResource(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetArn() const{ return m_arn; }
85 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
86 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
87 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
88 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
89 inline Project& WithArn(const Aws::String& value) { SetArn(value); return *this;}
90 inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 inline Project& WithArn(const char* value) { SetArn(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
99 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
100 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
101 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
102 inline Project& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
103 inline Project& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
105
107
111 inline const ProjectDataDelivery& GetDataDelivery() const{ return m_dataDelivery; }
112 inline bool DataDeliveryHasBeenSet() const { return m_dataDeliveryHasBeenSet; }
113 inline void SetDataDelivery(const ProjectDataDelivery& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = value; }
114 inline void SetDataDelivery(ProjectDataDelivery&& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = std::move(value); }
115 inline Project& WithDataDelivery(const ProjectDataDelivery& value) { SetDataDelivery(value); return *this;}
116 inline Project& WithDataDelivery(ProjectDataDelivery&& value) { SetDataDelivery(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetDescription() const{ return m_description; }
124 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
125 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
126 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
127 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
128 inline Project& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
129 inline Project& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
130 inline Project& WithDescription(const char* value) { SetDescription(value); return *this;}
132
134
139 inline long long GetExperimentCount() const{ return m_experimentCount; }
140 inline bool ExperimentCountHasBeenSet() const { return m_experimentCountHasBeenSet; }
141 inline void SetExperimentCount(long long value) { m_experimentCountHasBeenSet = true; m_experimentCount = value; }
142 inline Project& WithExperimentCount(long long value) { SetExperimentCount(value); return *this;}
144
146
149 inline long long GetFeatureCount() const{ return m_featureCount; }
150 inline bool FeatureCountHasBeenSet() const { return m_featureCountHasBeenSet; }
151 inline void SetFeatureCount(long long value) { m_featureCountHasBeenSet = true; m_featureCount = value; }
152 inline Project& WithFeatureCount(long long value) { SetFeatureCount(value); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
160 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
161 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
162 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
163 inline Project& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
164 inline Project& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
166
168
172 inline long long GetLaunchCount() const{ return m_launchCount; }
173 inline bool LaunchCountHasBeenSet() const { return m_launchCountHasBeenSet; }
174 inline void SetLaunchCount(long long value) { m_launchCountHasBeenSet = true; m_launchCount = value; }
175 inline Project& WithLaunchCount(long long value) { SetLaunchCount(value); return *this;}
177
179
182 inline const Aws::String& GetName() const{ return m_name; }
183 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
184 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
185 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
186 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
187 inline Project& WithName(const Aws::String& value) { SetName(value); return *this;}
188 inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
189 inline Project& WithName(const char* value) { SetName(value); return *this;}
191
193
196 inline const ProjectStatus& GetStatus() const{ return m_status; }
197 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
198 inline void SetStatus(const ProjectStatus& value) { m_statusHasBeenSet = true; m_status = value; }
199 inline void SetStatus(ProjectStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
200 inline Project& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;}
201 inline Project& WithStatus(ProjectStatus&& value) { SetStatus(std::move(value)); return *this;}
203
205
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
209 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
210 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
211 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
212 inline Project& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
213 inline Project& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
214 inline Project& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
215 inline Project& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
216 inline Project& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
217 inline Project& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
218 inline Project& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
219 inline Project& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
220 inline Project& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
222 private:
223
224 long long m_activeExperimentCount;
225 bool m_activeExperimentCountHasBeenSet = false;
226
227 long long m_activeLaunchCount;
228 bool m_activeLaunchCountHasBeenSet = false;
229
230 ProjectAppConfigResource m_appConfigResource;
231 bool m_appConfigResourceHasBeenSet = false;
232
233 Aws::String m_arn;
234 bool m_arnHasBeenSet = false;
235
236 Aws::Utils::DateTime m_createdTime;
237 bool m_createdTimeHasBeenSet = false;
238
239 ProjectDataDelivery m_dataDelivery;
240 bool m_dataDeliveryHasBeenSet = false;
241
242 Aws::String m_description;
243 bool m_descriptionHasBeenSet = false;
244
245 long long m_experimentCount;
246 bool m_experimentCountHasBeenSet = false;
247
248 long long m_featureCount;
249 bool m_featureCountHasBeenSet = false;
250
251 Aws::Utils::DateTime m_lastUpdatedTime;
252 bool m_lastUpdatedTimeHasBeenSet = false;
253
254 long long m_launchCount;
255 bool m_launchCountHasBeenSet = false;
256
257 Aws::String m_name;
258 bool m_nameHasBeenSet = false;
259
260 ProjectStatus m_status;
261 bool m_statusHasBeenSet = false;
262
264 bool m_tagsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace CloudWatchEvidently
269} // namespace Aws
Project & WithFeatureCount(long long value)
Definition Project.h:152
Project & AddTags(const char *key, Aws::String &&value)
Definition Project.h:218
long long GetActiveExperimentCount() const
Definition Project.h:51
Project & WithActiveLaunchCount(long long value)
Definition Project.h:64
void SetAppConfigResource(const ProjectAppConfigResource &value)
Definition Project.h:74
Project & WithName(const Aws::String &value)
Definition Project.h:187
void SetExperimentCount(long long value)
Definition Project.h:141
const Aws::String & GetName() const
Definition Project.h:182
const ProjectStatus & GetStatus() const
Definition Project.h:196
Project & WithArn(const Aws::String &value)
Definition Project.h:89
void SetName(Aws::String &&value)
Definition Project.h:185
void SetDescription(const Aws::String &value)
Definition Project.h:125
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Project.h:161
Project & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Project.h:212
Project & WithName(const char *value)
Definition Project.h:189
Project & AddTags(Aws::String &&key, Aws::String &&value)
Definition Project.h:217
void SetArn(const char *value)
Definition Project.h:88
Project & WithName(Aws::String &&value)
Definition Project.h:188
Project & WithStatus(const ProjectStatus &value)
Definition Project.h:200
Project & WithDescription(Aws::String &&value)
Definition Project.h:129
void SetDataDelivery(ProjectDataDelivery &&value)
Definition Project.h:114
void SetAppConfigResource(ProjectAppConfigResource &&value)
Definition Project.h:75
void SetActiveExperimentCount(long long value)
Definition Project.h:53
Project & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Project.h:213
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
Project & AddTags(const char *key, const char *value)
Definition Project.h:220
Project & WithLaunchCount(long long value)
Definition Project.h:175
AWS_CLOUDWATCHEVIDENTLY_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Project.h:211
Project & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Project.h:163
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Project.h:159
void SetStatus(ProjectStatus &&value)
Definition Project.h:199
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Project.h:100
Project & WithDataDelivery(ProjectDataDelivery &&value)
Definition Project.h:116
void SetName(const char *value)
Definition Project.h:186
AWS_CLOUDWATCHEVIDENTLY_API Project()
const ProjectAppConfigResource & GetAppConfigResource() const
Definition Project.h:72
Project & WithArn(const char *value)
Definition Project.h:91
Project & WithExperimentCount(long long value)
Definition Project.h:142
void SetFeatureCount(long long value)
Definition Project.h:151
Project & AddTags(const Aws::String &key, Aws::String &&value)
Definition Project.h:216
Project & WithActiveExperimentCount(long long value)
Definition Project.h:54
Project & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Project.h:164
AWS_CLOUDWATCHEVIDENTLY_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetDataDelivery(const ProjectDataDelivery &value)
Definition Project.h:113
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Project.h:98
const Aws::String & GetDescription() const
Definition Project.h:123
void SetDescription(Aws::String &&value)
Definition Project.h:126
Project & WithAppConfigResource(ProjectAppConfigResource &&value)
Definition Project.h:77
void SetActiveLaunchCount(long long value)
Definition Project.h:63
Project & WithDescription(const Aws::String &value)
Definition Project.h:128
const Aws::String & GetArn() const
Definition Project.h:84
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Project.h:208
const ProjectDataDelivery & GetDataDelivery() const
Definition Project.h:111
void SetArn(const Aws::String &value)
Definition Project.h:86
void SetStatus(const ProjectStatus &value)
Definition Project.h:198
Project & AddTags(const Aws::String &key, const Aws::String &value)
Definition Project.h:214
void SetArn(Aws::String &&value)
Definition Project.h:87
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Project.h:101
Project & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Project.h:103
void SetName(const Aws::String &value)
Definition Project.h:184
Project & WithAppConfigResource(const ProjectAppConfigResource &value)
Definition Project.h:76
Project & WithArn(Aws::String &&value)
Definition Project.h:90
void SetDescription(const char *value)
Definition Project.h:127
Project & AddTags(Aws::String &&key, const Aws::String &value)
Definition Project.h:215
Project & WithStatus(ProjectStatus &&value)
Definition Project.h:201
Project & WithDataDelivery(const ProjectDataDelivery &value)
Definition Project.h:115
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Project.h:210
void SetLaunchCount(long long value)
Definition Project.h:174
Project & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Project.h:102
Project & AddTags(Aws::String &&key, const char *value)
Definition Project.h:219
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Project.h:162
Project & WithDescription(const char *value)
Definition Project.h:130
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