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>
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
64 template<
typename CodebuildRoleArnT = Aws::String>
65 void SetCodebuildRoleArn(CodebuildRoleArnT&& value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value); }
66 template<
typename CodebuildRoleArnT = Aws::String>
83 template<
typename ComponentRoleArnT = Aws::String>
84 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
85 template<
typename ComponentRoleArnT = Aws::String>
95 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
117 template<
typename DeploymentStatusMessageT = Aws::String>
118 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet =
true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
119 template<
typename DeploymentStatusMessageT = Aws::String>
129 template<
typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
131 template<
typename DescriptionT = Aws::String>
142 template<
typename EnvironmentAccountConnectionIdT = Aws::String>
143 void SetEnvironmentAccountConnectionId(EnvironmentAccountConnectionIdT&& value) { m_environmentAccountConnectionIdHasBeenSet =
true; m_environmentAccountConnectionId = std::forward<EnvironmentAccountConnectionIdT>(value); }
144 template<
typename EnvironmentAccountConnectionIdT = Aws::String>
155 template<
typename EnvironmentAccountIdT = Aws::String>
156 void SetEnvironmentAccountId(EnvironmentAccountIdT&& value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value); }
157 template<
typename EnvironmentAccountIdT = Aws::String>
167 template<
typename LastAttemptedDeploymentIdT = Aws::String>
168 void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value); }
169 template<
typename LastAttemptedDeploymentIdT = Aws::String>
179 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
180 void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { m_lastDeploymentAttemptedAtHasBeenSet =
true; m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value); }
181 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
191 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
192 void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { m_lastDeploymentSucceededAtHasBeenSet =
true; m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value); }
193 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
203 template<
typename LastSucceededDeploymentIdT = Aws::String>
204 void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value); }
205 template<
typename LastSucceededDeploymentIdT = Aws::String>
215 template<
typename NameT = Aws::String>
216 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
217 template<
typename NameT = Aws::String>
228 template<
typename ProtonServiceRoleArnT = Aws::String>
229 void SetProtonServiceRoleArn(ProtonServiceRoleArnT&& value) { m_protonServiceRoleArnHasBeenSet =
true; m_protonServiceRoleArn = std::forward<ProtonServiceRoleArnT>(value); }
230 template<
typename ProtonServiceRoleArnT = Aws::String>
254 template<
typename ProvisioningRepositoryT = RepositoryBranch>
255 void SetProvisioningRepository(ProvisioningRepositoryT&& value) { m_provisioningRepositoryHasBeenSet =
true; m_provisioningRepository = std::forward<ProvisioningRepositoryT>(value); }
256 template<
typename ProvisioningRepositoryT = RepositoryBranch>
266 template<
typename SpecT = Aws::String>
267 void SetSpec(SpecT&& value) { m_specHasBeenSet =
true; m_spec = std::forward<SpecT>(value); }
268 template<
typename SpecT = Aws::String>
278 template<
typename TemplateMajorVersionT = Aws::String>
279 void SetTemplateMajorVersion(TemplateMajorVersionT&& value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value); }
280 template<
typename TemplateMajorVersionT = Aws::String>
290 template<
typename TemplateMinorVersionT = Aws::String>
291 void SetTemplateMinorVersion(TemplateMinorVersionT&& value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value); }
292 template<
typename TemplateMinorVersionT = Aws::String>
302 template<
typename TemplateNameT = Aws::String>
303 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
304 template<
typename TemplateNameT = Aws::String>
310 bool m_arnHasBeenSet =
false;
313 bool m_codebuildRoleArnHasBeenSet =
false;
316 bool m_componentRoleArnHasBeenSet =
false;
319 bool m_createdAtHasBeenSet =
false;
322 bool m_deploymentStatusHasBeenSet =
false;
325 bool m_deploymentStatusMessageHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
331 bool m_environmentAccountConnectionIdHasBeenSet =
false;
334 bool m_environmentAccountIdHasBeenSet =
false;
337 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
340 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
343 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
346 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
349 bool m_nameHasBeenSet =
false;
352 bool m_protonServiceRoleArnHasBeenSet =
false;
355 bool m_provisioningHasBeenSet =
false;
357 RepositoryBranch m_provisioningRepository;
358 bool m_provisioningRepositoryHasBeenSet =
false;
361 bool m_specHasBeenSet =
false;
364 bool m_templateMajorVersionHasBeenSet =
false;
367 bool m_templateMinorVersionHasBeenSet =
false;
370 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