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

For a multi-location container fleet, describes the progress of a deployment * across all fleet locations.

See Also:

AWS * API Reference

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

The status of fleet deployment activity in the location.

  • * IN_PROGRESS -- The deployment is in progress.

  • * IMPAIRED -- The deployment failed and the fleet has some impaired * containers.

  • COMPLETE -- The deployment has * completed successfully.

  • ROLLBACK_IN_PROGRESS -- * The deployment failed and rollback has been initiated.

  • * ROLLBACK_IN_COMPLETE -- The deployment failed and rollback has been * completed.

  • CANCELLED -- The deployment was * cancelled.

*/ inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; } inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; } inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; } inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); } inline LocationalDeployment& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;} inline LocationalDeployment& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;} ///@} private: DeploymentStatus m_deploymentStatus; bool m_deploymentStatusHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws