AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MarkerT = Aws::String>
49 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
50 template<typename MarkerT = Aws::String>
51 StreamingDistributionList& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
53
55
60 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
61 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
62 template<typename NextMarkerT = Aws::String>
63 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
64 template<typename NextMarkerT = Aws::String>
65 StreamingDistributionList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
67
69
72 inline int GetMaxItems() const { return m_maxItems; }
73 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
74 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
75 inline StreamingDistributionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
77
79
85 inline bool GetIsTruncated() const { return m_isTruncated; }
86 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
87 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
88 inline StreamingDistributionList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
90
92
96 inline int GetQuantity() const { return m_quantity; }
97 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
98 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
99 inline StreamingDistributionList& WithQuantity(int value) { SetQuantity(value); return *this;}
101
103
108 inline const Aws::Vector<StreamingDistributionSummary>& GetItems() const { return m_items; }
109 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
110 template<typename ItemsT = Aws::Vector<StreamingDistributionSummary>>
111 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
112 template<typename ItemsT = Aws::Vector<StreamingDistributionSummary>>
113 StreamingDistributionList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
114 template<typename ItemsT = StreamingDistributionSummary>
115 StreamingDistributionList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
117 private:
118
119 Aws::String m_marker;
120 bool m_markerHasBeenSet = false;
121
122 Aws::String m_nextMarker;
123 bool m_nextMarkerHasBeenSet = false;
124
125 int m_maxItems{0};
126 bool m_maxItemsHasBeenSet = false;
127
128 bool m_isTruncated{false};
129 bool m_isTruncatedHasBeenSet = false;
130
131 int m_quantity{0};
132 bool m_quantityHasBeenSet = false;
133
135 bool m_itemsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace CloudFront
140} // namespace Aws
StreamingDistributionList & WithNextMarker(NextMarkerT &&value)
AWS_CLOUDFRONT_API StreamingDistributionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionList & WithItems(ItemsT &&value)
StreamingDistributionList & WithMaxItems(int value)
AWS_CLOUDFRONT_API StreamingDistributionList()=default
StreamingDistributionList & AddItems(ItemsT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingDistributionList & WithIsTruncated(bool value)
StreamingDistributionList & WithMarker(MarkerT &&value)
AWS_CLOUDFRONT_API StreamingDistributionList(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< StreamingDistributionSummary > & GetItems() const
StreamingDistributionList & WithQuantity(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector