AWS SDK for C++  1.9.16
AWS SDK for C++
GetStreamingDistributionConfig2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace CloudFront
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
46 
50  inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfig = value; }
51 
55  inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfig = std::move(value); }
56 
60  inline GetStreamingDistributionConfig2020_05_31Result& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;}
61 
65  inline GetStreamingDistributionConfig2020_05_31Result& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(std::move(value)); return *this;}
66 
67 
72  inline const Aws::String& GetETag() const{ return m_eTag; }
73 
78  inline void SetETag(const Aws::String& value) { m_eTag = value; }
79 
84  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
85 
90  inline void SetETag(const char* value) { m_eTag.assign(value); }
91 
96  inline GetStreamingDistributionConfig2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
97 
102  inline GetStreamingDistributionConfig2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
103 
108  inline GetStreamingDistributionConfig2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
109 
110  private:
111 
112  StreamingDistributionConfig m_streamingDistributionConfig;
113 
114  Aws::String m_eTag;
115  };
116 
117 } // namespace Model
118 } // namespace CloudFront
119 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:50
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::WithStreamingDistributionConfig
GetStreamingDistributionConfig2020_05_31Result & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:60
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::GetStreamingDistributionConfig2020_05_31Result
GetStreamingDistributionConfig2020_05_31Result()
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:84
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result
Definition: GetStreamingDistributionConfig2020_05_31Result.h:35
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:55
StreamingDistributionConfig.h
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:90
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:78
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::operator=
GetStreamingDistributionConfig2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::WithETag
GetStreamingDistributionConfig2020_05_31Result & WithETag(const Aws::String &value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:96
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::WithETag
GetStreamingDistributionConfig2020_05_31Result & WithETag(Aws::String &&value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::GetStreamingDistributionConfig
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
Definition: GetStreamingDistributionConfig2020_05_31Result.h:45
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::WithStreamingDistributionConfig
GetStreamingDistributionConfig2020_05_31Result & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:65
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: GetStreamingDistributionConfig2020_05_31Result.h:72
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::GetStreamingDistributionConfig2020_05_31Result
GetStreamingDistributionConfig2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Result::WithETag
GetStreamingDistributionConfig2020_05_31Result & WithETag(const char *value)
Definition: GetStreamingDistributionConfig2020_05_31Result.h:108
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37