AWS SDK for C++  1.9.20
AWS SDK for C++
CloudFrontOriginAccessIdentityList.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 
40  {
41  public:
45 
46  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
47 
48 
56  inline const Aws::String& GetMarker() const{ return m_marker; }
57 
65  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
66 
74  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
75 
83  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
84 
92  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
93 
101  inline CloudFrontOriginAccessIdentityList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
102 
110  inline CloudFrontOriginAccessIdentityList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
111 
119  inline CloudFrontOriginAccessIdentityList& WithMarker(const char* value) { SetMarker(value); return *this;}
120 
121 
127  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
128 
134  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
135 
141  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
142 
148  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
149 
155  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
156 
162  inline CloudFrontOriginAccessIdentityList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
163 
169  inline CloudFrontOriginAccessIdentityList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
170 
176  inline CloudFrontOriginAccessIdentityList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
177 
178 
183  inline int GetMaxItems() const{ return m_maxItems; }
184 
189  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
190 
195  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
196 
201  inline CloudFrontOriginAccessIdentityList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
202 
203 
210  inline bool GetIsTruncated() const{ return m_isTruncated; }
211 
218  inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
219 
226  inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
227 
234  inline CloudFrontOriginAccessIdentityList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
235 
236 
241  inline int GetQuantity() const{ return m_quantity; }
242 
247  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
248 
253  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
254 
259  inline CloudFrontOriginAccessIdentityList& WithQuantity(int value) { SetQuantity(value); return *this;}
260 
261 
267  inline const Aws::Vector<CloudFrontOriginAccessIdentitySummary>& GetItems() const{ return m_items; }
268 
274  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
275 
281  inline void SetItems(const Aws::Vector<CloudFrontOriginAccessIdentitySummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
282 
288  inline void SetItems(Aws::Vector<CloudFrontOriginAccessIdentitySummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
289 
296 
302  inline CloudFrontOriginAccessIdentityList& WithItems(Aws::Vector<CloudFrontOriginAccessIdentitySummary>&& value) { SetItems(std::move(value)); return *this;}
303 
309  inline CloudFrontOriginAccessIdentityList& AddItems(const CloudFrontOriginAccessIdentitySummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
310 
316  inline CloudFrontOriginAccessIdentityList& AddItems(CloudFrontOriginAccessIdentitySummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
317 
318  private:
319 
320  Aws::String m_marker;
321  bool m_markerHasBeenSet;
322 
323  Aws::String m_nextMarker;
324  bool m_nextMarkerHasBeenSet;
325 
326  int m_maxItems;
327  bool m_maxItemsHasBeenSet;
328 
329  bool m_isTruncated;
330  bool m_isTruncatedHasBeenSet;
331 
332  int m_quantity;
333  bool m_quantityHasBeenSet;
334 
336  bool m_itemsHasBeenSet;
337  };
338 
339 } // namespace Model
340 } // namespace CloudFront
341 } // namespace Aws
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetMarker
void SetMarker(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentityList.h:74
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithQuantity
CloudFrontOriginAccessIdentityList & WithQuantity(int value)
Definition: CloudFrontOriginAccessIdentityList.h:259
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithIsTruncated
CloudFrontOriginAccessIdentityList & WithIsTruncated(bool value)
Definition: CloudFrontOriginAccessIdentityList.h:234
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithMaxItems
CloudFrontOriginAccessIdentityList & WithMaxItems(int value)
Definition: CloudFrontOriginAccessIdentityList.h:201
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetMaxItems
void SetMaxItems(int value)
Definition: CloudFrontOriginAccessIdentityList.h:195
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithMarker
CloudFrontOriginAccessIdentityList & WithMarker(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentityList.h:101
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithItems
CloudFrontOriginAccessIdentityList & WithItems(const Aws::Vector< CloudFrontOriginAccessIdentitySummary > &value)
Definition: CloudFrontOriginAccessIdentityList.h:295
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithNextMarker
CloudFrontOriginAccessIdentityList & WithNextMarker(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentityList.h:162
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentityList.h:141
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetItems
void SetItems(Aws::Vector< CloudFrontOriginAccessIdentitySummary > &&value)
Definition: CloudFrontOriginAccessIdentityList.h:288
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::AddItems
CloudFrontOriginAccessIdentityList & AddItems(CloudFrontOriginAccessIdentitySummary &&value)
Definition: CloudFrontOriginAccessIdentityList.h:316
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList
Definition: CloudFrontOriginAccessIdentityList.h:40
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::CloudFrontOriginAccessIdentityList
CloudFrontOriginAccessIdentityList(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSVector.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithMarker
CloudFrontOriginAccessIdentityList & WithMarker(const char *value)
Definition: CloudFrontOriginAccessIdentityList.h:119
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: CloudFrontOriginAccessIdentityList.h:127
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetMarker
void SetMarker(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentityList.h:83
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetItems
void SetItems(const Aws::Vector< CloudFrontOriginAccessIdentitySummary > &value)
Definition: CloudFrontOriginAccessIdentityList.h:281
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:247
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentityList.h:148
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetNextMarker
void SetNextMarker(const char *value)
Definition: CloudFrontOriginAccessIdentityList.h:155
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetMarker
void SetMarker(const char *value)
Definition: CloudFrontOriginAccessIdentityList.h:92
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithNextMarker
CloudFrontOriginAccessIdentityList & WithNextMarker(const char *value)
Definition: CloudFrontOriginAccessIdentityList.h:176
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::AddItems
CloudFrontOriginAccessIdentityList & AddItems(const CloudFrontOriginAccessIdentitySummary &value)
Definition: CloudFrontOriginAccessIdentityList.h:309
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:65
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetMarker
const Aws::String & GetMarker() const
Definition: CloudFrontOriginAccessIdentityList.h:56
AWSString.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetQuantity
void SetQuantity(int value)
Definition: CloudFrontOriginAccessIdentityList.h:253
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary
Definition: CloudFrontOriginAccessIdentitySummary.h:32
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetMaxItems
int GetMaxItems() const
Definition: CloudFrontOriginAccessIdentityList.h:183
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:189
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetQuantity
int GetQuantity() const
Definition: CloudFrontOriginAccessIdentityList.h:241
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::IsTruncatedHasBeenSet
bool IsTruncatedHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:218
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::operator=
CloudFrontOriginAccessIdentityList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithMarker
CloudFrontOriginAccessIdentityList & WithMarker(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentityList.h:110
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:274
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::SetIsTruncated
void SetIsTruncated(bool value)
Definition: CloudFrontOriginAccessIdentityList.h:226
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::CloudFrontOriginAccessIdentityList
CloudFrontOriginAccessIdentityList()
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithNextMarker
CloudFrontOriginAccessIdentityList & WithNextMarker(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentityList.h:169
CloudFrontOriginAccessIdentitySummary.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: CloudFrontOriginAccessIdentityList.h:134
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetIsTruncated
bool GetIsTruncated() const
Definition: CloudFrontOriginAccessIdentityList.h:210
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::WithItems
CloudFrontOriginAccessIdentityList & WithItems(Aws::Vector< CloudFrontOriginAccessIdentitySummary > &&value)
Definition: CloudFrontOriginAccessIdentityList.h:302
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityList::GetItems
const Aws::Vector< CloudFrontOriginAccessIdentitySummary > & GetItems() const
Definition: CloudFrontOriginAccessIdentityList.h:267