AWS SDK for C++  1.9.20
AWS SDK for C++
ListCachePolicies2020_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 CachePolicyList& GetCachePolicyList() const{ return m_cachePolicyList; }
39 
43  inline void SetCachePolicyList(const CachePolicyList& value) { m_cachePolicyList = value; }
44 
48  inline void SetCachePolicyList(CachePolicyList&& value) { m_cachePolicyList = std::move(value); }
49 
53  inline ListCachePolicies2020_05_31Result& WithCachePolicyList(const CachePolicyList& value) { SetCachePolicyList(value); return *this;}
54 
58  inline ListCachePolicies2020_05_31Result& WithCachePolicyList(CachePolicyList&& value) { SetCachePolicyList(std::move(value)); return *this;}
59 
60  private:
61 
62  CachePolicyList m_cachePolicyList;
63  };
64 
65 } // namespace Model
66 } // namespace CloudFront
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result
Definition: ListCachePolicies2020_05_31Result.h:28
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::SetCachePolicyList
void SetCachePolicyList(const CachePolicyList &value)
Definition: ListCachePolicies2020_05_31Result.h:43
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::WithCachePolicyList
ListCachePolicies2020_05_31Result & WithCachePolicyList(const CachePolicyList &value)
Definition: ListCachePolicies2020_05_31Result.h:53
Aws::CloudFront::Model::CachePolicyList
Definition: CachePolicyList.h:33
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::WithCachePolicyList
ListCachePolicies2020_05_31Result & WithCachePolicyList(CachePolicyList &&value)
Definition: ListCachePolicies2020_05_31Result.h:58
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::GetCachePolicyList
const CachePolicyList & GetCachePolicyList() const
Definition: ListCachePolicies2020_05_31Result.h:38
CachePolicyList.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::operator=
ListCachePolicies2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::ListCachePolicies2020_05_31Result
ListCachePolicies2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::SetCachePolicyList
void SetCachePolicyList(CachePolicyList &&value)
Definition: ListCachePolicies2020_05_31Result.h:48
Aws::CloudFront::Model::ListCachePolicies2020_05_31Result::ListCachePolicies2020_05_31Result
ListCachePolicies2020_05_31Result()