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