AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingDistributionList.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudfront/model/StreamingDistributionSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDFRONT_API StreamingDistributionList();
36 AWS_CLOUDFRONT_API StreamingDistributionList(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetMarker() const{ return m_marker; }
47 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
48 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
49 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
50 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
51 inline StreamingDistributionList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
52 inline StreamingDistributionList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
53 inline StreamingDistributionList& WithMarker(const char* value) { SetMarker(value); return *this;}
55
57
62 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
63 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
64 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
65 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
66 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
67 inline StreamingDistributionList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
68 inline StreamingDistributionList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
69 inline StreamingDistributionList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
71
73
76 inline int GetMaxItems() const{ return m_maxItems; }
77 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
78 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
79 inline StreamingDistributionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
81
83
89 inline bool GetIsTruncated() const{ return m_isTruncated; }
90 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
91 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
92 inline StreamingDistributionList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
94
96
100 inline int GetQuantity() const{ return m_quantity; }
101 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
102 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
103 inline StreamingDistributionList& WithQuantity(int value) { SetQuantity(value); return *this;}
105
107
112 inline const Aws::Vector<StreamingDistributionSummary>& GetItems() const{ return m_items; }
113 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
114 inline void SetItems(const Aws::Vector<StreamingDistributionSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
115 inline void SetItems(Aws::Vector<StreamingDistributionSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
118 inline StreamingDistributionList& AddItems(const StreamingDistributionSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
119 inline StreamingDistributionList& AddItems(StreamingDistributionSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
121 private:
122
123 Aws::String m_marker;
124 bool m_markerHasBeenSet = false;
125
126 Aws::String m_nextMarker;
127 bool m_nextMarkerHasBeenSet = false;
128
129 int m_maxItems;
130 bool m_maxItemsHasBeenSet = false;
131
132 bool m_isTruncated;
133 bool m_isTruncatedHasBeenSet = false;
134
135 int m_quantity;
136 bool m_quantityHasBeenSet = false;
137
139 bool m_itemsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace CloudFront
144} // namespace Aws
StreamingDistributionList & WithMarker(Aws::String &&value)
StreamingDistributionList & AddItems(StreamingDistributionSummary &&value)
AWS_CLOUDFRONT_API StreamingDistributionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionList & WithItems(const Aws::Vector< StreamingDistributionSummary > &value)
StreamingDistributionList & WithMaxItems(int value)
StreamingDistributionList & AddItems(const StreamingDistributionSummary &value)
StreamingDistributionList & WithNextMarker(Aws::String &&value)
StreamingDistributionList & WithNextMarker(const Aws::String &value)
StreamingDistributionList & WithMarker(const Aws::String &value)
void SetItems(Aws::Vector< StreamingDistributionSummary > &&value)
StreamingDistributionList & WithItems(Aws::Vector< StreamingDistributionSummary > &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingDistributionList & WithIsTruncated(bool value)
void SetItems(const Aws::Vector< StreamingDistributionSummary > &value)
StreamingDistributionList & WithMarker(const char *value)
StreamingDistributionList & WithNextMarker(const char *value)
AWS_CLOUDFRONT_API StreamingDistributionList(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< StreamingDistributionSummary > & GetItems() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector