AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeploymentStyle.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeDeploy
23{
24namespace Model
25{
26
35 {
36 public:
41
42
47 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
48
53 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
54
59 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
60
65 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
66
71 inline DeploymentStyle& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
72
77 inline DeploymentStyle& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
78
79
83 inline const DeploymentOption& GetDeploymentOption() const{ return m_deploymentOption; }
84
88 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
89
93 inline void SetDeploymentOption(const DeploymentOption& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = value; }
94
98 inline void SetDeploymentOption(DeploymentOption&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::move(value); }
99
103 inline DeploymentStyle& WithDeploymentOption(const DeploymentOption& value) { SetDeploymentOption(value); return *this;}
104
108 inline DeploymentStyle& WithDeploymentOption(DeploymentOption&& value) { SetDeploymentOption(std::move(value)); return *this;}
109
110 private:
111
112 DeploymentType m_deploymentType;
113 bool m_deploymentTypeHasBeenSet = false;
114
115 DeploymentOption m_deploymentOption;
116 bool m_deploymentOptionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace CodeDeploy
121} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API DeploymentStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentStyle & WithDeploymentOption(DeploymentOption &&value)
DeploymentStyle & WithDeploymentType(DeploymentType &&value)
const DeploymentType & GetDeploymentType() const
void SetDeploymentType(const DeploymentType &value)
DeploymentStyle & WithDeploymentOption(const DeploymentOption &value)
DeploymentStyle & WithDeploymentType(const DeploymentType &value)
AWS_CODEDEPLOY_API DeploymentStyle(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentOption(DeploymentOption &&value)
void SetDeploymentType(DeploymentType &&value)
const DeploymentOption & GetDeploymentOption() const
void SetDeploymentOption(const DeploymentOption &value)