AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DistributionIdList.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDFRONT_API DistributionIdList() = default;
35 AWS_CLOUDFRONT_API DistributionIdList(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API DistributionIdList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetMarker() const { return m_marker; }
46 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
47 template<typename MarkerT = Aws::String>
48 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
49 template<typename MarkerT = Aws::String>
50 DistributionIdList& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
52
54
58 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
59 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
60 template<typename NextMarkerT = Aws::String>
61 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
62 template<typename NextMarkerT = Aws::String>
63 DistributionIdList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
65
67
70 inline int GetMaxItems() const { return m_maxItems; }
71 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
72 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
73 inline DistributionIdList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
75
77
83 inline bool GetIsTruncated() const { return m_isTruncated; }
84 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
85 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
86 inline DistributionIdList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
88
90
93 inline int GetQuantity() const { return m_quantity; }
94 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
95 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
96 inline DistributionIdList& WithQuantity(int value) { SetQuantity(value); return *this;}
98
100
103 inline const Aws::Vector<Aws::String>& GetItems() const { return m_items; }
104 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
105 template<typename ItemsT = Aws::Vector<Aws::String>>
106 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
107 template<typename ItemsT = Aws::Vector<Aws::String>>
108 DistributionIdList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
109 template<typename ItemsT = Aws::String>
110 DistributionIdList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
112 private:
113
114 Aws::String m_marker;
115 bool m_markerHasBeenSet = false;
116
117 Aws::String m_nextMarker;
118 bool m_nextMarkerHasBeenSet = false;
119
120 int m_maxItems{0};
121 bool m_maxItemsHasBeenSet = false;
122
123 bool m_isTruncated{false};
124 bool m_isTruncatedHasBeenSet = false;
125
126 int m_quantity{0};
127 bool m_quantityHasBeenSet = false;
128
130 bool m_itemsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CloudFront
135} // namespace Aws
AWS_CLOUDFRONT_API DistributionIdList()=default
AWS_CLOUDFRONT_API DistributionIdList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionIdList & AddItems(ItemsT &&value)
DistributionIdList & WithIsTruncated(bool value)
const Aws::Vector< Aws::String > & GetItems() const
DistributionIdList & WithQuantity(int value)
DistributionIdList & WithMarker(MarkerT &&value)
DistributionIdList & WithNextMarker(NextMarkerT &&value)
DistributionIdList & WithMaxItems(int value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API DistributionIdList(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionIdList & WithItems(ItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector