AWS SDK for C++  1.9.21
AWS SDK for C++
StreamingDistributionList.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 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::String& GetMarker() const{ return m_marker; }
46 
50  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
51 
55  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
56 
60  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
61 
65  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
66 
70  inline StreamingDistributionList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
71 
75  inline StreamingDistributionList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
76 
80  inline StreamingDistributionList& WithMarker(const char* value) { SetMarker(value); return *this;}
81 
82 
88  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
89 
95  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
96 
102  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
103 
109  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
110 
116  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
117 
123  inline StreamingDistributionList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
124 
130  inline StreamingDistributionList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
131 
137  inline StreamingDistributionList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
138 
139 
143  inline int GetMaxItems() const{ return m_maxItems; }
144 
148  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
149 
153  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
154 
158  inline StreamingDistributionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
159 
160 
167  inline bool GetIsTruncated() const{ return m_isTruncated; }
168 
175  inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
176 
183  inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
184 
191  inline StreamingDistributionList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
192 
193 
198  inline int GetQuantity() const{ return m_quantity; }
199 
204  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
205 
210  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
211 
216  inline StreamingDistributionList& WithQuantity(int value) { SetQuantity(value); return *this;}
217 
218 
223  inline const Aws::Vector<StreamingDistributionSummary>& GetItems() const{ return m_items; }
224 
229  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
230 
235  inline void SetItems(const Aws::Vector<StreamingDistributionSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
236 
241  inline void SetItems(Aws::Vector<StreamingDistributionSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
242 
247  inline StreamingDistributionList& WithItems(const Aws::Vector<StreamingDistributionSummary>& value) { SetItems(value); return *this;}
248 
253  inline StreamingDistributionList& WithItems(Aws::Vector<StreamingDistributionSummary>&& value) { SetItems(std::move(value)); return *this;}
254 
259  inline StreamingDistributionList& AddItems(const StreamingDistributionSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
260 
265  inline StreamingDistributionList& AddItems(StreamingDistributionSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
266 
267  private:
268 
269  Aws::String m_marker;
270  bool m_markerHasBeenSet;
271 
272  Aws::String m_nextMarker;
273  bool m_nextMarkerHasBeenSet;
274 
275  int m_maxItems;
276  bool m_maxItemsHasBeenSet;
277 
278  bool m_isTruncated;
279  bool m_isTruncatedHasBeenSet;
280 
281  int m_quantity;
282  bool m_quantityHasBeenSet;
283 
285  bool m_itemsHasBeenSet;
286  };
287 
288 } // namespace Model
289 } // namespace CloudFront
290 } // namespace Aws
Aws::CloudFront::Model::StreamingDistributionList::SetItems
void SetItems(const Aws::Vector< StreamingDistributionSummary > &value)
Definition: StreamingDistributionList.h:235
Aws::CloudFront::Model::StreamingDistributionList::GetQuantity
int GetQuantity() const
Definition: StreamingDistributionList.h:198
Aws::CloudFront::Model::StreamingDistributionList::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: StreamingDistributionList.h:50
Aws::CloudFront::Model::StreamingDistributionList::WithMaxItems
StreamingDistributionList & WithMaxItems(int value)
Definition: StreamingDistributionList.h:158
Aws::CloudFront::Model::StreamingDistributionList::AddItems
StreamingDistributionList & AddItems(const StreamingDistributionSummary &value)
Definition: StreamingDistributionList.h:259
Aws::CloudFront::Model::StreamingDistributionList::WithNextMarker
StreamingDistributionList & WithNextMarker(Aws::String &&value)
Definition: StreamingDistributionList.h:130
Aws::CloudFront::Model::StreamingDistributionList::SetMaxItems
void SetMaxItems(int value)
Definition: StreamingDistributionList.h:153
Aws::CloudFront::Model::StreamingDistributionList::WithNextMarker
StreamingDistributionList & WithNextMarker(const char *value)
Definition: StreamingDistributionList.h:137
Aws::CloudFront::Model::StreamingDistributionList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: StreamingDistributionList.h:95
Aws::CloudFront::Model::StreamingDistributionList::IsTruncatedHasBeenSet
bool IsTruncatedHasBeenSet() const
Definition: StreamingDistributionList.h:175
Aws::CloudFront::Model::StreamingDistributionList::SetMarker
void SetMarker(const char *value)
Definition: StreamingDistributionList.h:65
Aws::CloudFront::Model::StreamingDistributionList::SetMarker
void SetMarker(Aws::String &&value)
Definition: StreamingDistributionList.h:60
Aws::CloudFront::Model::StreamingDistributionList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: StreamingDistributionList.h:204
Aws::CloudFront::Model::StreamingDistributionList::GetMaxItems
int GetMaxItems() const
Definition: StreamingDistributionList.h:143
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::StreamingDistributionList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: StreamingDistributionList.h:88
Aws::CloudFront::Model::StreamingDistributionList::operator=
StreamingDistributionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::StreamingDistributionList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: StreamingDistributionList.h:148
Aws::CloudFront::Model::StreamingDistributionList::SetItems
void SetItems(Aws::Vector< StreamingDistributionSummary > &&value)
Definition: StreamingDistributionList.h:241
Aws::CloudFront::Model::StreamingDistributionList::GetItems
const Aws::Vector< StreamingDistributionSummary > & GetItems() const
Definition: StreamingDistributionList.h:223
AWSVector.h
Aws::CloudFront::Model::StreamingDistributionList::SetMarker
void SetMarker(const Aws::String &value)
Definition: StreamingDistributionList.h:55
Aws::CloudFront::Model::StreamingDistributionList::SetIsTruncated
void SetIsTruncated(bool value)
Definition: StreamingDistributionList.h:183
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::StreamingDistributionList::GetIsTruncated
bool GetIsTruncated() const
Definition: StreamingDistributionList.h:167
Aws::CloudFront::Model::StreamingDistributionList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: StreamingDistributionList.h:229
Aws::CloudFront::Model::StreamingDistributionList::StreamingDistributionList
StreamingDistributionList()
StreamingDistributionSummary.h
Aws::CloudFront::Model::StreamingDistributionList::WithMarker
StreamingDistributionList & WithMarker(const Aws::String &value)
Definition: StreamingDistributionList.h:70
Aws::CloudFront::Model::StreamingDistributionList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWSString.h
Aws::CloudFront::Model::StreamingDistributionList::AddItems
StreamingDistributionList & AddItems(StreamingDistributionSummary &&value)
Definition: StreamingDistributionList.h:265
Aws::CloudFront::Model::StreamingDistributionList::GetMarker
const Aws::String & GetMarker() const
Definition: StreamingDistributionList.h:45
Aws::CloudFront::Model::StreamingDistributionList::WithMarker
StreamingDistributionList & WithMarker(const char *value)
Definition: StreamingDistributionList.h:80
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::StreamingDistributionList
Definition: StreamingDistributionList.h:33
Aws::CloudFront::Model::StreamingDistributionList::WithIsTruncated
StreamingDistributionList & WithIsTruncated(bool value)
Definition: StreamingDistributionList.h:191
Aws::CloudFront::Model::StreamingDistributionList::SetNextMarker
void SetNextMarker(const char *value)
Definition: StreamingDistributionList.h:116
CloudFront_EXPORTS.h
Aws::CloudFront::Model::StreamingDistributionList::StreamingDistributionList
StreamingDistributionList(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::StreamingDistributionList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: StreamingDistributionList.h:109
Aws::CloudFront::Model::StreamingDistributionList::WithNextMarker
StreamingDistributionList & WithNextMarker(const Aws::String &value)
Definition: StreamingDistributionList.h:123
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::StreamingDistributionList::WithItems
StreamingDistributionList & WithItems(Aws::Vector< StreamingDistributionSummary > &&value)
Definition: StreamingDistributionList.h:253
Aws::CloudFront::Model::StreamingDistributionList::WithQuantity
StreamingDistributionList & WithQuantity(int value)
Definition: StreamingDistributionList.h:216
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::StreamingDistributionList::WithItems
StreamingDistributionList & WithItems(const Aws::Vector< StreamingDistributionSummary > &value)
Definition: StreamingDistributionList.h:247
Aws::CloudFront::Model::StreamingDistributionList::WithMarker
StreamingDistributionList & WithMarker(Aws::String &&value)
Definition: StreamingDistributionList.h:75
Aws::CloudFront::Model::StreamingDistributionList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: StreamingDistributionList.h:102
Aws::CloudFront::Model::StreamingDistributionSummary
Definition: StreamingDistributionSummary.h:37
Aws::CloudFront::Model::StreamingDistributionList::SetQuantity
void SetQuantity(int value)
Definition: StreamingDistributionList.h:210