AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateStreamingDistribution2020_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 StreamingDistribution& GetStreamingDistribution() const{ return m_streamingDistribution; }
46 
50  inline void SetStreamingDistribution(const StreamingDistribution& value) { m_streamingDistribution = value; }
51 
55  inline void SetStreamingDistribution(StreamingDistribution&& value) { m_streamingDistribution = std::move(value); }
56 
60  inline UpdateStreamingDistribution2020_05_31Result& WithStreamingDistribution(const StreamingDistribution& value) { SetStreamingDistribution(value); return *this;}
61 
65  inline UpdateStreamingDistribution2020_05_31Result& WithStreamingDistribution(StreamingDistribution&& value) { SetStreamingDistribution(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 UpdateStreamingDistribution2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
97 
102  inline UpdateStreamingDistribution2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
103 
108  inline UpdateStreamingDistribution2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
109 
110  private:
111 
112  StreamingDistribution m_streamingDistribution;
113 
114  Aws::String m_eTag;
115  };
116 
117 } // namespace Model
118 } // namespace CloudFront
119 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
StreamingDistribution.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::SetStreamingDistribution
void SetStreamingDistribution(const StreamingDistribution &value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:50
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::WithETag
UpdateStreamingDistribution2020_05_31Result & WithETag(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:96
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::UpdateStreamingDistribution2020_05_31Result
UpdateStreamingDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::WithETag
UpdateStreamingDistribution2020_05_31Result & WithETag(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:102
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:90
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::SetStreamingDistribution
void SetStreamingDistribution(StreamingDistribution &&value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:55
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::WithStreamingDistribution
UpdateStreamingDistribution2020_05_31Result & WithStreamingDistribution(const StreamingDistribution &value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:60
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result
Definition: UpdateStreamingDistribution2020_05_31Result.h:35
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: UpdateStreamingDistribution2020_05_31Result.h:72
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::UpdateStreamingDistribution2020_05_31Result
UpdateStreamingDistribution2020_05_31Result()
AWSString.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::operator=
UpdateStreamingDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::GetStreamingDistribution
const StreamingDistribution & GetStreamingDistribution() const
Definition: UpdateStreamingDistribution2020_05_31Result.h:45
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::WithStreamingDistribution
UpdateStreamingDistribution2020_05_31Result & WithStreamingDistribution(StreamingDistribution &&value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:65
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::StreamingDistribution
Definition: StreamingDistribution.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::WithETag
UpdateStreamingDistribution2020_05_31Result & WithETag(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:108
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Result.h:84