7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/DeploymentStatus.h>
11#include <aws/proton/model/Provisioning.h>
12#include <aws/proton/model/RepositoryBranch.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
64 template <
typename CodebuildRoleArnT = Aws::String>
66 m_codebuildRoleArnHasBeenSet =
true;
67 m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value);
69 template <
typename CodebuildRoleArnT = Aws::String>
89 template <
typename ComponentRoleArnT = Aws::String>
91 m_componentRoleArnHasBeenSet =
true;
92 m_componentRoleArn = std::forward<ComponentRoleArnT>(value);
94 template <
typename ComponentRoleArnT = Aws::String>
107 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 m_createdAtHasBeenSet =
true;
110 m_createdAt = std::forward<CreatedAtT>(value);
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 m_deploymentStatusHasBeenSet =
true;
127 m_deploymentStatus = value;
141 template <
typename DeploymentStatusMessageT = Aws::String>
143 m_deploymentStatusMessageHasBeenSet =
true;
144 m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value);
146 template <
typename DeploymentStatusMessageT = Aws::String>
159 template <
typename DescriptionT = Aws::String>
161 m_descriptionHasBeenSet =
true;
162 m_description = std::forward<DescriptionT>(value);
164 template <
typename DescriptionT = Aws::String>
178 template <
typename EnvironmentAccountConnectionIdT = Aws::String>
180 m_environmentAccountConnectionIdHasBeenSet =
true;
181 m_environmentAccountConnectionId = std::forward<EnvironmentAccountConnectionIdT>(value);
183 template <
typename EnvironmentAccountConnectionIdT = Aws::String>
197 template <
typename EnvironmentAccountIdT = Aws::String>
199 m_environmentAccountIdHasBeenSet =
true;
200 m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value);
202 template <
typename EnvironmentAccountIdT = Aws::String>
215 template <
typename LastAttemptedDeploymentIdT = Aws::String>
217 m_lastAttemptedDeploymentIdHasBeenSet =
true;
218 m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value);
220 template <
typename LastAttemptedDeploymentIdT = Aws::String>
233 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
235 m_lastDeploymentAttemptedAtHasBeenSet =
true;
236 m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value);
238 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
251 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
253 m_lastDeploymentSucceededAtHasBeenSet =
true;
254 m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value);
256 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
269 template <
typename LastSucceededDeploymentIdT = Aws::String>
271 m_lastSucceededDeploymentIdHasBeenSet =
true;
272 m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value);
274 template <
typename LastSucceededDeploymentIdT = Aws::String>
287 template <
typename NameT = Aws::String>
289 m_nameHasBeenSet =
true;
290 m_name = std::forward<NameT>(value);
292 template <
typename NameT = Aws::String>
294 SetName(std::forward<NameT>(value));
306 template <
typename ProtonServiceRoleArnT = Aws::String>
308 m_protonServiceRoleArnHasBeenSet =
true;
309 m_protonServiceRoleArn = std::forward<ProtonServiceRoleArnT>(value);
311 template <
typename ProtonServiceRoleArnT = Aws::String>
326 m_provisioningHasBeenSet =
true;
327 m_provisioning = value;
344 template <
typename ProvisioningRepositoryT = RepositoryBranch>
346 m_provisioningRepositoryHasBeenSet =
true;
347 m_provisioningRepository = std::forward<ProvisioningRepositoryT>(value);
349 template <
typename ProvisioningRepositoryT = RepositoryBranch>
362 template <
typename SpecT = Aws::String>
364 m_specHasBeenSet =
true;
365 m_spec = std::forward<SpecT>(value);
367 template <
typename SpecT = Aws::String>
369 SetSpec(std::forward<SpecT>(value));
380 template <
typename TemplateMajorVersionT = Aws::String>
382 m_templateMajorVersionHasBeenSet =
true;
383 m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value);
385 template <
typename TemplateMajorVersionT = Aws::String>
398 template <
typename TemplateMinorVersionT = Aws::String>
400 m_templateMinorVersionHasBeenSet =
true;
401 m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value);
403 template <
typename TemplateMinorVersionT = Aws::String>
416 template <
typename TemplateNameT = Aws::String>
418 m_templateNameHasBeenSet =
true;
419 m_templateName = std::forward<TemplateNameT>(value);
421 template <
typename TemplateNameT = Aws::String>
460 RepositoryBranch m_provisioningRepository;
469 bool m_arnHasBeenSet =
false;
470 bool m_codebuildRoleArnHasBeenSet =
false;
471 bool m_componentRoleArnHasBeenSet =
false;
472 bool m_createdAtHasBeenSet =
false;
473 bool m_deploymentStatusHasBeenSet =
false;
474 bool m_deploymentStatusMessageHasBeenSet =
false;
475 bool m_descriptionHasBeenSet =
false;
476 bool m_environmentAccountConnectionIdHasBeenSet =
false;
477 bool m_environmentAccountIdHasBeenSet =
false;
478 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
479 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
480 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
481 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
482 bool m_nameHasBeenSet =
false;
483 bool m_protonServiceRoleArnHasBeenSet =
false;
484 bool m_provisioningHasBeenSet =
false;
485 bool m_provisioningRepositoryHasBeenSet =
false;
486 bool m_specHasBeenSet =
false;
487 bool m_templateMajorVersionHasBeenSet =
false;
488 bool m_templateMinorVersionHasBeenSet =
false;
489 bool m_templateNameHasBeenSet =
false;
Environment & WithDeploymentStatus(DeploymentStatus value)
bool CodebuildRoleArnHasBeenSet() const
const Aws::String & GetSpec() const
Environment & WithTemplateMinorVersion(TemplateMinorVersionT &&value)
const Aws::String & GetDescription() const
bool TemplateNameHasBeenSet() const
bool ArnHasBeenSet() const
Environment & WithEnvironmentAccountId(EnvironmentAccountIdT &&value)
bool TemplateMajorVersionHasBeenSet() const
const Aws::String & GetTemplateName() const
void SetProtonServiceRoleArn(ProtonServiceRoleArnT &&value)
const Aws::String & GetEnvironmentAccountConnectionId() const
void SetEnvironmentAccountId(EnvironmentAccountIdT &&value)
bool DescriptionHasBeenSet() const
void SetComponentRoleArn(ComponentRoleArnT &&value)
Environment & WithProvisioningRepository(ProvisioningRepositoryT &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
void SetName(NameT &&value)
Provisioning GetProvisioning() const
Environment & WithTemplateName(TemplateNameT &&value)
void SetProvisioningRepository(ProvisioningRepositoryT &&value)
Environment & WithSpec(SpecT &&value)
bool ComponentRoleArnHasBeenSet() const
bool EnvironmentAccountConnectionIdHasBeenSet() const
Environment & WithArn(ArnT &&value)
void SetEnvironmentAccountConnectionId(EnvironmentAccountConnectionIdT &&value)
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
Environment & WithDescription(DescriptionT &&value)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
const Aws::String & GetLastAttemptedDeploymentId() const
Environment & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
bool DeploymentStatusMessageHasBeenSet() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
Environment & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
Environment & WithCodebuildRoleArn(CodebuildRoleArnT &&value)
const Aws::String & GetTemplateMajorVersion() const
bool LastDeploymentSucceededAtHasBeenSet() const
bool LastDeploymentAttemptedAtHasBeenSet() const
const Aws::String & GetEnvironmentAccountId() const
bool ProvisioningRepositoryHasBeenSet() const
const Aws::String & GetLastSucceededDeploymentId() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetName() const
Environment & WithCreatedAt(CreatedAtT &&value)
Environment & WithProtonServiceRoleArn(ProtonServiceRoleArnT &&value)
bool TemplateMinorVersionHasBeenSet() const
void SetTemplateMinorVersion(TemplateMinorVersionT &&value)
bool EnvironmentAccountIdHasBeenSet() const
bool SpecHasBeenSet() const
const Aws::String & GetCodebuildRoleArn() const
const RepositoryBranch & GetProvisioningRepository() const
Environment & WithName(NameT &&value)
void SetSpec(SpecT &&value)
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Environment & WithProvisioning(Provisioning value)
Environment & WithEnvironmentAccountConnectionId(EnvironmentAccountConnectionIdT &&value)
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
const Aws::String & GetProtonServiceRoleArn() const
bool ProtonServiceRoleArnHasBeenSet() const
void SetArn(ArnT &&value)
void SetTemplateMajorVersion(TemplateMajorVersionT &&value)
DeploymentStatus GetDeploymentStatus() const
bool LastSucceededDeploymentIdHasBeenSet() const
Environment & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
Environment & WithComponentRoleArn(ComponentRoleArnT &&value)
void SetDescription(DescriptionT &&value)
bool LastAttemptedDeploymentIdHasBeenSet() const
bool DeploymentStatusHasBeenSet() const
Environment & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
Environment & WithTemplateMajorVersion(TemplateMajorVersionT &&value)
void SetCodebuildRoleArn(CodebuildRoleArnT &&value)
void SetTemplateName(TemplateNameT &&value)
void SetDeploymentStatus(DeploymentStatus value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetTemplateMinorVersion() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
const Aws::String & GetComponentRoleArn() const
const Aws::String & GetArn() const
bool ProvisioningHasBeenSet() const
AWS_PROTON_API Environment()=default
Environment & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
const Aws::String & GetDeploymentStatusMessage() const
bool NameHasBeenSet() const
void SetProvisioning(Provisioning value)
AWS_PROTON_API Environment(Aws::Utils::Json::JsonView jsonValue)
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