AWS SDK for C++  1.9.16
AWS SDK for C++
KGKeyPairIds.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::String& GetKeyGroupId() const{ return m_keyGroupId; }
46 
50  inline bool KeyGroupIdHasBeenSet() const { return m_keyGroupIdHasBeenSet; }
51 
55  inline void SetKeyGroupId(const Aws::String& value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId = value; }
56 
60  inline void SetKeyGroupId(Aws::String&& value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId = std::move(value); }
61 
65  inline void SetKeyGroupId(const char* value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId.assign(value); }
66 
70  inline KGKeyPairIds& WithKeyGroupId(const Aws::String& value) { SetKeyGroupId(value); return *this;}
71 
75  inline KGKeyPairIds& WithKeyGroupId(Aws::String&& value) { SetKeyGroupId(std::move(value)); return *this;}
76 
80  inline KGKeyPairIds& WithKeyGroupId(const char* value) { SetKeyGroupId(value); return *this;}
81 
82 
83 
84  inline const KeyPairIds& GetKeyPairIds() const{ return m_keyPairIds; }
85 
86 
87  inline bool KeyPairIdsHasBeenSet() const { return m_keyPairIdsHasBeenSet; }
88 
89 
90  inline void SetKeyPairIds(const KeyPairIds& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = value; }
91 
92 
93  inline void SetKeyPairIds(KeyPairIds&& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = std::move(value); }
94 
95 
96  inline KGKeyPairIds& WithKeyPairIds(const KeyPairIds& value) { SetKeyPairIds(value); return *this;}
97 
98 
99  inline KGKeyPairIds& WithKeyPairIds(KeyPairIds&& value) { SetKeyPairIds(std::move(value)); return *this;}
100 
101  private:
102 
103  Aws::String m_keyGroupId;
104  bool m_keyGroupIdHasBeenSet;
105 
106  KeyPairIds m_keyPairIds;
107  bool m_keyPairIdsHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace CloudFront
112 } // namespace Aws
Aws::CloudFront::Model::KGKeyPairIds::KeyGroupIdHasBeenSet
bool KeyGroupIdHasBeenSet() const
Definition: KGKeyPairIds.h:50
Aws::CloudFront::Model::KGKeyPairIds::WithKeyGroupId
KGKeyPairIds & WithKeyGroupId(const char *value)
Definition: KGKeyPairIds.h:80
Aws::CloudFront::Model::KGKeyPairIds::KGKeyPairIds
KGKeyPairIds(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::KGKeyPairIds::GetKeyGroupId
const Aws::String & GetKeyGroupId() const
Definition: KGKeyPairIds.h:45
Aws::CloudFront::Model::KGKeyPairIds::SetKeyGroupId
void SetKeyGroupId(Aws::String &&value)
Definition: KGKeyPairIds.h:60
Aws::CloudFront::Model::KGKeyPairIds::WithKeyPairIds
KGKeyPairIds & WithKeyPairIds(const KeyPairIds &value)
Definition: KGKeyPairIds.h:96
Aws::CloudFront::Model::KGKeyPairIds::SetKeyPairIds
void SetKeyPairIds(const KeyPairIds &value)
Definition: KGKeyPairIds.h:90
Aws::CloudFront::Model::KGKeyPairIds::SetKeyPairIds
void SetKeyPairIds(KeyPairIds &&value)
Definition: KGKeyPairIds.h:93
Aws::CloudFront::Model::KGKeyPairIds::WithKeyGroupId
KGKeyPairIds & WithKeyGroupId(Aws::String &&value)
Definition: KGKeyPairIds.h:75
Aws::CloudFront::Model::KGKeyPairIds
Definition: KGKeyPairIds.h:33
Aws::CloudFront::Model::KGKeyPairIds::WithKeyPairIds
KGKeyPairIds & WithKeyPairIds(KeyPairIds &&value)
Definition: KGKeyPairIds.h:99
Aws::CloudFront::Model::KGKeyPairIds::WithKeyGroupId
KGKeyPairIds & WithKeyGroupId(const Aws::String &value)
Definition: KGKeyPairIds.h:70
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::KGKeyPairIds::KGKeyPairIds
KGKeyPairIds()
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::KeyPairIds
Definition: KeyPairIds.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::KGKeyPairIds::SetKeyGroupId
void SetKeyGroupId(const Aws::String &value)
Definition: KGKeyPairIds.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::KGKeyPairIds::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::KGKeyPairIds::KeyPairIdsHasBeenSet
bool KeyPairIdsHasBeenSet() const
Definition: KGKeyPairIds.h:87
Aws::CloudFront::Model::KGKeyPairIds::SetKeyGroupId
void SetKeyGroupId(const char *value)
Definition: KGKeyPairIds.h:65
KeyPairIds.h
Aws::CloudFront::Model::KGKeyPairIds::operator=
KGKeyPairIds & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::KGKeyPairIds::GetKeyPairIds
const KeyPairIds & GetKeyPairIds() const
Definition: KGKeyPairIds.h:84