AWS SDK for C++

AWS SDK for C++ Version 1.11.939

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#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace CodeDeploy {
21namespace Model {
22
31 public:
32 AWS_CODEDEPLOY_API DeploymentStyle() = default;
33 AWS_CODEDEPLOY_API DeploymentStyle(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CODEDEPLOY_API DeploymentStyle& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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
void SetDeploymentOption(DeploymentOption value)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
DeploymentStyle & WithDeploymentOption(DeploymentOption value)
AWS_CODEDEPLOY_API DeploymentStyle()=default
void SetDeploymentType(DeploymentType value)
DeploymentStyle & WithDeploymentType(DeploymentType value)
DeploymentOption GetDeploymentOption() const
AWS_CODEDEPLOY_API DeploymentStyle(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEDEPLOY_API DeploymentStyle & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)