AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinuousDeploymentPolicyConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/StagingDistributionDnsNames.h>
9#include <aws/cloudfront/model/TrafficConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const StagingDistributionDnsNames& GetStagingDistributionDnsNames() const{ return m_stagingDistributionDnsNames; }
48 inline bool StagingDistributionDnsNamesHasBeenSet() const { return m_stagingDistributionDnsNamesHasBeenSet; }
49 inline void SetStagingDistributionDnsNames(const StagingDistributionDnsNames& value) { m_stagingDistributionDnsNamesHasBeenSet = true; m_stagingDistributionDnsNames = value; }
50 inline void SetStagingDistributionDnsNames(StagingDistributionDnsNames&& value) { m_stagingDistributionDnsNamesHasBeenSet = true; m_stagingDistributionDnsNames = std::move(value); }
54
56
62 inline bool GetEnabled() const{ return m_enabled; }
63 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
64 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
65 inline ContinuousDeploymentPolicyConfig& WithEnabled(bool value) { SetEnabled(value); return *this;}
67
69
73 inline const TrafficConfig& GetTrafficConfig() const{ return m_trafficConfig; }
74 inline bool TrafficConfigHasBeenSet() const { return m_trafficConfigHasBeenSet; }
75 inline void SetTrafficConfig(const TrafficConfig& value) { m_trafficConfigHasBeenSet = true; m_trafficConfig = value; }
76 inline void SetTrafficConfig(TrafficConfig&& value) { m_trafficConfigHasBeenSet = true; m_trafficConfig = std::move(value); }
78 inline ContinuousDeploymentPolicyConfig& WithTrafficConfig(TrafficConfig&& value) { SetTrafficConfig(std::move(value)); return *this;}
80 private:
81
82 StagingDistributionDnsNames m_stagingDistributionDnsNames;
83 bool m_stagingDistributionDnsNamesHasBeenSet = false;
84
85 bool m_enabled;
86 bool m_enabledHasBeenSet = false;
87
88 TrafficConfig m_trafficConfig;
89 bool m_trafficConfigHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudFront
94} // namespace Aws
ContinuousDeploymentPolicyConfig & WithStagingDistributionDnsNames(StagingDistributionDnsNames &&value)
ContinuousDeploymentPolicyConfig & WithStagingDistributionDnsNames(const StagingDistributionDnsNames &value)
const StagingDistributionDnsNames & GetStagingDistributionDnsNames() const
ContinuousDeploymentPolicyConfig & WithTrafficConfig(TrafficConfig &&value)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ContinuousDeploymentPolicyConfig & WithTrafficConfig(const TrafficConfig &value)
void SetStagingDistributionDnsNames(const StagingDistributionDnsNames &value)