AWS SDK for C++  1.9.20
AWS SDK for C++
CreateKeyGroup2020_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 KeyGroup& GetKeyGroup() const{ return m_keyGroup; }
40 
44  inline void SetKeyGroup(const KeyGroup& value) { m_keyGroup = value; }
45 
49  inline void SetKeyGroup(KeyGroup&& value) { m_keyGroup = std::move(value); }
50 
54  inline CreateKeyGroup2020_05_31Result& WithKeyGroup(const KeyGroup& value) { SetKeyGroup(value); return *this;}
55 
59  inline CreateKeyGroup2020_05_31Result& WithKeyGroup(KeyGroup&& value) { SetKeyGroup(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 CreateKeyGroup2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
86 
90  inline CreateKeyGroup2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
91 
95  inline CreateKeyGroup2020_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 CreateKeyGroup2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
122 
126  inline CreateKeyGroup2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
127 
131  inline CreateKeyGroup2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
132 
133  private:
134 
135  KeyGroup m_keyGroup;
136 
137  Aws::String m_location;
138 
139  Aws::String m_eTag;
140  };
141 
142 } // namespace Model
143 } // namespace CloudFront
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetLocation
void SetLocation(const char *value)
Definition: CreateKeyGroup2020_05_31Result.h:80
Aws::CloudFront::Model::KeyGroup
Definition: KeyGroup.h:36
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithKeyGroup
CreateKeyGroup2020_05_31Result & WithKeyGroup(KeyGroup &&value)
Definition: CreateKeyGroup2020_05_31Result.h:59
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetKeyGroup
void SetKeyGroup(const KeyGroup &value)
Definition: CreateKeyGroup2020_05_31Result.h:44
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreateKeyGroup2020_05_31Result.h:70
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result
Definition: CreateKeyGroup2020_05_31Result.h:29
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithETag
CreateKeyGroup2020_05_31Result & WithETag(const Aws::String &value)
Definition: CreateKeyGroup2020_05_31Result.h:121
KeyGroup.h
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithETag
CreateKeyGroup2020_05_31Result & WithETag(const char *value)
Definition: CreateKeyGroup2020_05_31Result.h:131
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithLocation
CreateKeyGroup2020_05_31Result & WithLocation(const char *value)
Definition: CreateKeyGroup2020_05_31Result.h:95
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetKeyGroup
void SetKeyGroup(KeyGroup &&value)
Definition: CreateKeyGroup2020_05_31Result.h:49
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: CreateKeyGroup2020_05_31Result.h:116
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithETag
CreateKeyGroup2020_05_31Result & WithETag(Aws::String &&value)
Definition: CreateKeyGroup2020_05_31Result.h:126
AWSString.h
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithLocation
CreateKeyGroup2020_05_31Result & WithLocation(const Aws::String &value)
Definition: CreateKeyGroup2020_05_31Result.h:85
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: CreateKeyGroup2020_05_31Result.h:111
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::CreateKeyGroup2020_05_31Result
CreateKeyGroup2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreateKeyGroup2020_05_31Result.h:75
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithKeyGroup
CreateKeyGroup2020_05_31Result & WithKeyGroup(const KeyGroup &value)
Definition: CreateKeyGroup2020_05_31Result.h:54
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::CreateKeyGroup2020_05_31Result
CreateKeyGroup2020_05_31Result()
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::GetKeyGroup
const KeyGroup & GetKeyGroup() const
Definition: CreateKeyGroup2020_05_31Result.h:39
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::WithLocation
CreateKeyGroup2020_05_31Result & WithLocation(Aws::String &&value)
Definition: CreateKeyGroup2020_05_31Result.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: CreateKeyGroup2020_05_31Result.h:101
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::GetLocation
const Aws::String & GetLocation() const
Definition: CreateKeyGroup2020_05_31Result.h:65
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: CreateKeyGroup2020_05_31Result.h:106
Aws::CloudFront::Model::CreateKeyGroup2020_05_31Result::operator=
CreateKeyGroup2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)