AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AppConfigResourceT = ProjectAppConfigResource>
75 void SetAppConfigResource(AppConfigResourceT&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::forward<AppConfigResourceT>(value); }
76 template<typename AppConfigResourceT = ProjectAppConfigResource>
77 Project& WithAppConfigResource(AppConfigResourceT&& value) { SetAppConfigResource(std::forward<AppConfigResourceT>(value)); return *this;}
79
81
84 inline const Aws::String& GetArn() const { return m_arn; }
85 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
86 template<typename ArnT = Aws::String>
87 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
88 template<typename ArnT = Aws::String>
89 Project& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
97 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
98 template<typename CreatedTimeT = Aws::Utils::DateTime>
99 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
100 template<typename CreatedTimeT = Aws::Utils::DateTime>
101 Project& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
103
105
109 inline const ProjectDataDelivery& GetDataDelivery() const { return m_dataDelivery; }
110 inline bool DataDeliveryHasBeenSet() const { return m_dataDeliveryHasBeenSet; }
111 template<typename DataDeliveryT = ProjectDataDelivery>
112 void SetDataDelivery(DataDeliveryT&& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = std::forward<DataDeliveryT>(value); }
113 template<typename DataDeliveryT = ProjectDataDelivery>
114 Project& WithDataDelivery(DataDeliveryT&& value) { SetDataDelivery(std::forward<DataDeliveryT>(value)); return *this;}
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 template<typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
125 template<typename DescriptionT = Aws::String>
126 Project& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
128
130
135 inline long long GetExperimentCount() const { return m_experimentCount; }
136 inline bool ExperimentCountHasBeenSet() const { return m_experimentCountHasBeenSet; }
137 inline void SetExperimentCount(long long value) { m_experimentCountHasBeenSet = true; m_experimentCount = value; }
138 inline Project& WithExperimentCount(long long value) { SetExperimentCount(value); return *this;}
140
142
145 inline long long GetFeatureCount() const { return m_featureCount; }
146 inline bool FeatureCountHasBeenSet() const { return m_featureCountHasBeenSet; }
147 inline void SetFeatureCount(long long value) { m_featureCountHasBeenSet = true; m_featureCount = value; }
148 inline Project& WithFeatureCount(long long value) { SetFeatureCount(value); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
156 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
157 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
158 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
159 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
160 Project& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
162
164
168 inline long long GetLaunchCount() const { return m_launchCount; }
169 inline bool LaunchCountHasBeenSet() const { return m_launchCountHasBeenSet; }
170 inline void SetLaunchCount(long long value) { m_launchCountHasBeenSet = true; m_launchCount = value; }
171 inline Project& WithLaunchCount(long long value) { SetLaunchCount(value); return *this;}
173
175
178 inline const Aws::String& GetName() const { return m_name; }
179 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
180 template<typename NameT = Aws::String>
181 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
182 template<typename NameT = Aws::String>
183 Project& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
185
187
190 inline ProjectStatus GetStatus() const { return m_status; }
191 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
192 inline void SetStatus(ProjectStatus value) { m_statusHasBeenSet = true; m_status = value; }
193 inline Project& WithStatus(ProjectStatus value) { SetStatus(value); return *this;}
195
197
200 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
201 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
202 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
204 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 Project& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
206 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
207 Project& AddTags(TagsKeyT&& key, TagsValueT&& value) {
208 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
209 }
211 private:
212
213 long long m_activeExperimentCount{0};
214 bool m_activeExperimentCountHasBeenSet = false;
215
216 long long m_activeLaunchCount{0};
217 bool m_activeLaunchCountHasBeenSet = false;
218
219 ProjectAppConfigResource m_appConfigResource;
220 bool m_appConfigResourceHasBeenSet = false;
221
222 Aws::String m_arn;
223 bool m_arnHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createdTime{};
226 bool m_createdTimeHasBeenSet = false;
227
228 ProjectDataDelivery m_dataDelivery;
229 bool m_dataDeliveryHasBeenSet = false;
230
231 Aws::String m_description;
232 bool m_descriptionHasBeenSet = false;
233
234 long long m_experimentCount{0};
235 bool m_experimentCountHasBeenSet = false;
236
237 long long m_featureCount{0};
238 bool m_featureCountHasBeenSet = false;
239
240 Aws::Utils::DateTime m_lastUpdatedTime{};
241 bool m_lastUpdatedTimeHasBeenSet = false;
242
243 long long m_launchCount{0};
244 bool m_launchCountHasBeenSet = false;
245
246 Aws::String m_name;
247 bool m_nameHasBeenSet = false;
248
250 bool m_statusHasBeenSet = false;
251
253 bool m_tagsHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace CloudWatchEvidently
258} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API Project()=default
Project & WithFeatureCount(long long value)
Definition Project.h:148
long long GetActiveExperimentCount() const
Definition Project.h:51
Project & WithActiveLaunchCount(long long value)
Definition Project.h:64
void SetExperimentCount(long long value)
Definition Project.h:137
const Aws::String & GetName() const
Definition Project.h:178
Project & WithName(NameT &&value)
Definition Project.h:183
void SetActiveExperimentCount(long long value)
Definition Project.h:53
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
Project & WithLaunchCount(long long value)
Definition Project.h:171
AWS_CLOUDWATCHEVIDENTLY_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Project.h:158
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Project.h:155
Project & WithDescription(DescriptionT &&value)
Definition Project.h:126
Project & WithAppConfigResource(AppConfigResourceT &&value)
Definition Project.h:77
Project & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Project.h:160
Project & WithCreatedTime(CreatedTimeT &&value)
Definition Project.h:101
const ProjectAppConfigResource & GetAppConfigResource() const
Definition Project.h:72
Project & WithExperimentCount(long long value)
Definition Project.h:138
void SetFeatureCount(long long value)
Definition Project.h:147
Project & WithActiveExperimentCount(long long value)
Definition Project.h:54
void SetDescription(DescriptionT &&value)
Definition Project.h:124
AWS_CLOUDWATCHEVIDENTLY_API Project(Aws::Utils::Json::JsonView jsonValue)
Project & WithTags(TagsT &&value)
Definition Project.h:205
Project & WithDataDelivery(DataDeliveryT &&value)
Definition Project.h:114
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Project.h:96
const Aws::String & GetDescription() const
Definition Project.h:121
Project & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Project.h:207
void SetActiveLaunchCount(long long value)
Definition Project.h:63
void SetStatus(ProjectStatus value)
Definition Project.h:192
const Aws::String & GetArn() const
Definition Project.h:84
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Project.h:200
const ProjectDataDelivery & GetDataDelivery() const
Definition Project.h:109
Project & WithArn(ArnT &&value)
Definition Project.h:89
void SetAppConfigResource(AppConfigResourceT &&value)
Definition Project.h:75
Project & WithStatus(ProjectStatus value)
Definition Project.h:193
void SetCreatedTime(CreatedTimeT &&value)
Definition Project.h:99
void SetLaunchCount(long long value)
Definition Project.h:170
void SetDataDelivery(DataDeliveryT &&value)
Definition Project.h:112
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