AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingDistribution.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/ActiveTrustedSigners.h>
11#include <aws/cloudfront/model/StreamingDistributionConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFront
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CLOUDFRONT_API StreamingDistribution();
39 AWS_CLOUDFRONT_API StreamingDistribution(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFRONT_API StreamingDistribution& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline StreamingDistribution& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline StreamingDistribution& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline StreamingDistribution& WithId(const char* value) { SetId(value); return *this;}
59
61
66 inline const Aws::String& GetARN() const{ return m_aRN; }
67 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
68 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
69 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
70 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
71 inline StreamingDistribution& WithARN(const Aws::String& value) { SetARN(value); return *this;}
72 inline StreamingDistribution& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
73 inline StreamingDistribution& WithARN(const char* value) { SetARN(value); return *this;}
75
77
82 inline const Aws::String& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
87 inline StreamingDistribution& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
88 inline StreamingDistribution& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
89 inline StreamingDistribution& WithStatus(const char* value) { SetStatus(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
97 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
98 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
99 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
101 inline StreamingDistribution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
103
105
109 inline const Aws::String& GetDomainName() const{ return m_domainName; }
110 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
111 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
112 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
113 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
114 inline StreamingDistribution& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
115 inline StreamingDistribution& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
116 inline StreamingDistribution& WithDomainName(const char* value) { SetDomainName(value); return *this;}
118
120
135 inline const ActiveTrustedSigners& GetActiveTrustedSigners() const{ return m_activeTrustedSigners; }
136 inline bool ActiveTrustedSignersHasBeenSet() const { return m_activeTrustedSignersHasBeenSet; }
137 inline void SetActiveTrustedSigners(const ActiveTrustedSigners& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = value; }
138 inline void SetActiveTrustedSigners(ActiveTrustedSigners&& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = std::move(value); }
142
144
147 inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
148 inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
149 inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
150 inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
154 private:
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 Aws::String m_aRN;
160 bool m_aRNHasBeenSet = false;
161
162 Aws::String m_status;
163 bool m_statusHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastModifiedTime;
166 bool m_lastModifiedTimeHasBeenSet = false;
167
168 Aws::String m_domainName;
169 bool m_domainNameHasBeenSet = false;
170
171 ActiveTrustedSigners m_activeTrustedSigners;
172 bool m_activeTrustedSignersHasBeenSet = false;
173
174 StreamingDistributionConfig m_streamingDistributionConfig;
175 bool m_streamingDistributionConfigHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace CloudFront
180} // namespace Aws
void SetActiveTrustedSigners(ActiveTrustedSigners &&value)
StreamingDistribution & WithActiveTrustedSigners(ActiveTrustedSigners &&value)
StreamingDistribution & WithId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
StreamingDistribution & WithARN(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const ActiveTrustedSigners & GetActiveTrustedSigners() const
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
StreamingDistribution & WithActiveTrustedSigners(const ActiveTrustedSigners &value)
StreamingDistribution & WithDomainName(Aws::String &&value)
StreamingDistribution & WithId(Aws::String &&value)
StreamingDistribution & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
void SetActiveTrustedSigners(const ActiveTrustedSigners &value)
StreamingDistribution & WithDomainName(const char *value)
StreamingDistribution & WithDomainName(const Aws::String &value)
StreamingDistribution & WithId(const char *value)
StreamingDistribution & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
AWS_CLOUDFRONT_API StreamingDistribution & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistribution & WithARN(const Aws::String &value)
StreamingDistribution & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingDistribution & WithStatus(const char *value)
StreamingDistribution & WithARN(Aws::String &&value)
StreamingDistribution & WithStatus(const Aws::String &value)
AWS_CLOUDFRONT_API StreamingDistribution(const Aws::Utils::Xml::XmlNode &xmlNode)
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
StreamingDistribution & WithStatus(Aws::String &&value)
StreamingDistribution & WithLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String