AWS SDK for C++  1.9.21
AWS SDK for C++
CreatePublicKey2020_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 {
29  {
30  public:
34 
35 
39  inline const PublicKey& GetPublicKey() const{ return m_publicKey; }
40 
44  inline void SetPublicKey(const PublicKey& value) { m_publicKey = value; }
45 
49  inline void SetPublicKey(PublicKey&& value) { m_publicKey = std::move(value); }
50 
54  inline CreatePublicKey2020_05_31Result& WithPublicKey(const PublicKey& value) { SetPublicKey(value); return *this;}
55 
59  inline CreatePublicKey2020_05_31Result& WithPublicKey(PublicKey&& value) { SetPublicKey(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetLocation() const{ return m_location; }
66 
70  inline void SetLocation(const Aws::String& value) { m_location = value; }
71 
75  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
76 
80  inline void SetLocation(const char* value) { m_location.assign(value); }
81 
85  inline CreatePublicKey2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
86 
90  inline CreatePublicKey2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
91 
95  inline CreatePublicKey2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;}
96 
97 
101  inline const Aws::String& GetETag() const{ return m_eTag; }
102 
106  inline void SetETag(const Aws::String& value) { m_eTag = value; }
107 
111  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
112 
116  inline void SetETag(const char* value) { m_eTag.assign(value); }
117 
121  inline CreatePublicKey2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
122 
126  inline CreatePublicKey2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
127 
131  inline CreatePublicKey2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
132 
133  private:
134 
135  PublicKey m_publicKey;
136 
137  Aws::String m_location;
138 
139  Aws::String m_eTag;
140  };
141 
142 } // namespace Model
143 } // namespace CloudFront
144 } // namespace Aws
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::operator=
CreatePublicKey2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: CreatePublicKey2020_05_31Result.h:116
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: CreatePublicKey2020_05_31Result.h:111
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithETag
CreatePublicKey2020_05_31Result & WithETag(const char *value)
Definition: CreatePublicKey2020_05_31Result.h:131
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreatePublicKey2020_05_31Result.h:75
PublicKey.h
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::GetLocation
const Aws::String & GetLocation() const
Definition: CreatePublicKey2020_05_31Result.h:65
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithPublicKey
CreatePublicKey2020_05_31Result & WithPublicKey(const PublicKey &value)
Definition: CreatePublicKey2020_05_31Result.h:54
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithLocation
CreatePublicKey2020_05_31Result & WithLocation(Aws::String &&value)
Definition: CreatePublicKey2020_05_31Result.h:90
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::CreatePublicKey2020_05_31Result
CreatePublicKey2020_05_31Result()
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithETag
CreatePublicKey2020_05_31Result & WithETag(const Aws::String &value)
Definition: CreatePublicKey2020_05_31Result.h:121
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetPublicKey
void SetPublicKey(const PublicKey &value)
Definition: CreatePublicKey2020_05_31Result.h:44
Aws::CloudFront::Model::PublicKey
Definition: PublicKey.h:37
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: CreatePublicKey2020_05_31Result.h:106
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithLocation
CreatePublicKey2020_05_31Result & WithLocation(const Aws::String &value)
Definition: CreatePublicKey2020_05_31Result.h:85
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithPublicKey
CreatePublicKey2020_05_31Result & WithPublicKey(PublicKey &&value)
Definition: CreatePublicKey2020_05_31Result.h:59
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result
Definition: CreatePublicKey2020_05_31Result.h:29
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetPublicKey
void SetPublicKey(PublicKey &&value)
Definition: CreatePublicKey2020_05_31Result.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithETag
CreatePublicKey2020_05_31Result & WithETag(Aws::String &&value)
Definition: CreatePublicKey2020_05_31Result.h:126
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::WithLocation
CreatePublicKey2020_05_31Result & WithLocation(const char *value)
Definition: CreatePublicKey2020_05_31Result.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::GetPublicKey
const PublicKey & GetPublicKey() const
Definition: CreatePublicKey2020_05_31Result.h:39
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: CreatePublicKey2020_05_31Result.h:101
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::CreatePublicKey2020_05_31Result
CreatePublicKey2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetLocation
void SetLocation(const char *value)
Definition: CreatePublicKey2020_05_31Result.h:80
Aws::CloudFront::Model::CreatePublicKey2020_05_31Result::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreatePublicKey2020_05_31Result.h:70