AWS SDK for C++  1.9.20
AWS SDK for C++
PublicKeyList.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace CloudFront
23 {
24 namespace Model
25 {
26 
37  {
38  public:
42 
43  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44 
45 
51  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
52 
58  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
59 
65  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
66 
72  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
73 
79  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
80 
86  inline PublicKeyList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
87 
93  inline PublicKeyList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
94 
100  inline PublicKeyList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
101 
102 
106  inline int GetMaxItems() const{ return m_maxItems; }
107 
111  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
112 
116  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
117 
121  inline PublicKeyList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
122 
123 
127  inline int GetQuantity() const{ return m_quantity; }
128 
132  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
133 
137  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
138 
142  inline PublicKeyList& WithQuantity(int value) { SetQuantity(value); return *this;}
143 
144 
148  inline const Aws::Vector<PublicKeySummary>& GetItems() const{ return m_items; }
149 
153  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
154 
158  inline void SetItems(const Aws::Vector<PublicKeySummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
159 
163  inline void SetItems(Aws::Vector<PublicKeySummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
164 
168  inline PublicKeyList& WithItems(const Aws::Vector<PublicKeySummary>& value) { SetItems(value); return *this;}
169 
173  inline PublicKeyList& WithItems(Aws::Vector<PublicKeySummary>&& value) { SetItems(std::move(value)); return *this;}
174 
178  inline PublicKeyList& AddItems(const PublicKeySummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
179 
183  inline PublicKeyList& AddItems(PublicKeySummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
184 
185  private:
186 
187  Aws::String m_nextMarker;
188  bool m_nextMarkerHasBeenSet;
189 
190  int m_maxItems;
191  bool m_maxItemsHasBeenSet;
192 
193  int m_quantity;
194  bool m_quantityHasBeenSet;
195 
197  bool m_itemsHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace CloudFront
202 } // namespace Aws
Aws::CloudFront::Model::PublicKeyList::AddItems
PublicKeyList & AddItems(PublicKeySummary &&value)
Definition: PublicKeyList.h:183
Aws::CloudFront::Model::PublicKeyList::SetItems
void SetItems(Aws::Vector< PublicKeySummary > &&value)
Definition: PublicKeyList.h:163
Aws::CloudFront::Model::PublicKeyList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: PublicKeyList.h:153
Aws::CloudFront::Model::PublicKeyList::GetMaxItems
int GetMaxItems() const
Definition: PublicKeyList.h:106
Aws::CloudFront::Model::PublicKeyList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: PublicKeyList.h:51
Aws::CloudFront::Model::PublicKeyList::AddItems
PublicKeyList & AddItems(const PublicKeySummary &value)
Definition: PublicKeyList.h:178
Aws::CloudFront::Model::PublicKeyList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: PublicKeyList.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::PublicKeyList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: PublicKeyList.h:65
Aws::CloudFront::Model::PublicKeyList::GetQuantity
int GetQuantity() const
Definition: PublicKeyList.h:127
Aws::CloudFront::Model::PublicKeyList::operator=
PublicKeyList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSVector.h
Aws::CloudFront::Model::PublicKeyList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: PublicKeyList.h:132
PublicKeySummary.h
Aws::CloudFront::Model::PublicKeyList::WithMaxItems
PublicKeyList & WithMaxItems(int value)
Definition: PublicKeyList.h:121
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::PublicKeyList
Definition: PublicKeyList.h:37
Aws::CloudFront::Model::PublicKeyList::PublicKeyList
PublicKeyList(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::PublicKeyList::WithItems
PublicKeyList & WithItems(Aws::Vector< PublicKeySummary > &&value)
Definition: PublicKeyList.h:173
Aws::CloudFront::Model::PublicKeyList::SetNextMarker
void SetNextMarker(const char *value)
Definition: PublicKeyList.h:79
AWSString.h
Aws::CloudFront::Model::PublicKeyList::SetMaxItems
void SetMaxItems(int value)
Definition: PublicKeyList.h:116
Aws::CloudFront::Model::PublicKeyList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: PublicKeyList.h:72
Aws::CloudFront::Model::PublicKeyList::WithNextMarker
PublicKeyList & WithNextMarker(const char *value)
Definition: PublicKeyList.h:100
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::PublicKeyList::WithNextMarker
PublicKeyList & WithNextMarker(Aws::String &&value)
Definition: PublicKeyList.h:93
Aws::CloudFront::Model::PublicKeyList::WithQuantity
PublicKeyList & WithQuantity(int value)
Definition: PublicKeyList.h:142
Aws::CloudFront::Model::PublicKeyList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::PublicKeyList::WithNextMarker
PublicKeyList & WithNextMarker(const Aws::String &value)
Definition: PublicKeyList.h:86
Aws::CloudFront::Model::PublicKeyList::GetItems
const Aws::Vector< PublicKeySummary > & GetItems() const
Definition: PublicKeyList.h:148
Aws::CloudFront::Model::PublicKeySummary
Definition: PublicKeySummary.h:32
Aws::CloudFront::Model::PublicKeyList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: PublicKeyList.h:111
CloudFront_EXPORTS.h
Aws::CloudFront::Model::PublicKeyList::SetQuantity
void SetQuantity(int value)
Definition: PublicKeyList.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::PublicKeyList::PublicKeyList
PublicKeyList()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::PublicKeyList::SetItems
void SetItems(const Aws::Vector< PublicKeySummary > &value)
Definition: PublicKeyList.h:158
Aws::CloudFront::Model::PublicKeyList::WithItems
PublicKeyList & WithItems(const Aws::Vector< PublicKeySummary > &value)
Definition: PublicKeyList.h:168