AWS SDK for C++  1.9.14
AWS SDK for C++
GetKeyGroup2020_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 GetKeyGroup2020_05_31Result& WithKeyGroup(const KeyGroup& value) { SetKeyGroup(value); return *this;}
55 
59  inline GetKeyGroup2020_05_31Result& WithKeyGroup(KeyGroup&& value) { SetKeyGroup(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetETag() const{ return m_eTag; }
66 
70  inline void SetETag(const Aws::String& value) { m_eTag = value; }
71 
75  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
76 
80  inline void SetETag(const char* value) { m_eTag.assign(value); }
81 
85  inline GetKeyGroup2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
86 
90  inline GetKeyGroup2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
91 
95  inline GetKeyGroup2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
96 
97  private:
98 
99  KeyGroup m_keyGroup;
100 
101  Aws::String m_eTag;
102  };
103 
104 } // namespace Model
105 } // namespace CloudFront
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::SetKeyGroup
void SetKeyGroup(const KeyGroup &value)
Definition: GetKeyGroup2020_05_31Result.h:44
Aws::CloudFront::Model::KeyGroup
Definition: KeyGroup.h:36
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: GetKeyGroup2020_05_31Result.h:75
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::GetKeyGroup2020_05_31Result
GetKeyGroup2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::WithETag
GetKeyGroup2020_05_31Result & WithETag(const Aws::String &value)
Definition: GetKeyGroup2020_05_31Result.h:85
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::WithKeyGroup
GetKeyGroup2020_05_31Result & WithKeyGroup(const KeyGroup &value)
Definition: GetKeyGroup2020_05_31Result.h:54
KeyGroup.h
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::GetKeyGroup
const KeyGroup & GetKeyGroup() const
Definition: GetKeyGroup2020_05_31Result.h:39
AWSString.h
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::WithKeyGroup
GetKeyGroup2020_05_31Result & WithKeyGroup(KeyGroup &&value)
Definition: GetKeyGroup2020_05_31Result.h:59
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::operator=
GetKeyGroup2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::SetKeyGroup
void SetKeyGroup(KeyGroup &&value)
Definition: GetKeyGroup2020_05_31Result.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::WithETag
GetKeyGroup2020_05_31Result & WithETag(const char *value)
Definition: GetKeyGroup2020_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::GetKeyGroup2020_05_31Result
Definition: GetKeyGroup2020_05_31Result.h:29
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::GetKeyGroup2020_05_31Result
GetKeyGroup2020_05_31Result()
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: GetKeyGroup2020_05_31Result.h:65
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::WithETag
GetKeyGroup2020_05_31Result & WithETag(Aws::String &&value)
Definition: GetKeyGroup2020_05_31Result.h:90
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: GetKeyGroup2020_05_31Result.h:80
Aws::CloudFront::Model::GetKeyGroup2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: GetKeyGroup2020_05_31Result.h:70