AWS SDK for C++  1.9.14
AWS SDK for C++
DistributionIdList.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 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
44  inline const Aws::String& GetMarker() const{ return m_marker; }
45 
49  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
50 
54  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
55 
59  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
60 
64  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
65 
69  inline DistributionIdList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
70 
74  inline DistributionIdList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
75 
79  inline DistributionIdList& WithMarker(const char* value) { SetMarker(value); return *this;}
80 
81 
86  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
87 
92  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
93 
98  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
99 
104  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
105 
110  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
111 
116  inline DistributionIdList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
117 
122  inline DistributionIdList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
123 
128  inline DistributionIdList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
129 
130 
134  inline int GetMaxItems() const{ return m_maxItems; }
135 
139  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
140 
144  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
145 
149  inline DistributionIdList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
150 
151 
158  inline bool GetIsTruncated() const{ return m_isTruncated; }
159 
166  inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
167 
174  inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
175 
182  inline DistributionIdList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
183 
184 
188  inline int GetQuantity() const{ return m_quantity; }
189 
193  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
194 
198  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
199 
203  inline DistributionIdList& WithQuantity(int value) { SetQuantity(value); return *this;}
204 
205 
209  inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
210 
214  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
215 
219  inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
220 
224  inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
225 
229  inline DistributionIdList& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
230 
234  inline DistributionIdList& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
235 
239  inline DistributionIdList& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
240 
244  inline DistributionIdList& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
245 
249  inline DistributionIdList& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
250 
251  private:
252 
253  Aws::String m_marker;
254  bool m_markerHasBeenSet;
255 
256  Aws::String m_nextMarker;
257  bool m_nextMarkerHasBeenSet;
258 
259  int m_maxItems;
260  bool m_maxItemsHasBeenSet;
261 
262  bool m_isTruncated;
263  bool m_isTruncatedHasBeenSet;
264 
265  int m_quantity;
266  bool m_quantityHasBeenSet;
267 
268  Aws::Vector<Aws::String> m_items;
269  bool m_itemsHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace CloudFront
274 } // namespace Aws
Aws::CloudFront::Model::DistributionIdList::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DistributionIdList.h:49
Aws::CloudFront::Model::DistributionIdList::GetMarker
const Aws::String & GetMarker() const
Definition: DistributionIdList.h:44
Aws::CloudFront::Model::DistributionIdList::operator=
DistributionIdList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::DistributionIdList::WithMarker
DistributionIdList & WithMarker(const Aws::String &value)
Definition: DistributionIdList.h:69
Aws::CloudFront::Model::DistributionIdList::WithQuantity
DistributionIdList & WithQuantity(int value)
Definition: DistributionIdList.h:203
Aws::CloudFront::Model::DistributionIdList::SetMarker
void SetMarker(const Aws::String &value)
Definition: DistributionIdList.h:54
Aws::CloudFront::Model::DistributionIdList::WithNextMarker
DistributionIdList & WithNextMarker(Aws::String &&value)
Definition: DistributionIdList.h:122
Aws::CloudFront::Model::DistributionIdList::IsTruncatedHasBeenSet
bool IsTruncatedHasBeenSet() const
Definition: DistributionIdList.h:166
Aws::CloudFront::Model::DistributionIdList::SetNextMarker
void SetNextMarker(const char *value)
Definition: DistributionIdList.h:110
Aws::CloudFront::Model::DistributionIdList::SetMarker
void SetMarker(const char *value)
Definition: DistributionIdList.h:64
Aws::CloudFront::Model::DistributionIdList::SetItems
void SetItems(const Aws::Vector< Aws::String > &value)
Definition: DistributionIdList.h:219
Aws::CloudFront::Model::DistributionIdList::AddItems
DistributionIdList & AddItems(const char *value)
Definition: DistributionIdList.h:249
Aws::CloudFront::Model::DistributionIdList::GetItems
const Aws::Vector< Aws::String > & GetItems() const
Definition: DistributionIdList.h:209
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::DistributionIdList::SetIsTruncated
void SetIsTruncated(bool value)
Definition: DistributionIdList.h:174
Aws::CloudFront::Model::DistributionIdList::WithMarker
DistributionIdList & WithMarker(const char *value)
Definition: DistributionIdList.h:79
AWSVector.h
Aws::CloudFront::Model::DistributionIdList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: DistributionIdList.h:193
Aws::CloudFront::Model::DistributionIdList::WithItems
DistributionIdList & WithItems(const Aws::Vector< Aws::String > &value)
Definition: DistributionIdList.h:229
Aws::CloudFront::Model::DistributionIdList
Definition: DistributionIdList.h:32
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::DistributionIdList::WithNextMarker
DistributionIdList & WithNextMarker(const char *value)
Definition: DistributionIdList.h:128
Aws::CloudFront::Model::DistributionIdList::WithMarker
DistributionIdList & WithMarker(Aws::String &&value)
Definition: DistributionIdList.h:74
Aws::CloudFront::Model::DistributionIdList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: DistributionIdList.h:139
Aws::CloudFront::Model::DistributionIdList::SetQuantity
void SetQuantity(int value)
Definition: DistributionIdList.h:198
AWSString.h
Aws::CloudFront::Model::DistributionIdList::GetIsTruncated
bool GetIsTruncated() const
Definition: DistributionIdList.h:158
Aws::CloudFront::Model::DistributionIdList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: DistributionIdList.h:214
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::DistributionIdList::GetMaxItems
int GetMaxItems() const
Definition: DistributionIdList.h:134
Aws::CloudFront::Model::DistributionIdList::SetMarker
void SetMarker(Aws::String &&value)
Definition: DistributionIdList.h:59
Aws::CloudFront::Model::DistributionIdList::WithMaxItems
DistributionIdList & WithMaxItems(int value)
Definition: DistributionIdList.h:149
Aws::CloudFront::Model::DistributionIdList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CloudFront_EXPORTS.h
Aws::CloudFront::Model::DistributionIdList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: DistributionIdList.h:98
Aws::CloudFront::Model::DistributionIdList::GetQuantity
int GetQuantity() const
Definition: DistributionIdList.h:188
Aws::CloudFront::Model::DistributionIdList::AddItems
DistributionIdList & AddItems(const Aws::String &value)
Definition: DistributionIdList.h:239
Aws::CloudFront::Model::DistributionIdList::WithIsTruncated
DistributionIdList & WithIsTruncated(bool value)
Definition: DistributionIdList.h:182
Aws::CloudFront::Model::DistributionIdList::AddItems
DistributionIdList & AddItems(Aws::String &&value)
Definition: DistributionIdList.h:244
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::DistributionIdList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: DistributionIdList.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::DistributionIdList::SetMaxItems
void SetMaxItems(int value)
Definition: DistributionIdList.h:144
Aws::CloudFront::Model::DistributionIdList::SetItems
void SetItems(Aws::Vector< Aws::String > &&value)
Definition: DistributionIdList.h:224
Aws::CloudFront::Model::DistributionIdList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: DistributionIdList.h:92
Aws::CloudFront::Model::DistributionIdList::WithItems
DistributionIdList & WithItems(Aws::Vector< Aws::String > &&value)
Definition: DistributionIdList.h:234
Aws::CloudFront::Model::DistributionIdList::WithNextMarker
DistributionIdList & WithNextMarker(const Aws::String &value)
Definition: DistributionIdList.h:116
Aws::CloudFront::Model::DistributionIdList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: DistributionIdList.h:104
Aws::CloudFront::Model::DistributionIdList::DistributionIdList
DistributionIdList()
Aws::CloudFront::Model::DistributionIdList::DistributionIdList
DistributionIdList(const Aws::Utils::Xml::XmlNode &xmlNode)