7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/model/ComponentState.h>
9#include <aws/proton/model/EnvironmentState.h>
10#include <aws/proton/model/ServiceInstanceState.h>
11#include <aws/proton/model/ServicePipelineState.h>
50 template<
typename ComponentT = ComponentState>
51 void SetComponent(ComponentT&& value) { m_componentHasBeenSet =
true; m_component = std::forward<ComponentT>(value); }
52 template<
typename ComponentT = ComponentState>
62 template<
typename EnvironmentT = EnvironmentState>
63 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
64 template<
typename EnvironmentT = EnvironmentState>
74 template<
typename ServiceInstanceT = ServiceInstanceState>
75 void SetServiceInstance(ServiceInstanceT&& value) { m_serviceInstanceHasBeenSet =
true; m_serviceInstance = std::forward<ServiceInstanceT>(value); }
76 template<
typename ServiceInstanceT = ServiceInstanceState>
86 template<
typename ServicePipelineT = ServicePipelineState>
87 void SetServicePipeline(ServicePipelineT&& value) { m_servicePipelineHasBeenSet =
true; m_servicePipeline = std::forward<ServicePipelineT>(value); }
88 template<
typename ServicePipelineT = ServicePipelineState>
94 bool m_componentHasBeenSet =
false;
97 bool m_environmentHasBeenSet =
false;
100 bool m_serviceInstanceHasBeenSet =
false;
103 bool m_servicePipelineHasBeenSet =
false;
const EnvironmentState & GetEnvironment() const
DeploymentState & WithComponent(ComponentT &&value)
AWS_PROTON_API DeploymentState()=default
void SetServiceInstance(ServiceInstanceT &&value)
const ServicePipelineState & GetServicePipeline() const
bool ServiceInstanceHasBeenSet() const
const ComponentState & GetComponent() const
DeploymentState & WithServiceInstance(ServiceInstanceT &&value)
DeploymentState & WithEnvironment(EnvironmentT &&value)
bool ServicePipelineHasBeenSet() const
bool EnvironmentHasBeenSet() const
void SetComponent(ComponentT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnvironment(EnvironmentT &&value)
const ServiceInstanceState & GetServiceInstance() const
AWS_PROTON_API DeploymentState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ComponentHasBeenSet() const
AWS_PROTON_API DeploymentState(Aws::Utils::Json::JsonView jsonValue)
void SetServicePipeline(ServicePipelineT &&value)
DeploymentState & WithServicePipeline(ServicePipelineT &&value)
Aws::Utils::Json::JsonValue JsonValue