AWS SDK for C++  1.9.21
AWS SDK for C++
CreateStreamingDistributionWithTags2020_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 CreateStreamingDistributionWithTags2020_05_31Result& WithStreamingDistribution(const StreamingDistribution& value) { SetStreamingDistribution(value); return *this;}
61 
65  inline CreateStreamingDistributionWithTags2020_05_31Result& WithStreamingDistribution(StreamingDistribution&& value) { SetStreamingDistribution(std::move(value)); return *this;}
66 
67 
72  inline const Aws::String& GetLocation() const{ return m_location; }
73 
78  inline void SetLocation(const Aws::String& value) { m_location = value; }
79 
84  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
85 
90  inline void SetLocation(const char* value) { m_location.assign(value); }
91 
96  inline CreateStreamingDistributionWithTags2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
97 
102  inline CreateStreamingDistributionWithTags2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
103 
108  inline CreateStreamingDistributionWithTags2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;}
109 
110 
114  inline const Aws::String& GetETag() const{ return m_eTag; }
115 
119  inline void SetETag(const Aws::String& value) { m_eTag = value; }
120 
124  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
125 
129  inline void SetETag(const char* value) { m_eTag.assign(value); }
130 
134  inline CreateStreamingDistributionWithTags2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
135 
139  inline CreateStreamingDistributionWithTags2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
140 
144  inline CreateStreamingDistributionWithTags2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
145 
146  private:
147 
148  StreamingDistribution m_streamingDistribution;
149 
150  Aws::String m_location;
151 
152  Aws::String m_eTag;
153  };
154 
155 } // namespace Model
156 } // namespace CloudFront
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetStreamingDistribution
void SetStreamingDistribution(StreamingDistribution &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:55
StreamingDistribution.h
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithLocation
CreateStreamingDistributionWithTags2020_05_31Result & WithLocation(Aws::String &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:102
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithETag
CreateStreamingDistributionWithTags2020_05_31Result & WithETag(Aws::String &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:139
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithETag
CreateStreamingDistributionWithTags2020_05_31Result & WithETag(const Aws::String &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:134
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithETag
CreateStreamingDistributionWithTags2020_05_31Result & WithETag(const char *value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:144
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:124
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithLocation
CreateStreamingDistributionWithTags2020_05_31Result & WithLocation(const char *value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:108
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetLocation
void SetLocation(const char *value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:90
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:35
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::GetLocation
const Aws::String & GetLocation() const
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:72
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetStreamingDistribution
void SetStreamingDistribution(const StreamingDistribution &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:50
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithStreamingDistribution
CreateStreamingDistributionWithTags2020_05_31Result & WithStreamingDistribution(const StreamingDistribution &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:60
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:114
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::CreateStreamingDistributionWithTags2020_05_31Result
CreateStreamingDistributionWithTags2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:78
AWSString.h
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithStreamingDistribution
CreateStreamingDistributionWithTags2020_05_31Result & WithStreamingDistribution(StreamingDistribution &&value)
Definition: CreateStreamingDistributionWithTags2020_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::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::operator=
CreateStreamingDistributionWithTags2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:84
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::WithLocation
CreateStreamingDistributionWithTags2020_05_31Result & WithLocation(const Aws::String &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:96
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::GetStreamingDistribution
const StreamingDistribution & GetStreamingDistribution() const
Definition: CreateStreamingDistributionWithTags2020_05_31Result.h:45
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Result::CreateStreamingDistributionWithTags2020_05_31Result
CreateStreamingDistributionWithTags2020_05_31Result()