AWS SDK for C++  1.9.21
AWS SDK for C++
ListOriginRequestPolicies2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace CloudFront
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const OriginRequestPolicyList& GetOriginRequestPolicyList() const{ return m_originRequestPolicyList; }
39 
43  inline void SetOriginRequestPolicyList(const OriginRequestPolicyList& value) { m_originRequestPolicyList = value; }
44 
48  inline void SetOriginRequestPolicyList(OriginRequestPolicyList&& value) { m_originRequestPolicyList = std::move(value); }
49 
53  inline ListOriginRequestPolicies2020_05_31Result& WithOriginRequestPolicyList(const OriginRequestPolicyList& value) { SetOriginRequestPolicyList(value); return *this;}
54 
58  inline ListOriginRequestPolicies2020_05_31Result& WithOriginRequestPolicyList(OriginRequestPolicyList&& value) { SetOriginRequestPolicyList(std::move(value)); return *this;}
59 
60  private:
61 
62  OriginRequestPolicyList m_originRequestPolicyList;
63  };
64 
65 } // namespace Model
66 } // namespace CloudFront
67 } // namespace Aws
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::WithOriginRequestPolicyList
ListOriginRequestPolicies2020_05_31Result & WithOriginRequestPolicyList(const OriginRequestPolicyList &value)
Definition: ListOriginRequestPolicies2020_05_31Result.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
OriginRequestPolicyList.h
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::ListOriginRequestPolicies2020_05_31Result
ListOriginRequestPolicies2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::SetOriginRequestPolicyList
void SetOriginRequestPolicyList(const OriginRequestPolicyList &value)
Definition: ListOriginRequestPolicies2020_05_31Result.h:43
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::WithOriginRequestPolicyList
ListOriginRequestPolicies2020_05_31Result & WithOriginRequestPolicyList(OriginRequestPolicyList &&value)
Definition: ListOriginRequestPolicies2020_05_31Result.h:58
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result
Definition: ListOriginRequestPolicies2020_05_31Result.h:28
Aws::CloudFront::Model::OriginRequestPolicyList
Definition: OriginRequestPolicyList.h:33
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::SetOriginRequestPolicyList
void SetOriginRequestPolicyList(OriginRequestPolicyList &&value)
Definition: ListOriginRequestPolicies2020_05_31Result.h:48
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::GetOriginRequestPolicyList
const OriginRequestPolicyList & GetOriginRequestPolicyList() const
Definition: ListOriginRequestPolicies2020_05_31Result.h:38
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::operator=
ListOriginRequestPolicies2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListOriginRequestPolicies2020_05_31Result::ListOriginRequestPolicies2020_05_31Result
ListOriginRequestPolicies2020_05_31Result()