AWS SDK for C++  1.9.15
AWS SDK for C++
ListInvalidations2020_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 InvalidationList& GetInvalidationList() const{ return m_invalidationList; }
45 
49  inline void SetInvalidationList(const InvalidationList& value) { m_invalidationList = value; }
50 
54  inline void SetInvalidationList(InvalidationList&& value) { m_invalidationList = std::move(value); }
55 
59  inline ListInvalidations2020_05_31Result& WithInvalidationList(const InvalidationList& value) { SetInvalidationList(value); return *this;}
60 
64  inline ListInvalidations2020_05_31Result& WithInvalidationList(InvalidationList&& value) { SetInvalidationList(std::move(value)); return *this;}
65 
66  private:
67 
68  InvalidationList m_invalidationList;
69  };
70 
71 } // namespace Model
72 } // namespace CloudFront
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::InvalidationList
Definition: InvalidationList.h:37
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::ListInvalidations2020_05_31Result
ListInvalidations2020_05_31Result()
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::GetInvalidationList
const InvalidationList & GetInvalidationList() const
Definition: ListInvalidations2020_05_31Result.h:44
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::ListInvalidations2020_05_31Result
ListInvalidations2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::WithInvalidationList
ListInvalidations2020_05_31Result & WithInvalidationList(const InvalidationList &value)
Definition: ListInvalidations2020_05_31Result.h:59
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::SetInvalidationList
void SetInvalidationList(InvalidationList &&value)
Definition: ListInvalidations2020_05_31Result.h:54
InvalidationList.h
Aws::CloudFront::Model::ListInvalidations2020_05_31Result
Definition: ListInvalidations2020_05_31Result.h:34
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::SetInvalidationList
void SetInvalidationList(const InvalidationList &value)
Definition: ListInvalidations2020_05_31Result.h:49
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::operator=
ListInvalidations2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::ListInvalidations2020_05_31Result::WithInvalidationList
ListInvalidations2020_05_31Result & WithInvalidationList(InvalidationList &&value)
Definition: ListInvalidations2020_05_31Result.h:64