AWS SDK for C++  1.9.130
AWS SDK for C++
CreateInvalidation2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace CloudFront
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
46  inline const Aws::String& GetLocation() const{ return m_location; }
47 
52  inline void SetLocation(const Aws::String& value) { m_location = value; }
53 
58  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
59 
64  inline void SetLocation(const char* value) { m_location.assign(value); }
65 
70  inline CreateInvalidation2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
71 
76  inline CreateInvalidation2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
77 
82  inline CreateInvalidation2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;}
83 
84 
88  inline const Invalidation& GetInvalidation() const{ return m_invalidation; }
89 
93  inline void SetInvalidation(const Invalidation& value) { m_invalidation = value; }
94 
98  inline void SetInvalidation(Invalidation&& value) { m_invalidation = std::move(value); }
99 
103  inline CreateInvalidation2020_05_31Result& WithInvalidation(const Invalidation& value) { SetInvalidation(value); return *this;}
104 
108  inline CreateInvalidation2020_05_31Result& WithInvalidation(Invalidation&& value) { SetInvalidation(std::move(value)); return *this;}
109 
110  private:
111 
112  Aws::String m_location;
113 
114  Invalidation m_invalidation;
115  };
116 
117 } // namespace Model
118 } // namespace CloudFront
119 } // namespace Aws
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::SetInvalidation
void SetInvalidation(Invalidation &&value)
Definition: CreateInvalidation2020_05_31Result.h:98
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::CreateInvalidation2020_05_31Result
CreateInvalidation2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::WithInvalidation
CreateInvalidation2020_05_31Result & WithInvalidation(Invalidation &&value)
Definition: CreateInvalidation2020_05_31Result.h:108
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::operator=
CreateInvalidation2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::CreateInvalidation2020_05_31Result
CreateInvalidation2020_05_31Result()
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::WithInvalidation
CreateInvalidation2020_05_31Result & WithInvalidation(const Invalidation &value)
Definition: CreateInvalidation2020_05_31Result.h:103
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result
Definition: CreateInvalidation2020_05_31Result.h:35
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::SetInvalidation
void SetInvalidation(const Invalidation &value)
Definition: CreateInvalidation2020_05_31Result.h:93
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreateInvalidation2020_05_31Result.h:58
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::GetLocation
const Aws::String & GetLocation() const
Definition: CreateInvalidation2020_05_31Result.h:46
Aws::CloudFront::Model::Invalidation
Definition: Invalidation.h:33
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::SetLocation
void SetLocation(const char *value)
Definition: CreateInvalidation2020_05_31Result.h:64
AWSString.h
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::WithLocation
CreateInvalidation2020_05_31Result & WithLocation(Aws::String &&value)
Definition: CreateInvalidation2020_05_31Result.h:76
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::GetInvalidation
const Invalidation & GetInvalidation() const
Definition: CreateInvalidation2020_05_31Result.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::WithLocation
CreateInvalidation2020_05_31Result & WithLocation(const char *value)
Definition: CreateInvalidation2020_05_31Result.h:82
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::WithLocation
CreateInvalidation2020_05_31Result & WithLocation(const Aws::String &value)
Definition: CreateInvalidation2020_05_31Result.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateInvalidation2020_05_31Result::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreateInvalidation2020_05_31Result.h:52
Invalidation.h