AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlueGreenDeploymentConfiguration.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/BlueInstanceTerminationOption.h>
9#include <aws/codedeploy/model/DeploymentReadyOption.h>
10#include <aws/codedeploy/model/GreenFleetProvisioningOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeDeploy
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const BlueInstanceTerminationOption& GetTerminateBlueInstancesOnDeploymentSuccess() const{ return m_terminateBlueInstancesOnDeploymentSuccess; }
49 inline bool TerminateBlueInstancesOnDeploymentSuccessHasBeenSet() const { return m_terminateBlueInstancesOnDeploymentSuccessHasBeenSet; }
50 inline void SetTerminateBlueInstancesOnDeploymentSuccess(const BlueInstanceTerminationOption& value) { m_terminateBlueInstancesOnDeploymentSuccessHasBeenSet = true; m_terminateBlueInstancesOnDeploymentSuccess = value; }
51 inline void SetTerminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOption&& value) { m_terminateBlueInstancesOnDeploymentSuccessHasBeenSet = true; m_terminateBlueInstancesOnDeploymentSuccess = std::move(value); }
55
57
61 inline const DeploymentReadyOption& GetDeploymentReadyOption() const{ return m_deploymentReadyOption; }
62 inline bool DeploymentReadyOptionHasBeenSet() const { return m_deploymentReadyOptionHasBeenSet; }
63 inline void SetDeploymentReadyOption(const DeploymentReadyOption& value) { m_deploymentReadyOptionHasBeenSet = true; m_deploymentReadyOption = value; }
64 inline void SetDeploymentReadyOption(DeploymentReadyOption&& value) { m_deploymentReadyOptionHasBeenSet = true; m_deploymentReadyOption = std::move(value); }
68
70
74 inline const GreenFleetProvisioningOption& GetGreenFleetProvisioningOption() const{ return m_greenFleetProvisioningOption; }
75 inline bool GreenFleetProvisioningOptionHasBeenSet() const { return m_greenFleetProvisioningOptionHasBeenSet; }
76 inline void SetGreenFleetProvisioningOption(const GreenFleetProvisioningOption& value) { m_greenFleetProvisioningOptionHasBeenSet = true; m_greenFleetProvisioningOption = value; }
77 inline void SetGreenFleetProvisioningOption(GreenFleetProvisioningOption&& value) { m_greenFleetProvisioningOptionHasBeenSet = true; m_greenFleetProvisioningOption = std::move(value); }
81 private:
82
83 BlueInstanceTerminationOption m_terminateBlueInstancesOnDeploymentSuccess;
84 bool m_terminateBlueInstancesOnDeploymentSuccessHasBeenSet = false;
85
86 DeploymentReadyOption m_deploymentReadyOption;
87 bool m_deploymentReadyOptionHasBeenSet = false;
88
89 GreenFleetProvisioningOption m_greenFleetProvisioningOption;
90 bool m_greenFleetProvisioningOptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CodeDeploy
95} // namespace Aws
BlueGreenDeploymentConfiguration & WithTerminateBlueInstancesOnDeploymentSuccess(const BlueInstanceTerminationOption &value)
AWS_CODEDEPLOY_API BlueGreenDeploymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
BlueGreenDeploymentConfiguration & WithGreenFleetProvisioningOption(const GreenFleetProvisioningOption &value)
BlueGreenDeploymentConfiguration & WithGreenFleetProvisioningOption(GreenFleetProvisioningOption &&value)
void SetTerminateBlueInstancesOnDeploymentSuccess(const BlueInstanceTerminationOption &value)
BlueGreenDeploymentConfiguration & WithTerminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOption &&value)
const GreenFleetProvisioningOption & GetGreenFleetProvisioningOption() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEDEPLOY_API BlueGreenDeploymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTerminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOption &&value)
void SetGreenFleetProvisioningOption(const GreenFleetProvisioningOption &value)
const BlueInstanceTerminationOption & GetTerminateBlueInstancesOnDeploymentSuccess() const
BlueGreenDeploymentConfiguration & WithDeploymentReadyOption(const DeploymentReadyOption &value)
BlueGreenDeploymentConfiguration & WithDeploymentReadyOption(DeploymentReadyOption &&value)
void SetGreenFleetProvisioningOption(GreenFleetProvisioningOption &&value)
Aws::Utils::Json::JsonValue JsonValue