AWS SDK for C++  1.9.20
AWS SDK for C++
DistributionConfigWithTags.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const DistributionConfig& GetDistributionConfig() const{ return m_distributionConfig; }
46 
50  inline bool DistributionConfigHasBeenSet() const { return m_distributionConfigHasBeenSet; }
51 
55  inline void SetDistributionConfig(const DistributionConfig& value) { m_distributionConfigHasBeenSet = true; m_distributionConfig = value; }
56 
60  inline void SetDistributionConfig(DistributionConfig&& value) { m_distributionConfigHasBeenSet = true; m_distributionConfig = std::move(value); }
61 
65  inline DistributionConfigWithTags& WithDistributionConfig(const DistributionConfig& value) { SetDistributionConfig(value); return *this;}
66 
70  inline DistributionConfigWithTags& WithDistributionConfig(DistributionConfig&& value) { SetDistributionConfig(std::move(value)); return *this;}
71 
72 
76  inline const Tags& GetTags() const{ return m_tags; }
77 
81  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 
86  inline void SetTags(const Tags& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 
91  inline void SetTags(Tags&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
92 
96  inline DistributionConfigWithTags& WithTags(const Tags& value) { SetTags(value); return *this;}
97 
101  inline DistributionConfigWithTags& WithTags(Tags&& value) { SetTags(std::move(value)); return *this;}
102 
103  private:
104 
105  DistributionConfig m_distributionConfig;
106  bool m_distributionConfigHasBeenSet;
107 
108  Tags m_tags;
109  bool m_tagsHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace CloudFront
114 } // namespace Aws
Aws::CloudFront::Model::DistributionConfigWithTags::operator=
DistributionConfigWithTags & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::DistributionConfigWithTags::WithDistributionConfig
DistributionConfigWithTags & WithDistributionConfig(DistributionConfig &&value)
Definition: DistributionConfigWithTags.h:70
Aws::CloudFront::Model::DistributionConfigWithTags::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: DistributionConfigWithTags.h:81
Aws::CloudFront::Model::DistributionConfigWithTags::SetDistributionConfig
void SetDistributionConfig(const DistributionConfig &value)
Definition: DistributionConfigWithTags.h:55
Tags.h
Aws::CloudFront::Model::DistributionConfigWithTags::WithTags
DistributionConfigWithTags & WithTags(Tags &&value)
Definition: DistributionConfigWithTags.h:101
Aws::CloudFront::Model::DistributionConfigWithTags::DistributionConfigWithTags
DistributionConfigWithTags()
DistributionConfig.h
Aws::CloudFront::Model::DistributionConfigWithTags::DistributionConfigWithTags
DistributionConfigWithTags(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::DistributionConfigWithTags
Definition: DistributionConfigWithTags.h:33
Aws::CloudFront::Model::DistributionConfigWithTags::SetTags
void SetTags(const Tags &value)
Definition: DistributionConfigWithTags.h:86
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::DistributionConfigWithTags::SetTags
void SetTags(Tags &&value)
Definition: DistributionConfigWithTags.h:91
Aws::CloudFront::Model::DistributionConfigWithTags::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::DistributionConfigWithTags::SetDistributionConfig
void SetDistributionConfig(DistributionConfig &&value)
Definition: DistributionConfigWithTags.h:60
CloudFront_EXPORTS.h
Aws::CloudFront::Model::DistributionConfigWithTags::GetTags
const Tags & GetTags() const
Definition: DistributionConfigWithTags.h:76
Aws::CloudFront::Model::DistributionConfig
Definition: DistributionConfig.h:42
Aws::CloudFront::Model::DistributionConfigWithTags::GetDistributionConfig
const DistributionConfig & GetDistributionConfig() const
Definition: DistributionConfigWithTags.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::DistributionConfigWithTags::DistributionConfigHasBeenSet
bool DistributionConfigHasBeenSet() const
Definition: DistributionConfigWithTags.h:50
Aws::CloudFront::Model::DistributionConfigWithTags::WithTags
DistributionConfigWithTags & WithTags(const Tags &value)
Definition: DistributionConfigWithTags.h:96
Aws::CloudFront::Model::Tags
Definition: Tags.h:33
Aws::CloudFront::Model::DistributionConfigWithTags::WithDistributionConfig
DistributionConfigWithTags & WithDistributionConfig(const DistributionConfig &value)
Definition: DistributionConfigWithTags.h:65