AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
EnvironmentSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/EnvironmentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API EnvironmentSummary() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetProjectId() const { return m_projectId; }
41 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
42 template <typename ProjectIdT = Aws::String>
43 void SetProjectId(ProjectIdT&& value) {
44 m_projectIdHasBeenSet = true;
45 m_projectId = std::forward<ProjectIdT>(value);
46 }
47 template <typename ProjectIdT = Aws::String>
48 EnvironmentSummary& WithProjectId(ProjectIdT&& value) {
49 SetProjectId(std::forward<ProjectIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
66 EnvironmentSummary& WithId(IdT&& value) {
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
79 template <typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) {
81 m_domainIdHasBeenSet = true;
82 m_domainId = std::forward<DomainIdT>(value);
83 }
84 template <typename DomainIdT = Aws::String>
85 EnvironmentSummary& WithDomainId(DomainIdT&& value) {
86 SetDomainId(std::forward<DomainIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
96 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
97 template <typename CreatedByT = Aws::String>
98 void SetCreatedBy(CreatedByT&& value) {
99 m_createdByHasBeenSet = true;
100 m_createdBy = std::forward<CreatedByT>(value);
101 }
102 template <typename CreatedByT = Aws::String>
103 EnvironmentSummary& WithCreatedBy(CreatedByT&& value) {
104 SetCreatedBy(std::forward<CreatedByT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
114 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) {
117 m_createdAtHasBeenSet = true;
118 m_createdAt = std::forward<CreatedAtT>(value);
119 }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
121 EnvironmentSummary& WithCreatedAt(CreatedAtT&& value) {
122 SetCreatedAt(std::forward<CreatedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
132 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 void SetUpdatedAt(UpdatedAtT&& value) {
135 m_updatedAtHasBeenSet = true;
136 m_updatedAt = std::forward<UpdatedAtT>(value);
137 }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 EnvironmentSummary& WithUpdatedAt(UpdatedAtT&& value) {
140 SetUpdatedAt(std::forward<UpdatedAtT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetName() const { return m_name; }
150 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
151 template <typename NameT = Aws::String>
152 void SetName(NameT&& value) {
153 m_nameHasBeenSet = true;
154 m_name = std::forward<NameT>(value);
155 }
156 template <typename NameT = Aws::String>
157 EnvironmentSummary& WithName(NameT&& value) {
158 SetName(std::forward<NameT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetDescription() const { return m_description; }
168 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
169 template <typename DescriptionT = Aws::String>
170 void SetDescription(DescriptionT&& value) {
171 m_descriptionHasBeenSet = true;
172 m_description = std::forward<DescriptionT>(value);
173 }
174 template <typename DescriptionT = Aws::String>
175 EnvironmentSummary& WithDescription(DescriptionT&& value) {
176 SetDescription(std::forward<DescriptionT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
187 inline bool EnvironmentProfileIdHasBeenSet() const { return m_environmentProfileIdHasBeenSet; }
188 template <typename EnvironmentProfileIdT = Aws::String>
189 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) {
190 m_environmentProfileIdHasBeenSet = true;
191 m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value);
192 }
193 template <typename EnvironmentProfileIdT = Aws::String>
194 EnvironmentSummary& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) {
195 SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value));
196 return *this;
197 }
199
201
205 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
206 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
207 template <typename AwsAccountIdT = Aws::String>
208 void SetAwsAccountId(AwsAccountIdT&& value) {
209 m_awsAccountIdHasBeenSet = true;
210 m_awsAccountId = std::forward<AwsAccountIdT>(value);
211 }
212 template <typename AwsAccountIdT = Aws::String>
213 EnvironmentSummary& WithAwsAccountId(AwsAccountIdT&& value) {
214 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
224 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
225 template <typename AwsAccountRegionT = Aws::String>
226 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
227 m_awsAccountRegionHasBeenSet = true;
228 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
229 }
230 template <typename AwsAccountRegionT = Aws::String>
231 EnvironmentSummary& WithAwsAccountRegion(AwsAccountRegionT&& value) {
232 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetProvider() const { return m_provider; }
242 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
243 template <typename ProviderT = Aws::String>
244 void SetProvider(ProviderT&& value) {
245 m_providerHasBeenSet = true;
246 m_provider = std::forward<ProviderT>(value);
247 }
248 template <typename ProviderT = Aws::String>
249 EnvironmentSummary& WithProvider(ProviderT&& value) {
250 SetProvider(std::forward<ProviderT>(value));
251 return *this;
252 }
254
256
259 inline EnvironmentStatus GetStatus() const { return m_status; }
260 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
261 inline void SetStatus(EnvironmentStatus value) {
262 m_statusHasBeenSet = true;
263 m_status = value;
264 }
266 SetStatus(value);
267 return *this;
268 }
270
272
275 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
276 inline bool EnvironmentConfigurationIdHasBeenSet() const { return m_environmentConfigurationIdHasBeenSet; }
277 template <typename EnvironmentConfigurationIdT = Aws::String>
278 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
279 m_environmentConfigurationIdHasBeenSet = true;
280 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
281 }
282 template <typename EnvironmentConfigurationIdT = Aws::String>
283 EnvironmentSummary& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
284 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
285 return *this;
286 }
288 private:
289 Aws::String m_projectId;
290
291 Aws::String m_id;
292
293 Aws::String m_domainId;
294
295 Aws::String m_createdBy;
296
297 Aws::Utils::DateTime m_createdAt{};
298
299 Aws::Utils::DateTime m_updatedAt{};
300
301 Aws::String m_name;
302
303 Aws::String m_description;
304
305 Aws::String m_environmentProfileId;
306
307 Aws::String m_awsAccountId;
308
309 Aws::String m_awsAccountRegion;
310
311 Aws::String m_provider;
312
314
315 Aws::String m_environmentConfigurationId;
316 bool m_projectIdHasBeenSet = false;
317 bool m_idHasBeenSet = false;
318 bool m_domainIdHasBeenSet = false;
319 bool m_createdByHasBeenSet = false;
320 bool m_createdAtHasBeenSet = false;
321 bool m_updatedAtHasBeenSet = false;
322 bool m_nameHasBeenSet = false;
323 bool m_descriptionHasBeenSet = false;
324 bool m_environmentProfileIdHasBeenSet = false;
325 bool m_awsAccountIdHasBeenSet = false;
326 bool m_awsAccountRegionHasBeenSet = false;
327 bool m_providerHasBeenSet = false;
328 bool m_statusHasBeenSet = false;
329 bool m_environmentConfigurationIdHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace DataZone
334} // namespace Aws
EnvironmentSummary & WithCreatedAt(CreatedAtT &&value)
EnvironmentSummary & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
EnvironmentSummary & WithId(IdT &&value)
void SetEnvironmentProfileId(EnvironmentProfileIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
EnvironmentSummary & WithCreatedBy(CreatedByT &&value)
EnvironmentSummary & WithProvider(ProviderT &&value)
EnvironmentSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEnvironmentConfigurationId() const
void SetStatus(EnvironmentStatus value)
EnvironmentSummary & WithStatus(EnvironmentStatus value)
EnvironmentSummary & WithName(NameT &&value)
EnvironmentSummary & WithAwsAccountId(AwsAccountIdT &&value)
EnvironmentSummary & WithDescription(DescriptionT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsAccountRegion() const
const Aws::String & GetAwsAccountId() const
EnvironmentSummary & WithAwsAccountRegion(AwsAccountRegionT &&value)
const Aws::String & GetEnvironmentProfileId() const
EnvironmentSummary & WithEnvironmentProfileId(EnvironmentProfileIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API EnvironmentSummary()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAwsAccountRegion(AwsAccountRegionT &&value)
EnvironmentSummary & WithProjectId(ProjectIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue