AWS SDK for C++  1.9.20
AWS SDK for C++
StreamingDistributionConfigWithTags.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 StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
46 
50  inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
51 
55  inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
56 
60  inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
61 
65  inline StreamingDistributionConfigWithTags& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;}
66 
70  inline StreamingDistributionConfigWithTags& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(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 StreamingDistributionConfigWithTags& WithTags(const Tags& value) { SetTags(value); return *this;}
97 
101  inline StreamingDistributionConfigWithTags& WithTags(Tags&& value) { SetTags(std::move(value)); return *this;}
102 
103  private:
104 
105  StreamingDistributionConfig m_streamingDistributionConfig;
106  bool m_streamingDistributionConfigHasBeenSet;
107 
108  Tags m_tags;
109  bool m_tagsHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace CloudFront
114 } // namespace Aws
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::WithTags
StreamingDistributionConfigWithTags & WithTags(const Tags &value)
Definition: StreamingDistributionConfigWithTags.h:96
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::GetTags
const Tags & GetTags() const
Definition: StreamingDistributionConfigWithTags.h:76
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::WithStreamingDistributionConfig
StreamingDistributionConfigWithTags & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: StreamingDistributionConfigWithTags.h:65
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::operator=
StreamingDistributionConfigWithTags & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::WithStreamingDistributionConfig
StreamingDistributionConfigWithTags & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: StreamingDistributionConfigWithTags.h:70
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::StreamingDistributionConfigWithTags
StreamingDistributionConfigWithTags(const Aws::Utils::Xml::XmlNode &xmlNode)
Tags.h
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::SetTags
void SetTags(const Tags &value)
Definition: StreamingDistributionConfigWithTags.h:86
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::StreamingDistributionConfigWithTags
StreamingDistributionConfigWithTags()
StreamingDistributionConfig.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::StreamingDistributionConfigHasBeenSet
bool StreamingDistributionConfigHasBeenSet() const
Definition: StreamingDistributionConfigWithTags.h:50
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: StreamingDistributionConfigWithTags.h:60
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: StreamingDistributionConfigWithTags.h:55
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::WithTags
StreamingDistributionConfigWithTags & WithTags(Tags &&value)
Definition: StreamingDistributionConfigWithTags.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::StreamingDistributionConfigWithTags
Definition: StreamingDistributionConfigWithTags.h:33
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StreamingDistributionConfigWithTags.h:81
Aws::CloudFront::Model::Tags
Definition: Tags.h:33
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::GetStreamingDistributionConfig
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
Definition: StreamingDistributionConfigWithTags.h:45
Aws::CloudFront::Model::StreamingDistributionConfigWithTags::SetTags
void SetTags(Tags &&value)
Definition: StreamingDistributionConfigWithTags.h:91
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37