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