AWS SDK for C++  1.9.14
AWS SDK for C++
ListDistributionsByWebACLId2020_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 {
34  {
35  public:
39 
40 
44  inline const DistributionList& GetDistributionList() const{ return m_distributionList; }
45 
49  inline void SetDistributionList(const DistributionList& value) { m_distributionList = value; }
50 
54  inline void SetDistributionList(DistributionList&& value) { m_distributionList = std::move(value); }
55 
59  inline ListDistributionsByWebACLId2020_05_31Result& WithDistributionList(const DistributionList& value) { SetDistributionList(value); return *this;}
60 
64  inline ListDistributionsByWebACLId2020_05_31Result& WithDistributionList(DistributionList&& value) { SetDistributionList(std::move(value)); return *this;}
65 
66  private:
67 
68  DistributionList m_distributionList;
69  };
70 
71 } // namespace Model
72 } // namespace CloudFront
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::SetDistributionList
void SetDistributionList(const DistributionList &value)
Definition: ListDistributionsByWebACLId2020_05_31Result.h:49
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::ListDistributionsByWebACLId2020_05_31Result
ListDistributionsByWebACLId2020_05_31Result()
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::GetDistributionList
const DistributionList & GetDistributionList() const
Definition: ListDistributionsByWebACLId2020_05_31Result.h:44
DistributionList.h
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::ListDistributionsByWebACLId2020_05_31Result
ListDistributionsByWebACLId2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::WithDistributionList
ListDistributionsByWebACLId2020_05_31Result & WithDistributionList(DistributionList &&value)
Definition: ListDistributionsByWebACLId2020_05_31Result.h:64
Aws::CloudFront::Model::DistributionList
Definition: DistributionList.h:33
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::operator=
ListDistributionsByWebACLId2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result
Definition: ListDistributionsByWebACLId2020_05_31Result.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::SetDistributionList
void SetDistributionList(DistributionList &&value)
Definition: ListDistributionsByWebACLId2020_05_31Result.h:54
Aws::CloudFront::Model::ListDistributionsByWebACLId2020_05_31Result::WithDistributionList
ListDistributionsByWebACLId2020_05_31Result & WithDistributionList(const DistributionList &value)
Definition: ListDistributionsByWebACLId2020_05_31Result.h:59