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>
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); }
68 inline void SetCodebuildRoleArn(
const char* value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn.assign(value); }
89 inline void SetComponentRoleArn(
const char* value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn.assign(value); }
127 inline void SetDeploymentStatusMessage(
const char* value) { m_deploymentStatusMessageHasBeenSet =
true; m_deploymentStatusMessage.assign(value); }
141 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
171 inline void SetEnvironmentAccountId(
const char* value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId.assign(value); }
185 inline void SetLastAttemptedDeploymentId(
const char* value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId.assign(value); }
223 inline void SetLastSucceededDeploymentId(
const char* value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId.assign(value); }
237 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
252 inline void SetProtonServiceRoleArn(
const char* value) { m_protonServiceRoleArnHasBeenSet =
true; m_protonServiceRoleArn.assign(value); }
294 inline void SetSpec(
const char* value) { m_specHasBeenSet =
true; m_spec.assign(value); }
308 inline void SetTemplateMajorVersion(
const char* value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion.assign(value); }
322 inline void SetTemplateMinorVersion(
const char* value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion.assign(value); }
336 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
344 bool m_arnHasBeenSet =
false;
347 bool m_codebuildRoleArnHasBeenSet =
false;
350 bool m_componentRoleArnHasBeenSet =
false;
353 bool m_createdAtHasBeenSet =
false;
356 bool m_deploymentStatusHasBeenSet =
false;
359 bool m_deploymentStatusMessageHasBeenSet =
false;
362 bool m_descriptionHasBeenSet =
false;
365 bool m_environmentAccountConnectionIdHasBeenSet =
false;
368 bool m_environmentAccountIdHasBeenSet =
false;
371 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
374 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
377 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
380 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
383 bool m_nameHasBeenSet =
false;
386 bool m_protonServiceRoleArnHasBeenSet =
false;
389 bool m_provisioningHasBeenSet =
false;
392 bool m_provisioningRepositoryHasBeenSet =
false;
395 bool m_specHasBeenSet =
false;
398 bool m_templateMajorVersionHasBeenSet =
false;
401 bool m_templateMinorVersionHasBeenSet =
false;
404 bool m_templateNameHasBeenSet =
false;
Environment & WithSpec(Aws::String &&value)
Environment & WithEnvironmentAccountConnectionId(Aws::String &&value)
Environment & WithTemplateMinorVersion(const Aws::String &value)
void SetLastAttemptedDeploymentId(const char *value)
bool CodebuildRoleArnHasBeenSet() const
Environment & WithCodebuildRoleArn(const Aws::String &value)
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)
Environment & WithDeploymentStatus(DeploymentStatus &&value)
Environment & WithComponentRoleArn(Aws::String &&value)
bool TemplateNameHasBeenSet() const
bool ArnHasBeenSet() const
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)
bool DescriptionHasBeenSet() const
Environment & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
void SetEnvironmentAccountId(Aws::String &&value)
void SetCodebuildRoleArn(Aws::String &&value)
Environment & WithTemplateMajorVersion(const Aws::String &value)
Environment & WithDescription(const Aws::String &value)
Environment & WithCodebuildRoleArn(const char *value)
Environment & WithEnvironmentAccountId(Aws::String &&value)
void SetLastDeploymentAttemptedAt(Aws::Utils::DateTime &&value)
const DeploymentStatus & GetDeploymentStatus() const
bool ComponentRoleArnHasBeenSet() const
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)
Environment & WithLastSucceededDeploymentId(Aws::String &&value)
void SetTemplateMinorVersion(const Aws::String &value)
void SetEnvironmentAccountConnectionId(const Aws::String &value)
Environment & WithComponentRoleArn(const Aws::String &value)
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)
Environment & WithName(const char *value)
void SetComponentRoleArn(const Aws::String &value)
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)
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)
bool CreatedAtHasBeenSet() const
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)
Environment & WithTemplateName(const char *value)
Environment & WithProvisioning(Provisioning &&value)
Environment & WithDeploymentStatusMessage(const char *value)
bool TemplateMinorVersionHasBeenSet() const
void SetArn(const char *value)
bool EnvironmentAccountIdHasBeenSet() const
bool SpecHasBeenSet() const
const Aws::String & GetCodebuildRoleArn() const
void SetTemplateMinorVersion(const char *value)
void SetSpec(const Aws::String &value)
Environment & WithArn(const Aws::String &value)
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)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(const char *value)
Environment & WithTemplateMinorVersion(const char *value)
void SetEnvironmentAccountConnectionId(const char *value)
AWS_PROTON_API Environment()
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)
bool DeploymentStatusHasBeenSet() const
Environment & WithArn(const char *value)
Environment & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
const Aws::String & GetTemplateMinorVersion() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
const Aws::String & GetComponentRoleArn() const
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
void SetDeploymentStatusMessage(const char *value)
bool ProvisioningHasBeenSet() const
Environment & WithArn(Aws::String &&value)
Environment & WithLastDeploymentSucceededAt(const Aws::Utils::DateTime &value)
Environment & WithCodebuildRoleArn(Aws::String &&value)
const Aws::String & GetDeploymentStatusMessage() const
Environment & WithDeploymentStatus(const DeploymentStatus &value)
bool NameHasBeenSet() const
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