AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConflictingAliasesList.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/ConflictingAlias.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
38 {
39 public:
40 AWS_CLOUDFRONT_API ConflictingAliasesList() = default;
41 AWS_CLOUDFRONT_API ConflictingAliasesList(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_CLOUDFRONT_API ConflictingAliasesList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
45
46
48
54 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
55 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
56 template<typename NextMarkerT = Aws::String>
57 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
58 template<typename NextMarkerT = Aws::String>
59 ConflictingAliasesList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
61
63
66 inline int GetMaxItems() const { return m_maxItems; }
67 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
68 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
69 inline ConflictingAliasesList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
71
73
76 inline int GetQuantity() const { return m_quantity; }
77 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
78 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
79 inline ConflictingAliasesList& WithQuantity(int value) { SetQuantity(value); return *this;}
81
83
86 inline const Aws::Vector<ConflictingAlias>& GetItems() const { return m_items; }
87 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
88 template<typename ItemsT = Aws::Vector<ConflictingAlias>>
89 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
90 template<typename ItemsT = Aws::Vector<ConflictingAlias>>
91 ConflictingAliasesList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
92 template<typename ItemsT = ConflictingAlias>
93 ConflictingAliasesList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
95 private:
96
97 Aws::String m_nextMarker;
98 bool m_nextMarkerHasBeenSet = false;
99
100 int m_maxItems{0};
101 bool m_maxItemsHasBeenSet = false;
102
103 int m_quantity{0};
104 bool m_quantityHasBeenSet = false;
105
107 bool m_itemsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CloudFront
112} // 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