AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeploymentStyle.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentOption.h>
9#include <aws/codedeploy/model/DeploymentType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeDeploy {
21namespace Model {
22
31 public:
32 AWS_CODEDEPLOY_API DeploymentStyle() = default;
33 AWS_CODEDEPLOY_API DeploymentStyle(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
43 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
44 inline void SetDeploymentType(DeploymentType value) {
45 m_deploymentTypeHasBeenSet = true;
46 m_deploymentType = value;
47 }
49 SetDeploymentType(value);
50 return *this;
51 }
53
55
58 inline DeploymentOption GetDeploymentOption() const { return m_deploymentOption; }
59 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
61 m_deploymentOptionHasBeenSet = true;
62 m_deploymentOption = value;
63 }
66 return *this;
67 }
69 private:
71
73 bool m_deploymentTypeHasBeenSet = false;
74 bool m_deploymentOptionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CodeDeploy
79} // namespace Aws
AWS_CODEDEPLOY_API DeploymentStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentOption(DeploymentOption value)
DeploymentStyle & WithDeploymentOption(DeploymentOption value)
AWS_CODEDEPLOY_API DeploymentStyle()=default
AWS_CODEDEPLOY_API DeploymentStyle(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentType(DeploymentType value)
DeploymentStyle & WithDeploymentType(DeploymentType value)
DeploymentOption GetDeploymentOption() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue