AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ConflictingAliasesList.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ConflictingAlias.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront {
21namespace Model {
22
34 public:
35 AWS_CLOUDFRONT_API ConflictingAliasesList() = default;
36 AWS_CLOUDFRONT_API ConflictingAliasesList(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API ConflictingAliasesList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
42
48 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
49 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
50 template <typename NextMarkerT = Aws::String>
51 void SetNextMarker(NextMarkerT&& value) {
52 m_nextMarkerHasBeenSet = true;
53 m_nextMarker = std::forward<NextMarkerT>(value);
54 }
55 template <typename NextMarkerT = Aws::String>
56 ConflictingAliasesList& WithNextMarker(NextMarkerT&& value) {
57 SetNextMarker(std::forward<NextMarkerT>(value));
58 return *this;
59 }
61
63
66 inline int GetMaxItems() const { return m_maxItems; }
67 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
68 inline void SetMaxItems(int value) {
69 m_maxItemsHasBeenSet = true;
70 m_maxItems = value;
71 }
73 SetMaxItems(value);
74 return *this;
75 }
77
79
82 inline int GetQuantity() const { return m_quantity; }
83 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
84 inline void SetQuantity(int value) {
85 m_quantityHasBeenSet = true;
86 m_quantity = value;
87 }
89 SetQuantity(value);
90 return *this;
91 }
93
95
98 inline const Aws::Vector<ConflictingAlias>& GetItems() const { return m_items; }
99 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
100 template <typename ItemsT = Aws::Vector<ConflictingAlias>>
101 void SetItems(ItemsT&& value) {
102 m_itemsHasBeenSet = true;
103 m_items = std::forward<ItemsT>(value);
104 }
105 template <typename ItemsT = Aws::Vector<ConflictingAlias>>
107 SetItems(std::forward<ItemsT>(value));
108 return *this;
109 }
110 template <typename ItemsT = ConflictingAlias>
112 m_itemsHasBeenSet = true;
113 m_items.emplace_back(std::forward<ItemsT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_nextMarker;
119
120 int m_maxItems{0};
121
122 int m_quantity{0};
123
125 bool m_nextMarkerHasBeenSet = false;
126 bool m_maxItemsHasBeenSet = false;
127 bool m_quantityHasBeenSet = false;
128 bool m_itemsHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace CloudFront
133} // namespace Aws
AWS_CLOUDFRONT_API ConflictingAliasesList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API ConflictingAliasesList()=default
ConflictingAliasesList & WithItems(ItemsT &&value)
ConflictingAliasesList & WithQuantity(int value)
const Aws::Vector< ConflictingAlias > & GetItems() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ConflictingAliasesList & AddItems(ItemsT &&value)
ConflictingAliasesList & WithNextMarker(NextMarkerT &&value)
ConflictingAliasesList & WithMaxItems(int value)
AWS_CLOUDFRONT_API ConflictingAliasesList(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector