/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a summary of a deployed application.See Also:
AWS
* API Reference
The version of the deployed application.
*/ inline int GetApplicationVersion() const{ return m_applicationVersion; } /** *The version of the deployed application.
*/ inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } /** *The version of the deployed application.
*/ inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; } /** *The version of the deployed application.
*/ inline DeployedVersionSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;} /** *The status of the deployment.
*/ inline const DeploymentLifecycle& GetStatus() const{ return m_status; } /** *The status of the deployment.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the deployment.
*/ inline void SetStatus(const DeploymentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the deployment.
*/ inline void SetStatus(DeploymentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the deployment.
*/ inline DeployedVersionSummary& WithStatus(const DeploymentLifecycle& value) { SetStatus(value); return *this;} /** *The status of the deployment.
*/ inline DeployedVersionSummary& 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 DeployedVersionSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The reason for the reported status.
*/ inline DeployedVersionSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The reason for the reported status.
*/ inline DeployedVersionSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} private: int m_applicationVersion; bool m_applicationVersionHasBeenSet = false; DeploymentLifecycle m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws