AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PublicKeyList.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/PublicKeySummary.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
37 {
38 public:
39 AWS_CLOUDFRONT_API PublicKeyList() = default;
40 AWS_CLOUDFRONT_API PublicKeyList(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFRONT_API PublicKeyList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
52 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
53 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
54 template<typename NextMarkerT = Aws::String>
55 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
56 template<typename NextMarkerT = Aws::String>
57 PublicKeyList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
59
61
64 inline int GetMaxItems() const { return m_maxItems; }
65 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
66 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
67 inline PublicKeyList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
69
71
74 inline int GetQuantity() const { return m_quantity; }
75 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
76 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
77 inline PublicKeyList& WithQuantity(int value) { SetQuantity(value); return *this;}
79
81
84 inline const Aws::Vector<PublicKeySummary>& GetItems() const { return m_items; }
85 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
86 template<typename ItemsT = Aws::Vector<PublicKeySummary>>
87 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
88 template<typename ItemsT = Aws::Vector<PublicKeySummary>>
89 PublicKeyList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
90 template<typename ItemsT = PublicKeySummary>
91 PublicKeyList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
93 private:
94
95 Aws::String m_nextMarker;
96 bool m_nextMarkerHasBeenSet = false;
97
98 int m_maxItems{0};
99 bool m_maxItemsHasBeenSet = false;
100
101 int m_quantity{0};
102 bool m_quantityHasBeenSet = false;
103
105 bool m_itemsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudFront
110} // namespace Aws
PublicKeyList & WithNextMarker(NextMarkerT &&value)
AWS_CLOUDFRONT_API PublicKeyList(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNextMarker(NextMarkerT &&value)
const Aws::String & GetNextMarker() const
const Aws::Vector< PublicKeySummary > & GetItems() const
PublicKeyList & WithMaxItems(int value)
PublicKeyList & AddItems(ItemsT &&value)
AWS_CLOUDFRONT_API PublicKeyList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API PublicKeyList()=default
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
PublicKeyList & WithQuantity(int value)
PublicKeyList & WithItems(ItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector