AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/datazone/model/EnvironmentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API EnvironmentSummary();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
48 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
50 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
51 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
52 inline EnvironmentSummary& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
53 inline EnvironmentSummary& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
54 inline EnvironmentSummary& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
62 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
63 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = value; }
64 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::move(value); }
65 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion.assign(value); }
66 inline EnvironmentSummary& WithAwsAccountRegion(const Aws::String& value) { SetAwsAccountRegion(value); return *this;}
67 inline EnvironmentSummary& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
68 inline EnvironmentSummary& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
79 inline EnvironmentSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline EnvironmentSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
88 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
89 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
90 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
91 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
92 inline EnvironmentSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
93 inline EnvironmentSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
94 inline EnvironmentSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline EnvironmentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline EnvironmentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline EnvironmentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
116 inline const Aws::String& GetDomainId() const{ return m_domainId; }
117 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
118 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
119 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
120 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
121 inline EnvironmentSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
122 inline EnvironmentSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
123 inline EnvironmentSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
125
127
131 inline const Aws::String& GetEnvironmentProfileId() const{ return m_environmentProfileId; }
132 inline bool EnvironmentProfileIdHasBeenSet() const { return m_environmentProfileIdHasBeenSet; }
133 inline void SetEnvironmentProfileId(const Aws::String& value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId = value; }
134 inline void SetEnvironmentProfileId(Aws::String&& value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId = std::move(value); }
135 inline void SetEnvironmentProfileId(const char* value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId.assign(value); }
137 inline EnvironmentSummary& WithEnvironmentProfileId(Aws::String&& value) { SetEnvironmentProfileId(std::move(value)); return *this;}
138 inline EnvironmentSummary& WithEnvironmentProfileId(const char* value) { SetEnvironmentProfileId(value); return *this;}
140
142
145 inline const Aws::String& GetId() const{ return m_id; }
146 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
147 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
148 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
149 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
150 inline EnvironmentSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
151 inline EnvironmentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
152 inline EnvironmentSummary& WithId(const char* value) { SetId(value); return *this;}
154
156
159 inline const Aws::String& GetName() const{ return m_name; }
160 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
161 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
162 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
163 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
164 inline EnvironmentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
165 inline EnvironmentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
166 inline EnvironmentSummary& WithName(const char* value) { SetName(value); return *this;}
168
170
173 inline const Aws::String& GetProjectId() const{ return m_projectId; }
174 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
175 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
176 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
177 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
178 inline EnvironmentSummary& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
179 inline EnvironmentSummary& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
180 inline EnvironmentSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;}
182
184
187 inline const Aws::String& GetProvider() const{ return m_provider; }
188 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
189 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
190 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
191 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
192 inline EnvironmentSummary& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
193 inline EnvironmentSummary& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
194 inline EnvironmentSummary& WithProvider(const char* value) { SetProvider(value); return *this;}
196
198
201 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
202 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
203 inline void SetStatus(const EnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
204 inline void SetStatus(EnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
205 inline EnvironmentSummary& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
206 inline EnvironmentSummary& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
208
210
213 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
214 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
215 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
216 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
217 inline EnvironmentSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
218 inline EnvironmentSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
220 private:
221
222 Aws::String m_awsAccountId;
223 bool m_awsAccountIdHasBeenSet = false;
224
225 Aws::String m_awsAccountRegion;
226 bool m_awsAccountRegionHasBeenSet = false;
227
228 Aws::Utils::DateTime m_createdAt;
229 bool m_createdAtHasBeenSet = false;
230
231 Aws::String m_createdBy;
232 bool m_createdByHasBeenSet = false;
233
234 Aws::String m_description;
235 bool m_descriptionHasBeenSet = false;
236
237 Aws::String m_domainId;
238 bool m_domainIdHasBeenSet = false;
239
240 Aws::String m_environmentProfileId;
241 bool m_environmentProfileIdHasBeenSet = false;
242
243 Aws::String m_id;
244 bool m_idHasBeenSet = false;
245
246 Aws::String m_name;
247 bool m_nameHasBeenSet = false;
248
249 Aws::String m_projectId;
250 bool m_projectIdHasBeenSet = false;
251
252 Aws::String m_provider;
253 bool m_providerHasBeenSet = false;
254
255 EnvironmentStatus m_status;
256 bool m_statusHasBeenSet = false;
257
258 Aws::Utils::DateTime m_updatedAt;
259 bool m_updatedAtHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace DataZone
264} // namespace Aws
void SetAwsAccountRegion(const Aws::String &value)
EnvironmentSummary & WithDescription(const char *value)
EnvironmentSummary & WithStatus(const EnvironmentStatus &value)
EnvironmentSummary & WithAwsAccountId(const Aws::String &value)
EnvironmentSummary & WithDescription(Aws::String &&value)
EnvironmentSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
EnvironmentSummary & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
EnvironmentSummary & WithId(Aws::String &&value)
EnvironmentSummary & WithDescription(const Aws::String &value)
EnvironmentSummary & WithName(const char *value)
void SetCreatedBy(const Aws::String &value)
void SetStatus(const EnvironmentStatus &value)
EnvironmentSummary & WithId(const Aws::String &value)
EnvironmentSummary & WithCreatedBy(Aws::String &&value)
EnvironmentSummary & WithDomainId(const Aws::String &value)
void SetDomainId(const Aws::String &value)
EnvironmentSummary & WithAwsAccountRegion(const char *value)
EnvironmentSummary & WithCreatedBy(const char *value)
EnvironmentSummary & WithProjectId(Aws::String &&value)
EnvironmentSummary & WithProvider(Aws::String &&value)
AWS_DATAZONE_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetEnvironmentProfileId(Aws::String &&value)
const EnvironmentStatus & GetStatus() const
EnvironmentSummary & WithAwsAccountRegion(Aws::String &&value)
AWS_DATAZONE_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithProvider(const char *value)
EnvironmentSummary & WithName(Aws::String &&value)
EnvironmentSummary & WithProjectId(const Aws::String &value)
EnvironmentSummary & WithProvider(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentSummary & WithDomainId(Aws::String &&value)
EnvironmentSummary & WithEnvironmentProfileId(const Aws::String &value)
void SetStatus(EnvironmentStatus &&value)
EnvironmentSummary & WithDomainId(const char *value)
const Aws::String & GetAwsAccountRegion() const
const Aws::String & GetAwsAccountId() const
void SetProvider(const Aws::String &value)
EnvironmentSummary & WithEnvironmentProfileId(Aws::String &&value)
EnvironmentSummary & WithProjectId(const char *value)
EnvironmentSummary & WithAwsAccountId(const char *value)
const Aws::String & GetEnvironmentProfileId() const
void SetDescription(const Aws::String &value)
void SetEnvironmentProfileId(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentSummary & WithCreatedBy(const Aws::String &value)
void SetName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
EnvironmentSummary & WithStatus(EnvironmentStatus &&value)
EnvironmentSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetAwsAccountRegion(Aws::String &&value)
void SetAwsAccountId(const Aws::String &value)
EnvironmentSummary & WithEnvironmentProfileId(const char *value)
EnvironmentSummary & WithAwsAccountId(Aws::String &&value)
EnvironmentSummary & WithAwsAccountRegion(const Aws::String &value)
void SetProjectId(const Aws::String &value)
EnvironmentSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentSummary & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue