AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
55 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
56 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
57 inline PublicKeyList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
58 inline PublicKeyList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
59 inline PublicKeyList& WithNextMarker(const char* value) { SetNextMarker(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 PublicKeyList& 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 PublicKeyList& WithQuantity(int value) { SetQuantity(value); return *this;}
81
83
86 inline const Aws::Vector<PublicKeySummary>& GetItems() const{ return m_items; }
87 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
88 inline void SetItems(const Aws::Vector<PublicKeySummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
89 inline void SetItems(Aws::Vector<PublicKeySummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
90 inline PublicKeyList& WithItems(const Aws::Vector<PublicKeySummary>& value) { SetItems(value); return *this;}
91 inline PublicKeyList& WithItems(Aws::Vector<PublicKeySummary>&& value) { SetItems(std::move(value)); return *this;}
92 inline PublicKeyList& AddItems(const PublicKeySummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
93 inline PublicKeyList& AddItems(PublicKeySummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
95 private:
96
97 Aws::String m_nextMarker;
98 bool m_nextMarkerHasBeenSet = false;
99
100 int m_maxItems;
101 bool m_maxItemsHasBeenSet = false;
102
103 int m_quantity;
104 bool m_quantityHasBeenSet = false;
105
107 bool m_itemsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CloudFront
112} // namespace Aws
void SetNextMarker(Aws::String &&value)
PublicKeyList & WithItems(Aws::Vector< PublicKeySummary > &&value)
AWS_CLOUDFRONT_API PublicKeyList(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicKeyList & WithItems(const Aws::Vector< PublicKeySummary > &value)
PublicKeyList & WithNextMarker(const Aws::String &value)
const Aws::String & GetNextMarker() const
const Aws::Vector< PublicKeySummary > & GetItems() const
PublicKeyList & AddItems(PublicKeySummary &&value)
PublicKeyList & WithNextMarker(const char *value)
PublicKeyList & WithMaxItems(int value)
AWS_CLOUDFRONT_API PublicKeyList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetItems(const Aws::Vector< PublicKeySummary > &value)
PublicKeyList & WithNextMarker(Aws::String &&value)
void SetNextMarker(const Aws::String &value)
void SetNextMarker(const char *value)
PublicKeyList & AddItems(const PublicKeySummary &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
PublicKeyList & WithQuantity(int value)
void SetItems(Aws::Vector< PublicKeySummary > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector