AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Environment.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/DeploymentStatus.h>
11#include <aws/proton/model/Provisioning.h>
12#include <aws/proton/model/RepositoryBranch.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Proton
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_PROTON_API Environment();
40 AWS_PROTON_API Environment(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline Environment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline Environment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline Environment& WithArn(const char* value) { SetArn(value); return *this;}
58
60
64 inline const Aws::String& GetCodebuildRoleArn() const{ return m_codebuildRoleArn; }
65 inline bool CodebuildRoleArnHasBeenSet() const { return m_codebuildRoleArnHasBeenSet; }
66 inline void SetCodebuildRoleArn(const Aws::String& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = value; }
67 inline void SetCodebuildRoleArn(Aws::String&& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = std::move(value); }
68 inline void SetCodebuildRoleArn(const char* value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn.assign(value); }
69 inline Environment& WithCodebuildRoleArn(const Aws::String& value) { SetCodebuildRoleArn(value); return *this;}
70 inline Environment& WithCodebuildRoleArn(Aws::String&& value) { SetCodebuildRoleArn(std::move(value)); return *this;}
71 inline Environment& WithCodebuildRoleArn(const char* value) { SetCodebuildRoleArn(value); return *this;}
73
75
85 inline const Aws::String& GetComponentRoleArn() const{ return m_componentRoleArn; }
86 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
87 inline void SetComponentRoleArn(const Aws::String& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = value; }
88 inline void SetComponentRoleArn(Aws::String&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::move(value); }
89 inline void SetComponentRoleArn(const char* value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn.assign(value); }
90 inline Environment& WithComponentRoleArn(const Aws::String& value) { SetComponentRoleArn(value); return *this;}
91 inline Environment& WithComponentRoleArn(Aws::String&& value) { SetComponentRoleArn(std::move(value)); return *this;}
92 inline Environment& WithComponentRoleArn(const char* value) { SetComponentRoleArn(value); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
100 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
101 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
102 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
103 inline Environment& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
104 inline Environment& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
106
108
111 inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
112 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
113 inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
114 inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
115 inline Environment& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
116 inline Environment& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetDeploymentStatusMessage() const{ return m_deploymentStatusMessage; }
124 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
125 inline void SetDeploymentStatusMessage(const Aws::String& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = value; }
126 inline void SetDeploymentStatusMessage(Aws::String&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::move(value); }
127 inline void SetDeploymentStatusMessage(const char* value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage.assign(value); }
129 inline Environment& WithDeploymentStatusMessage(Aws::String&& value) { SetDeploymentStatusMessage(std::move(value)); return *this;}
130 inline Environment& WithDeploymentStatusMessage(const char* value) { SetDeploymentStatusMessage(value); return *this;}
132
134
137 inline const Aws::String& GetDescription() const{ return m_description; }
138 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
141 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
142 inline Environment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
143 inline Environment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
144 inline Environment& WithDescription(const char* value) { SetDescription(value); return *this;}
146
148
152 inline const Aws::String& GetEnvironmentAccountConnectionId() const{ return m_environmentAccountConnectionId; }
153 inline bool EnvironmentAccountConnectionIdHasBeenSet() const { return m_environmentAccountConnectionIdHasBeenSet; }
154 inline void SetEnvironmentAccountConnectionId(const Aws::String& value) { m_environmentAccountConnectionIdHasBeenSet = true; m_environmentAccountConnectionId = value; }
155 inline void SetEnvironmentAccountConnectionId(Aws::String&& value) { m_environmentAccountConnectionIdHasBeenSet = true; m_environmentAccountConnectionId = std::move(value); }
156 inline void SetEnvironmentAccountConnectionId(const char* value) { m_environmentAccountConnectionIdHasBeenSet = true; m_environmentAccountConnectionId.assign(value); }
159 inline Environment& WithEnvironmentAccountConnectionId(const char* value) { SetEnvironmentAccountConnectionId(value); return *this;}
161
163
167 inline const Aws::String& GetEnvironmentAccountId() const{ return m_environmentAccountId; }
168 inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; }
169 inline void SetEnvironmentAccountId(const Aws::String& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = value; }
170 inline void SetEnvironmentAccountId(Aws::String&& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = std::move(value); }
171 inline void SetEnvironmentAccountId(const char* value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId.assign(value); }
172 inline Environment& WithEnvironmentAccountId(const Aws::String& value) { SetEnvironmentAccountId(value); return *this;}
173 inline Environment& WithEnvironmentAccountId(Aws::String&& value) { SetEnvironmentAccountId(std::move(value)); return *this;}
174 inline Environment& WithEnvironmentAccountId(const char* value) { SetEnvironmentAccountId(value); return *this;}
176
178
181 inline const Aws::String& GetLastAttemptedDeploymentId() const{ return m_lastAttemptedDeploymentId; }
182 inline bool LastAttemptedDeploymentIdHasBeenSet() const { return m_lastAttemptedDeploymentIdHasBeenSet; }
183 inline void SetLastAttemptedDeploymentId(const Aws::String& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = value; }
184 inline void SetLastAttemptedDeploymentId(Aws::String&& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = std::move(value); }
185 inline void SetLastAttemptedDeploymentId(const char* value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId.assign(value); }
187 inline Environment& WithLastAttemptedDeploymentId(Aws::String&& value) { SetLastAttemptedDeploymentId(std::move(value)); return *this;}
188 inline Environment& WithLastAttemptedDeploymentId(const char* value) { SetLastAttemptedDeploymentId(value); return *this;}
190
192
195 inline const Aws::Utils::DateTime& GetLastDeploymentAttemptedAt() const{ return m_lastDeploymentAttemptedAt; }
196 inline bool LastDeploymentAttemptedAtHasBeenSet() const { return m_lastDeploymentAttemptedAtHasBeenSet; }
197 inline void SetLastDeploymentAttemptedAt(const Aws::Utils::DateTime& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = value; }
198 inline void SetLastDeploymentAttemptedAt(Aws::Utils::DateTime&& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = std::move(value); }
202
204
207 inline const Aws::Utils::DateTime& GetLastDeploymentSucceededAt() const{ return m_lastDeploymentSucceededAt; }
208 inline bool LastDeploymentSucceededAtHasBeenSet() const { return m_lastDeploymentSucceededAtHasBeenSet; }
209 inline void SetLastDeploymentSucceededAt(const Aws::Utils::DateTime& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = value; }
210 inline void SetLastDeploymentSucceededAt(Aws::Utils::DateTime&& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = std::move(value); }
214
216
219 inline const Aws::String& GetLastSucceededDeploymentId() const{ return m_lastSucceededDeploymentId; }
220 inline bool LastSucceededDeploymentIdHasBeenSet() const { return m_lastSucceededDeploymentIdHasBeenSet; }
221 inline void SetLastSucceededDeploymentId(const Aws::String& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = value; }
222 inline void SetLastSucceededDeploymentId(Aws::String&& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = std::move(value); }
223 inline void SetLastSucceededDeploymentId(const char* value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId.assign(value); }
225 inline Environment& WithLastSucceededDeploymentId(Aws::String&& value) { SetLastSucceededDeploymentId(std::move(value)); return *this;}
226 inline Environment& WithLastSucceededDeploymentId(const char* value) { SetLastSucceededDeploymentId(value); return *this;}
228
230
233 inline const Aws::String& GetName() const{ return m_name; }
234 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
235 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
236 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
237 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
238 inline Environment& WithName(const Aws::String& value) { SetName(value); return *this;}
239 inline Environment& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
240 inline Environment& WithName(const char* value) { SetName(value); return *this;}
242
244
248 inline const Aws::String& GetProtonServiceRoleArn() const{ return m_protonServiceRoleArn; }
249 inline bool ProtonServiceRoleArnHasBeenSet() const { return m_protonServiceRoleArnHasBeenSet; }
250 inline void SetProtonServiceRoleArn(const Aws::String& value) { m_protonServiceRoleArnHasBeenSet = true; m_protonServiceRoleArn = value; }
251 inline void SetProtonServiceRoleArn(Aws::String&& value) { m_protonServiceRoleArnHasBeenSet = true; m_protonServiceRoleArn = std::move(value); }
252 inline void SetProtonServiceRoleArn(const char* value) { m_protonServiceRoleArnHasBeenSet = true; m_protonServiceRoleArn.assign(value); }
253 inline Environment& WithProtonServiceRoleArn(const Aws::String& value) { SetProtonServiceRoleArn(value); return *this;}
254 inline Environment& WithProtonServiceRoleArn(Aws::String&& value) { SetProtonServiceRoleArn(std::move(value)); return *this;}
255 inline Environment& WithProtonServiceRoleArn(const char* value) { SetProtonServiceRoleArn(value); return *this;}
257
259
263 inline const Provisioning& GetProvisioning() const{ return m_provisioning; }
264 inline bool ProvisioningHasBeenSet() const { return m_provisioningHasBeenSet; }
265 inline void SetProvisioning(const Provisioning& value) { m_provisioningHasBeenSet = true; m_provisioning = value; }
266 inline void SetProvisioning(Provisioning&& value) { m_provisioningHasBeenSet = true; m_provisioning = std::move(value); }
267 inline Environment& WithProvisioning(const Provisioning& value) { SetProvisioning(value); return *this;}
268 inline Environment& WithProvisioning(Provisioning&& value) { SetProvisioning(std::move(value)); return *this;}
270
272
278 inline const RepositoryBranch& GetProvisioningRepository() const{ return m_provisioningRepository; }
279 inline bool ProvisioningRepositoryHasBeenSet() const { return m_provisioningRepositoryHasBeenSet; }
280 inline void SetProvisioningRepository(const RepositoryBranch& value) { m_provisioningRepositoryHasBeenSet = true; m_provisioningRepository = value; }
281 inline void SetProvisioningRepository(RepositoryBranch&& value) { m_provisioningRepositoryHasBeenSet = true; m_provisioningRepository = std::move(value); }
283 inline Environment& WithProvisioningRepository(RepositoryBranch&& value) { SetProvisioningRepository(std::move(value)); return *this;}
285
287
290 inline const Aws::String& GetSpec() const{ return m_spec; }
291 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
292 inline void SetSpec(const Aws::String& value) { m_specHasBeenSet = true; m_spec = value; }
293 inline void SetSpec(Aws::String&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
294 inline void SetSpec(const char* value) { m_specHasBeenSet = true; m_spec.assign(value); }
295 inline Environment& WithSpec(const Aws::String& value) { SetSpec(value); return *this;}
296 inline Environment& WithSpec(Aws::String&& value) { SetSpec(std::move(value)); return *this;}
297 inline Environment& WithSpec(const char* value) { SetSpec(value); return *this;}
299
301
304 inline const Aws::String& GetTemplateMajorVersion() const{ return m_templateMajorVersion; }
305 inline bool TemplateMajorVersionHasBeenSet() const { return m_templateMajorVersionHasBeenSet; }
306 inline void SetTemplateMajorVersion(const Aws::String& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = value; }
307 inline void SetTemplateMajorVersion(Aws::String&& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = std::move(value); }
308 inline void SetTemplateMajorVersion(const char* value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion.assign(value); }
309 inline Environment& WithTemplateMajorVersion(const Aws::String& value) { SetTemplateMajorVersion(value); return *this;}
310 inline Environment& WithTemplateMajorVersion(Aws::String&& value) { SetTemplateMajorVersion(std::move(value)); return *this;}
311 inline Environment& WithTemplateMajorVersion(const char* value) { SetTemplateMajorVersion(value); return *this;}
313
315
318 inline const Aws::String& GetTemplateMinorVersion() const{ return m_templateMinorVersion; }
319 inline bool TemplateMinorVersionHasBeenSet() const { return m_templateMinorVersionHasBeenSet; }
320 inline void SetTemplateMinorVersion(const Aws::String& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = value; }
321 inline void SetTemplateMinorVersion(Aws::String&& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = std::move(value); }
322 inline void SetTemplateMinorVersion(const char* value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion.assign(value); }
323 inline Environment& WithTemplateMinorVersion(const Aws::String& value) { SetTemplateMinorVersion(value); return *this;}
324 inline Environment& WithTemplateMinorVersion(Aws::String&& value) { SetTemplateMinorVersion(std::move(value)); return *this;}
325 inline Environment& WithTemplateMinorVersion(const char* value) { SetTemplateMinorVersion(value); return *this;}
327
329
332 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
333 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
334 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
335 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
336 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
337 inline Environment& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
338 inline Environment& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
339 inline Environment& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
341 private:
342
343 Aws::String m_arn;
344 bool m_arnHasBeenSet = false;
345
346 Aws::String m_codebuildRoleArn;
347 bool m_codebuildRoleArnHasBeenSet = false;
348
349 Aws::String m_componentRoleArn;
350 bool m_componentRoleArnHasBeenSet = false;
351
352 Aws::Utils::DateTime m_createdAt;
353 bool m_createdAtHasBeenSet = false;
354
355 DeploymentStatus m_deploymentStatus;
356 bool m_deploymentStatusHasBeenSet = false;
357
358 Aws::String m_deploymentStatusMessage;
359 bool m_deploymentStatusMessageHasBeenSet = false;
360
361 Aws::String m_description;
362 bool m_descriptionHasBeenSet = false;
363
364 Aws::String m_environmentAccountConnectionId;
365 bool m_environmentAccountConnectionIdHasBeenSet = false;
366
367 Aws::String m_environmentAccountId;
368 bool m_environmentAccountIdHasBeenSet = false;
369
370 Aws::String m_lastAttemptedDeploymentId;
371 bool m_lastAttemptedDeploymentIdHasBeenSet = false;
372
373 Aws::Utils::DateTime m_lastDeploymentAttemptedAt;
374 bool m_lastDeploymentAttemptedAtHasBeenSet = false;
375
376 Aws::Utils::DateTime m_lastDeploymentSucceededAt;
377 bool m_lastDeploymentSucceededAtHasBeenSet = false;
378
379 Aws::String m_lastSucceededDeploymentId;
380 bool m_lastSucceededDeploymentIdHasBeenSet = false;
381
382 Aws::String m_name;
383 bool m_nameHasBeenSet = false;
384
385 Aws::String m_protonServiceRoleArn;
386 bool m_protonServiceRoleArnHasBeenSet = false;
387
388 Provisioning m_provisioning;
389 bool m_provisioningHasBeenSet = false;
390
391 RepositoryBranch m_provisioningRepository;
392 bool m_provisioningRepositoryHasBeenSet = false;
393
394 Aws::String m_spec;
395 bool m_specHasBeenSet = false;
396
397 Aws::String m_templateMajorVersion;
398 bool m_templateMajorVersionHasBeenSet = false;
399
400 Aws::String m_templateMinorVersion;
401 bool m_templateMinorVersionHasBeenSet = false;
402
403 Aws::String m_templateName;
404 bool m_templateNameHasBeenSet = false;
405 };
406
407} // namespace Model
408} // namespace Proton
409} // namespace Aws
Environment & WithSpec(Aws::String &&value)
Environment & WithEnvironmentAccountConnectionId(Aws::String &&value)
Environment & WithTemplateMinorVersion(const Aws::String &value)
void SetLastAttemptedDeploymentId(const char *value)
bool CodebuildRoleArnHasBeenSet() const
Definition Environment.h:65
Environment & WithCodebuildRoleArn(const Aws::String &value)
Definition Environment.h:69
const Aws::String & GetSpec() const
Environment & WithLastAttemptedDeploymentId(const Aws::String &value)
void SetSpec(const char *value)
const Aws::String & GetDescription() const
void SetComponentRoleArn(const char *value)
Definition Environment.h:89
Environment & WithDeploymentStatus(DeploymentStatus &&value)
Environment & WithComponentRoleArn(Aws::String &&value)
Definition Environment.h:91
Environment & WithEnvironmentAccountId(const Aws::String &value)
void SetEnvironmentAccountId(const char *value)
bool TemplateMajorVersionHasBeenSet() const
const Aws::String & GetTemplateName() const
const Aws::String & GetEnvironmentAccountConnectionId() const
void SetProtonServiceRoleArn(Aws::String &&value)
Environment & WithEnvironmentAccountId(const char *value)
Environment & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
void SetEnvironmentAccountId(Aws::String &&value)
void SetCodebuildRoleArn(Aws::String &&value)
Definition Environment.h:67
Environment & WithTemplateMajorVersion(const Aws::String &value)
Environment & WithDescription(const Aws::String &value)
Environment & WithCodebuildRoleArn(const char *value)
Definition Environment.h:71
Environment & WithEnvironmentAccountId(Aws::String &&value)
void SetLastDeploymentAttemptedAt(Aws::Utils::DateTime &&value)
const DeploymentStatus & GetDeploymentStatus() const
bool ComponentRoleArnHasBeenSet() const
Definition Environment.h:86
bool EnvironmentAccountConnectionIdHasBeenSet() const
void SetLastAttemptedDeploymentId(const Aws::String &value)
Environment & WithEnvironmentAccountConnectionId(const Aws::String &value)
void SetTemplateName(const Aws::String &value)
const Provisioning & GetProvisioning() const
void SetTemplateName(Aws::String &&value)
void SetDescription(const char *value)
Environment & WithTemplateName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
Environment & WithComponentRoleArn(const char *value)
Definition Environment.h:92
Environment & WithLastSucceededDeploymentId(Aws::String &&value)
void SetTemplateMinorVersion(const Aws::String &value)
void SetEnvironmentAccountConnectionId(const Aws::String &value)
Environment & WithComponentRoleArn(const Aws::String &value)
Definition Environment.h:90
Environment & WithDeploymentStatusMessage(Aws::String &&value)
void SetProtonServiceRoleArn(const Aws::String &value)
Environment & WithTemplateMajorVersion(const char *value)
Environment & WithLastDeploymentAttemptedAt(Aws::Utils::DateTime &&value)
Environment & WithTemplateMinorVersion(Aws::String &&value)
const Aws::String & GetLastAttemptedDeploymentId() const
Environment & WithEnvironmentAccountConnectionId(const char *value)
void SetTemplateMajorVersion(const char *value)
void SetTemplateName(const char *value)
Environment & WithTemplateName(const Aws::String &value)
void SetArn(const Aws::String &value)
Definition Environment.h:51
Environment & WithName(const char *value)
void SetComponentRoleArn(const Aws::String &value)
Definition Environment.h:87
Environment & WithProtonServiceRoleArn(const Aws::String &value)
bool DeploymentStatusMessageHasBeenSet() const
Environment & WithTemplateMajorVersion(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComponentRoleArn(Aws::String &&value)
Definition Environment.h:88
const Aws::String & GetTemplateMajorVersion() const
bool LastDeploymentSucceededAtHasBeenSet() const
bool LastDeploymentAttemptedAtHasBeenSet() const
const Aws::String & GetEnvironmentAccountId() const
bool ProvisioningRepositoryHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLastSucceededDeploymentId(Aws::String &&value)
Environment & WithProvisioningRepository(RepositoryBranch &&value)
const Aws::String & GetLastSucceededDeploymentId() const
void SetLastAttemptedDeploymentId(Aws::String &&value)
Environment & WithProtonServiceRoleArn(const char *value)
const Aws::String & GetName() const
void SetLastSucceededDeploymentId(const Aws::String &value)
Environment & WithLastSucceededDeploymentId(const Aws::String &value)
Environment & WithLastDeploymentSucceededAt(Aws::Utils::DateTime &&value)
Environment & WithLastSucceededDeploymentId(const char *value)
Environment & WithProtonServiceRoleArn(Aws::String &&value)
void SetProvisioningRepository(const RepositoryBranch &value)
void SetCodebuildRoleArn(const char *value)
Definition Environment.h:68
Environment & WithTemplateName(const char *value)
Environment & WithProvisioning(Provisioning &&value)
Environment & WithDeploymentStatusMessage(const char *value)
bool TemplateMinorVersionHasBeenSet() const
void SetArn(const char *value)
Definition Environment.h:53
bool EnvironmentAccountIdHasBeenSet() const
const Aws::String & GetCodebuildRoleArn() const
Definition Environment.h:64
void SetTemplateMinorVersion(const char *value)
void SetSpec(const Aws::String &value)
Environment & WithArn(const Aws::String &value)
Definition Environment.h:54
void SetDeploymentStatus(const DeploymentStatus &value)
void SetDeploymentStatus(DeploymentStatus &&value)
Environment & WithProvisioning(const Provisioning &value)
Environment & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetProtonServiceRoleArn(const char *value)
void SetSpec(Aws::String &&value)
void SetLastDeploymentSucceededAt(Aws::Utils::DateTime &&value)
Environment & WithDescription(const char *value)
Environment & WithDeploymentStatusMessage(const Aws::String &value)
const RepositoryBranch & GetProvisioningRepository() const
Environment & WithSpec(const char *value)
void SetLastDeploymentSucceededAt(const Aws::Utils::DateTime &value)
Environment & WithName(Aws::String &&value)
void SetProvisioningRepository(RepositoryBranch &&value)
Environment & WithName(const Aws::String &value)
void SetCodebuildRoleArn(const Aws::String &value)
Definition Environment.h:66
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Environment.h:99
void SetName(const char *value)
Environment & WithTemplateMinorVersion(const char *value)
void SetEnvironmentAccountConnectionId(const char *value)
const Aws::String & GetProtonServiceRoleArn() const
bool ProtonServiceRoleArnHasBeenSet() const
void SetProvisioning(const Provisioning &value)
void SetTemplateMinorVersion(Aws::String &&value)
void SetProvisioning(Provisioning &&value)
Environment & WithLastDeploymentAttemptedAt(const Aws::Utils::DateTime &value)
Environment & WithSpec(const Aws::String &value)
void SetLastSucceededDeploymentId(const char *value)
bool LastSucceededDeploymentIdHasBeenSet() const
void SetTemplateMajorVersion(const Aws::String &value)
bool LastAttemptedDeploymentIdHasBeenSet() const
Environment & WithLastAttemptedDeploymentId(Aws::String &&value)
void SetEnvironmentAccountId(const Aws::String &value)
Environment & WithArn(const char *value)
Definition Environment.h:56
Environment & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
Definition Environment.h:52
const Aws::String & GetTemplateMinorVersion() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
const Aws::String & GetComponentRoleArn() const
Definition Environment.h:85
void SetTemplateMajorVersion(Aws::String &&value)
void SetEnvironmentAccountConnectionId(Aws::String &&value)
Environment & WithLastAttemptedDeploymentId(const char *value)
void SetDeploymentStatusMessage(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLastDeploymentAttemptedAt(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetArn() const
Definition Environment.h:49
void SetDeploymentStatusMessage(const char *value)
Environment & WithArn(Aws::String &&value)
Definition Environment.h:55
Environment & WithLastDeploymentSucceededAt(const Aws::Utils::DateTime &value)
Environment & WithCodebuildRoleArn(Aws::String &&value)
Definition Environment.h:70
const Aws::String & GetDeploymentStatusMessage() const
Environment & WithDeploymentStatus(const DeploymentStatus &value)
AWS_PROTON_API Environment(Aws::Utils::Json::JsonView jsonValue)
Environment & WithProvisioningRepository(const RepositoryBranch &value)
void SetDeploymentStatusMessage(Aws::String &&value)
AWS_PROTON_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue