AWS SDK for C++  1.9.20
AWS SDK for C++
InvalidationList.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 
50  inline const Aws::String& GetMarker() const{ return m_marker; }
51 
56  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
57 
62  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
63 
68  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
69 
74  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
75 
80  inline InvalidationList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
81 
86  inline InvalidationList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
87 
92  inline InvalidationList& WithMarker(const char* value) { SetMarker(value); return *this;}
93 
94 
100  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
101 
107  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
108 
114  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
115 
121  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
122 
128  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
129 
135  inline InvalidationList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
136 
142  inline InvalidationList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
143 
149  inline InvalidationList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
150 
151 
156  inline int GetMaxItems() const{ return m_maxItems; }
157 
162  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
163 
168  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
169 
174  inline InvalidationList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
175 
176 
183  inline bool GetIsTruncated() const{ return m_isTruncated; }
184 
191  inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
192 
199  inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
200 
207  inline InvalidationList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
208 
209 
214  inline int GetQuantity() const{ return m_quantity; }
215 
220  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
221 
226  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
227 
232  inline InvalidationList& WithQuantity(int value) { SetQuantity(value); return *this;}
233 
234 
239  inline const Aws::Vector<InvalidationSummary>& GetItems() const{ return m_items; }
240 
245  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
246 
251  inline void SetItems(const Aws::Vector<InvalidationSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
252 
257  inline void SetItems(Aws::Vector<InvalidationSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
258 
263  inline InvalidationList& WithItems(const Aws::Vector<InvalidationSummary>& value) { SetItems(value); return *this;}
264 
269  inline InvalidationList& WithItems(Aws::Vector<InvalidationSummary>&& value) { SetItems(std::move(value)); return *this;}
270 
275  inline InvalidationList& AddItems(const InvalidationSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
276 
281  inline InvalidationList& AddItems(InvalidationSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
282 
283  private:
284 
285  Aws::String m_marker;
286  bool m_markerHasBeenSet;
287 
288  Aws::String m_nextMarker;
289  bool m_nextMarkerHasBeenSet;
290 
291  int m_maxItems;
292  bool m_maxItemsHasBeenSet;
293 
294  bool m_isTruncated;
295  bool m_isTruncatedHasBeenSet;
296 
297  int m_quantity;
298  bool m_quantityHasBeenSet;
299 
301  bool m_itemsHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace CloudFront
306 } // namespace Aws
Aws::CloudFront::Model::InvalidationList::SetItems
void SetItems(const Aws::Vector< InvalidationSummary > &value)
Definition: InvalidationList.h:251
Aws::CloudFront::Model::InvalidationList::GetItems
const Aws::Vector< InvalidationSummary > & GetItems() const
Definition: InvalidationList.h:239
Aws::CloudFront::Model::InvalidationList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: InvalidationList.h:220
Aws::CloudFront::Model::InvalidationList::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: InvalidationList.h:56
Aws::CloudFront::Model::InvalidationList::WithIsTruncated
InvalidationList & WithIsTruncated(bool value)
Definition: InvalidationList.h:207
Aws::CloudFront::Model::InvalidationList::SetMarker
void SetMarker(Aws::String &&value)
Definition: InvalidationList.h:68
Aws::CloudFront::Model::InvalidationList::SetMaxItems
void SetMaxItems(int value)
Definition: InvalidationList.h:168
Aws::CloudFront::Model::InvalidationList
Definition: InvalidationList.h:37
Aws::CloudFront::Model::InvalidationList::AddItems
InvalidationList & AddItems(InvalidationSummary &&value)
Definition: InvalidationList.h:281
Aws::CloudFront::Model::InvalidationList::WithMarker
InvalidationList & WithMarker(const Aws::String &value)
Definition: InvalidationList.h:80
Aws::CloudFront::Model::InvalidationList::SetMarker
void SetMarker(const Aws::String &value)
Definition: InvalidationList.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::InvalidationList::SetItems
void SetItems(Aws::Vector< InvalidationSummary > &&value)
Definition: InvalidationList.h:257
Aws::CloudFront::Model::InvalidationList::WithMaxItems
InvalidationList & WithMaxItems(int value)
Definition: InvalidationList.h:174
Aws::CloudFront::Model::InvalidationList::InvalidationList
InvalidationList()
AWSVector.h
Aws::CloudFront::Model::InvalidationSummary
Definition: InvalidationSummary.h:32
Aws::CloudFront::Model::InvalidationList::WithNextMarker
InvalidationList & WithNextMarker(Aws::String &&value)
Definition: InvalidationList.h:142
Aws::CloudFront::Model::InvalidationList::InvalidationList
InvalidationList(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::InvalidationList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: InvalidationList.h:100
Aws::CloudFront::Model::InvalidationList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: InvalidationList.h:245
Aws::CloudFront::Model::InvalidationList::WithItems
InvalidationList & WithItems(const Aws::Vector< InvalidationSummary > &value)
Definition: InvalidationList.h:263
Aws::CloudFront::Model::InvalidationList::WithMarker
InvalidationList & WithMarker(const char *value)
Definition: InvalidationList.h:92
Aws::CloudFront::Model::InvalidationList::SetQuantity
void SetQuantity(int value)
Definition: InvalidationList.h:226
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::InvalidationList::operator=
InvalidationList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::InvalidationList::GetMarker
const Aws::String & GetMarker() const
Definition: InvalidationList.h:50
Aws::CloudFront::Model::InvalidationList::WithNextMarker
InvalidationList & WithNextMarker(const char *value)
Definition: InvalidationList.h:149
Aws::CloudFront::Model::InvalidationList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::InvalidationList::GetMaxItems
int GetMaxItems() const
Definition: InvalidationList.h:156
Aws::CloudFront::Model::InvalidationList::AddItems
InvalidationList & AddItems(const InvalidationSummary &value)
Definition: InvalidationList.h:275
Aws::CloudFront::Model::InvalidationList::IsTruncatedHasBeenSet
bool IsTruncatedHasBeenSet() const
Definition: InvalidationList.h:191
AWSString.h
Aws::CloudFront::Model::InvalidationList::WithItems
InvalidationList & WithItems(Aws::Vector< InvalidationSummary > &&value)
Definition: InvalidationList.h:269
Aws::CloudFront::Model::InvalidationList::GetQuantity
int GetQuantity() const
Definition: InvalidationList.h:214
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::InvalidationList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: InvalidationList.h:107
Aws::CloudFront::Model::InvalidationList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: InvalidationList.h:121
Aws::CloudFront::Model::InvalidationList::WithQuantity
InvalidationList & WithQuantity(int value)
Definition: InvalidationList.h:232
CloudFront_EXPORTS.h
Aws::CloudFront::Model::InvalidationList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: InvalidationList.h:114
Aws::CloudFront::Model::InvalidationList::SetNextMarker
void SetNextMarker(const char *value)
Definition: InvalidationList.h:128
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::InvalidationList::WithMarker
InvalidationList & WithMarker(Aws::String &&value)
Definition: InvalidationList.h:86
Aws::CloudFront::Model::InvalidationList::SetIsTruncated
void SetIsTruncated(bool value)
Definition: InvalidationList.h:199
Aws::CloudFront::Model::InvalidationList::GetIsTruncated
bool GetIsTruncated() const
Definition: InvalidationList.h:183
Aws::CloudFront::Model::InvalidationList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: InvalidationList.h:162
Aws::CloudFront::Model::InvalidationList::WithNextMarker
InvalidationList & WithNextMarker(const Aws::String &value)
Definition: InvalidationList.h:135
Aws::CloudFront::Model::InvalidationList::SetMarker
void SetMarker(const char *value)
Definition: InvalidationList.h:74
InvalidationSummary.h