AWS SDK for C++  1.9.20
AWS SDK for C++
GetOriginRequestPolicy2020_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 {
29  {
30  public:
34 
35 
39  inline const OriginRequestPolicy& GetOriginRequestPolicy() const{ return m_originRequestPolicy; }
40 
44  inline void SetOriginRequestPolicy(const OriginRequestPolicy& value) { m_originRequestPolicy = value; }
45 
49  inline void SetOriginRequestPolicy(OriginRequestPolicy&& value) { m_originRequestPolicy = std::move(value); }
50 
54  inline GetOriginRequestPolicy2020_05_31Result& WithOriginRequestPolicy(const OriginRequestPolicy& value) { SetOriginRequestPolicy(value); return *this;}
55 
59  inline GetOriginRequestPolicy2020_05_31Result& WithOriginRequestPolicy(OriginRequestPolicy&& value) { SetOriginRequestPolicy(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetETag() const{ return m_eTag; }
66 
70  inline void SetETag(const Aws::String& value) { m_eTag = value; }
71 
75  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
76 
80  inline void SetETag(const char* value) { m_eTag.assign(value); }
81 
85  inline GetOriginRequestPolicy2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
86 
90  inline GetOriginRequestPolicy2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
91 
95  inline GetOriginRequestPolicy2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
96 
97  private:
98 
99  OriginRequestPolicy m_originRequestPolicy;
100 
101  Aws::String m_eTag;
102  };
103 
104 } // namespace Model
105 } // namespace CloudFront
106 } // namespace Aws
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::SetOriginRequestPolicy
void SetOriginRequestPolicy(const OriginRequestPolicy &value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:44
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::operator=
GetOriginRequestPolicy2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:80
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::SetOriginRequestPolicy
void SetOriginRequestPolicy(OriginRequestPolicy &&value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:49
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:70
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::WithETag
GetOriginRequestPolicy2020_05_31Result & WithETag(Aws::String &&value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:90
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::WithOriginRequestPolicy
GetOriginRequestPolicy2020_05_31Result & WithOriginRequestPolicy(const OriginRequestPolicy &value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:54
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::GetOriginRequestPolicy2020_05_31Result
GetOriginRequestPolicy2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::WithOriginRequestPolicy
GetOriginRequestPolicy2020_05_31Result & WithOriginRequestPolicy(OriginRequestPolicy &&value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:59
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: GetOriginRequestPolicy2020_05_31Result.h:65
OriginRequestPolicy.h
Aws::CloudFront::Model::OriginRequestPolicy
Definition: OriginRequestPolicy.h:46
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::GetOriginRequestPolicy2020_05_31Result
GetOriginRequestPolicy2020_05_31Result()
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::GetOriginRequestPolicy
const OriginRequestPolicy & GetOriginRequestPolicy() const
Definition: GetOriginRequestPolicy2020_05_31Result.h:39
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::WithETag
GetOriginRequestPolicy2020_05_31Result & WithETag(const Aws::String &value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:85
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result
Definition: GetOriginRequestPolicy2020_05_31Result.h:29
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::WithETag
GetOriginRequestPolicy2020_05_31Result & WithETag(const char *value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:95
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetOriginRequestPolicy2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: GetOriginRequestPolicy2020_05_31Result.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97