AWS SDK for C++  1.9.129
AWS SDK for C++
CreateDistribution2020_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 Distribution& GetDistribution() const{ return m_distribution; }
46 
50  inline void SetDistribution(const Distribution& value) { m_distribution = value; }
51 
55  inline void SetDistribution(Distribution&& value) { m_distribution = std::move(value); }
56 
60  inline CreateDistribution2020_05_31Result& WithDistribution(const Distribution& value) { SetDistribution(value); return *this;}
61 
65  inline CreateDistribution2020_05_31Result& WithDistribution(Distribution&& value) { SetDistribution(std::move(value)); return *this;}
66 
67 
71  inline const Aws::String& GetLocation() const{ return m_location; }
72 
76  inline void SetLocation(const Aws::String& value) { m_location = value; }
77 
81  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
82 
86  inline void SetLocation(const char* value) { m_location.assign(value); }
87 
91  inline CreateDistribution2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
92 
96  inline CreateDistribution2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
97 
101  inline CreateDistribution2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;}
102 
103 
107  inline const Aws::String& GetETag() const{ return m_eTag; }
108 
112  inline void SetETag(const Aws::String& value) { m_eTag = value; }
113 
117  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
118 
122  inline void SetETag(const char* value) { m_eTag.assign(value); }
123 
127  inline CreateDistribution2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
128 
132  inline CreateDistribution2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
133 
137  inline CreateDistribution2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
138 
139  private:
140 
141  Distribution m_distribution;
142 
143  Aws::String m_location;
144 
145  Aws::String m_eTag;
146  };
147 
148 } // namespace Model
149 } // namespace CloudFront
150 } // namespace Aws
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithDistribution
CreateDistribution2020_05_31Result & WithDistribution(const Distribution &value)
Definition: CreateDistribution2020_05_31Result.h:60
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithETag
CreateDistribution2020_05_31Result & WithETag(const Aws::String &value)
Definition: CreateDistribution2020_05_31Result.h:127
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetDistribution
void SetDistribution(Distribution &&value)
Definition: CreateDistribution2020_05_31Result.h:55
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: CreateDistribution2020_05_31Result.h:107
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithLocation
CreateDistribution2020_05_31Result & WithLocation(Aws::String &&value)
Definition: CreateDistribution2020_05_31Result.h:96
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: CreateDistribution2020_05_31Result.h:117
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithLocation
CreateDistribution2020_05_31Result & WithLocation(const Aws::String &value)
Definition: CreateDistribution2020_05_31Result.h:91
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: CreateDistribution2020_05_31Result.h:112
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithETag
CreateDistribution2020_05_31Result & WithETag(Aws::String &&value)
Definition: CreateDistribution2020_05_31Result.h:132
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::GetDistribution
const Distribution & GetDistribution() const
Definition: CreateDistribution2020_05_31Result.h:45
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithLocation
CreateDistribution2020_05_31Result & WithLocation(const char *value)
Definition: CreateDistribution2020_05_31Result.h:101
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: CreateDistribution2020_05_31Result.h:122
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithETag
CreateDistribution2020_05_31Result & WithETag(const char *value)
Definition: CreateDistribution2020_05_31Result.h:137
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreateDistribution2020_05_31Result.h:76
AWSString.h
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::WithDistribution
CreateDistribution2020_05_31Result & WithDistribution(Distribution &&value)
Definition: CreateDistribution2020_05_31Result.h:65
Aws::CloudFront::Model::CreateDistribution2020_05_31Result
Definition: CreateDistribution2020_05_31Result.h:35
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::GetLocation
const Aws::String & GetLocation() const
Definition: CreateDistribution2020_05_31Result.h:71
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::Distribution
Definition: Distribution.h:39
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetDistribution
void SetDistribution(const Distribution &value)
Definition: CreateDistribution2020_05_31Result.h:50
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetLocation
void SetLocation(const char *value)
Definition: CreateDistribution2020_05_31Result.h:86
Distribution.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::CreateDistribution2020_05_31Result
CreateDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreateDistribution2020_05_31Result.h:81
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::operator=
CreateDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateDistribution2020_05_31Result::CreateDistribution2020_05_31Result
CreateDistribution2020_05_31Result()