/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The detailed data about the current state of the deployment.See
* Also:
AWS
* API Reference
The state of the component associated with the deployment.
*/ inline const ComponentState& GetComponent() const{ return m_component; } /** *The state of the component associated with the deployment.
*/ inline bool ComponentHasBeenSet() const { return m_componentHasBeenSet; } /** *The state of the component associated with the deployment.
*/ inline void SetComponent(const ComponentState& value) { m_componentHasBeenSet = true; m_component = value; } /** *The state of the component associated with the deployment.
*/ inline void SetComponent(ComponentState&& value) { m_componentHasBeenSet = true; m_component = std::move(value); } /** *The state of the component associated with the deployment.
*/ inline DeploymentState& WithComponent(const ComponentState& value) { SetComponent(value); return *this;} /** *The state of the component associated with the deployment.
*/ inline DeploymentState& WithComponent(ComponentState&& value) { SetComponent(std::move(value)); return *this;} /** *The state of the environment associated with the deployment.
*/ inline const EnvironmentState& GetEnvironment() const{ return m_environment; } /** *The state of the environment associated with the deployment.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *The state of the environment associated with the deployment.
*/ inline void SetEnvironment(const EnvironmentState& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *The state of the environment associated with the deployment.
*/ inline void SetEnvironment(EnvironmentState&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *The state of the environment associated with the deployment.
*/ inline DeploymentState& WithEnvironment(const EnvironmentState& value) { SetEnvironment(value); return *this;} /** *The state of the environment associated with the deployment.
*/ inline DeploymentState& WithEnvironment(EnvironmentState&& value) { SetEnvironment(std::move(value)); return *this;} /** *The state of the service instance associated with the deployment.
*/ inline const ServiceInstanceState& GetServiceInstance() const{ return m_serviceInstance; } /** *The state of the service instance associated with the deployment.
*/ inline bool ServiceInstanceHasBeenSet() const { return m_serviceInstanceHasBeenSet; } /** *The state of the service instance associated with the deployment.
*/ inline void SetServiceInstance(const ServiceInstanceState& value) { m_serviceInstanceHasBeenSet = true; m_serviceInstance = value; } /** *The state of the service instance associated with the deployment.
*/ inline void SetServiceInstance(ServiceInstanceState&& value) { m_serviceInstanceHasBeenSet = true; m_serviceInstance = std::move(value); } /** *The state of the service instance associated with the deployment.
*/ inline DeploymentState& WithServiceInstance(const ServiceInstanceState& value) { SetServiceInstance(value); return *this;} /** *The state of the service instance associated with the deployment.
*/ inline DeploymentState& WithServiceInstance(ServiceInstanceState&& value) { SetServiceInstance(std::move(value)); return *this;} /** *The state of the service pipeline associated with the deployment.
*/ inline const ServicePipelineState& GetServicePipeline() const{ return m_servicePipeline; } /** *The state of the service pipeline associated with the deployment.
*/ inline bool ServicePipelineHasBeenSet() const { return m_servicePipelineHasBeenSet; } /** *The state of the service pipeline associated with the deployment.
*/ inline void SetServicePipeline(const ServicePipelineState& value) { m_servicePipelineHasBeenSet = true; m_servicePipeline = value; } /** *The state of the service pipeline associated with the deployment.
*/ inline void SetServicePipeline(ServicePipelineState&& value) { m_servicePipelineHasBeenSet = true; m_servicePipeline = std::move(value); } /** *The state of the service pipeline associated with the deployment.
*/ inline DeploymentState& WithServicePipeline(const ServicePipelineState& value) { SetServicePipeline(value); return *this;} /** *The state of the service pipeline associated with the deployment.
*/ inline DeploymentState& WithServicePipeline(ServicePipelineState&& value) { SetServicePipeline(std::move(value)); return *this;} private: ComponentState m_component; bool m_componentHasBeenSet = false; EnvironmentState m_environment; bool m_environmentHasBeenSet = false; ServiceInstanceState m_serviceInstance; bool m_serviceInstanceHasBeenSet = false; ServicePipelineState m_servicePipeline; bool m_servicePipelineHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws