/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { /** *

A subset of information about a specific deployment.

See Also:

* AWS * API Reference

*/ class DeploymentSummary { public: AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary(); AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier of the application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier of the application.

*/ inline DeploymentSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier of the application.

*/ inline DeploymentSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier of the application.

*/ inline DeploymentSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The version of the application.

*/ inline int GetApplicationVersion() const{ return m_applicationVersion; } /** *

The version of the application.

*/ inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } /** *

The version of the application.

*/ inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; } /** *

The version of the application.

*/ inline DeploymentSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;} /** *

The timestamp when the deployment was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The timestamp when the deployment was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The timestamp when the deployment was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The timestamp when the deployment was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The timestamp when the deployment was created.

*/ inline DeploymentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The timestamp when the deployment was created.

*/ inline DeploymentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The unique identifier of the deployment.

*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *

The unique identifier of the deployment.

*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *

The unique identifier of the deployment.

*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *

The unique identifier of the deployment.

*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); } /** *

The unique identifier of the deployment.

*/ inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); } /** *

The unique identifier of the deployment.

*/ inline DeploymentSummary& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *

The unique identifier of the deployment.

*/ inline DeploymentSummary& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *

The unique identifier of the deployment.

*/ inline DeploymentSummary& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;} /** *

The unique identifier of the runtime environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The unique identifier of the runtime environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The unique identifier of the runtime environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The unique identifier of the runtime environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The unique identifier of the runtime environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The unique identifier of the runtime environment.

*/ inline DeploymentSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The unique identifier of the runtime environment.

*/ inline DeploymentSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The unique identifier of the runtime environment.

*/ inline DeploymentSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

The current status of the deployment.

*/ inline const DeploymentLifecycle& GetStatus() const{ return m_status; } /** *

The current status of the deployment.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the deployment.

*/ inline void SetStatus(const DeploymentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the deployment.

*/ inline void SetStatus(DeploymentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the deployment.

*/ inline DeploymentSummary& WithStatus(const DeploymentLifecycle& value) { SetStatus(value); return *this;} /** *

The current status of the deployment.

*/ inline DeploymentSummary& WithStatus(DeploymentLifecycle&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason for the reported status.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The reason for the reported status.

*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *

The reason for the reported status.

*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *

The reason for the reported status.

*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *

The reason for the reported status.

*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *

The reason for the reported status.

*/ inline DeploymentSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The reason for the reported status.

*/ inline DeploymentSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The reason for the reported status.

*/ inline DeploymentSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; int m_applicationVersion; bool m_applicationVersionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_deploymentId; bool m_deploymentIdHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; DeploymentLifecycle m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws