AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentStyle.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentType.h>
9#include <aws/codedeploy/model/DeploymentOption.h>
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:
37 AWS_CODEDEPLOY_API DeploymentStyle();
38 AWS_CODEDEPLOY_API DeploymentStyle(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
49 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
50 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
51 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
52 inline DeploymentStyle& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
53 inline DeploymentStyle& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
55
57
60 inline const DeploymentOption& GetDeploymentOption() const{ return m_deploymentOption; }
61 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
62 inline void SetDeploymentOption(const DeploymentOption& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = value; }
63 inline void SetDeploymentOption(DeploymentOption&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::move(value); }
64 inline DeploymentStyle& WithDeploymentOption(const DeploymentOption& value) { SetDeploymentOption(value); return *this;}
65 inline DeploymentStyle& WithDeploymentOption(DeploymentOption&& value) { SetDeploymentOption(std::move(value)); return *this;}
67 private:
68
69 DeploymentType m_deploymentType;
70 bool m_deploymentTypeHasBeenSet = false;
71
72 DeploymentOption m_deploymentOption;
73 bool m_deploymentOptionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeDeploy
78} // namespace Aws
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)
Aws::Utils::Json::JsonValue JsonValue