AWS SDK for C++  1.9.15
AWS SDK for C++
GetInvalidation2020_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 
46  inline const Invalidation& GetInvalidation() const{ return m_invalidation; }
47 
53  inline void SetInvalidation(const Invalidation& value) { m_invalidation = value; }
54 
60  inline void SetInvalidation(Invalidation&& value) { m_invalidation = std::move(value); }
61 
67  inline GetInvalidation2020_05_31Result& WithInvalidation(const Invalidation& value) { SetInvalidation(value); return *this;}
68 
74  inline GetInvalidation2020_05_31Result& WithInvalidation(Invalidation&& value) { SetInvalidation(std::move(value)); return *this;}
75 
76  private:
77 
78  Invalidation m_invalidation;
79  };
80 
81 } // namespace Model
82 } // namespace CloudFront
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::WithInvalidation
GetInvalidation2020_05_31Result & WithInvalidation(Invalidation &&value)
Definition: GetInvalidation2020_05_31Result.h:74
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::SetInvalidation
void SetInvalidation(Invalidation &&value)
Definition: GetInvalidation2020_05_31Result.h:60
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::GetInvalidation2020_05_31Result
GetInvalidation2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::SetInvalidation
void SetInvalidation(const Invalidation &value)
Definition: GetInvalidation2020_05_31Result.h:53
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::operator=
GetInvalidation2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::Invalidation
Definition: Invalidation.h:33
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::GetInvalidation
const Invalidation & GetInvalidation() const
Definition: GetInvalidation2020_05_31Result.h:46
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::WithInvalidation
GetInvalidation2020_05_31Result & WithInvalidation(const Invalidation &value)
Definition: GetInvalidation2020_05_31Result.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetInvalidation2020_05_31Result
Definition: GetInvalidation2020_05_31Result.h:34
Aws::CloudFront::Model::GetInvalidation2020_05_31Result::GetInvalidation2020_05_31Result
GetInvalidation2020_05_31Result()
Invalidation.h