AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
48 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
49 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
50 inline DistributionIdList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
51 inline DistributionIdList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
52 inline DistributionIdList& WithMarker(const char* value) { SetMarker(value); return *this;}
54
56
60 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
61 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
62 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
63 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
64 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
65 inline DistributionIdList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
66 inline DistributionIdList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
67 inline DistributionIdList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
69
71
74 inline int GetMaxItems() const{ return m_maxItems; }
75 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
76 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
77 inline DistributionIdList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
79
81
87 inline bool GetIsTruncated() const{ return m_isTruncated; }
88 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
89 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
90 inline DistributionIdList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
92
94
97 inline int GetQuantity() const{ return m_quantity; }
98 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
99 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
100 inline DistributionIdList& WithQuantity(int value) { SetQuantity(value); return *this;}
102
104
107 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
108 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
109 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
110 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
111 inline DistributionIdList& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
112 inline DistributionIdList& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
113 inline DistributionIdList& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
114 inline DistributionIdList& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
115 inline DistributionIdList& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(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;
126 bool m_maxItemsHasBeenSet = false;
127
128 bool m_isTruncated;
129 bool m_isTruncatedHasBeenSet = false;
130
131 int m_quantity;
132 bool m_quantityHasBeenSet = false;
133
135 bool m_itemsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace CloudFront
140} // namespace Aws
DistributionIdList & WithMarker(const char *value)
DistributionIdList & AddItems(const Aws::String &value)
DistributionIdList & WithNextMarker(const char *value)
DistributionIdList & WithItems(const Aws::Vector< Aws::String > &value)
DistributionIdList & WithMarker(Aws::String &&value)
void SetMarker(const Aws::String &value)
AWS_CLOUDFRONT_API DistributionIdList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetItems(Aws::Vector< Aws::String > &&value)
DistributionIdList & WithIsTruncated(bool value)
DistributionIdList & WithItems(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetItems() const
DistributionIdList & WithQuantity(int value)
DistributionIdList & WithNextMarker(const Aws::String &value)
void SetNextMarker(const Aws::String &value)
DistributionIdList & AddItems(Aws::String &&value)
DistributionIdList & AddItems(const char *value)
DistributionIdList & WithNextMarker(Aws::String &&value)
DistributionIdList & WithMarker(const Aws::String &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)
void SetItems(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector