AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldLevelEncryptionList.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/FieldLevelEncryptionSummary.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
33 {
34 public:
35 AWS_CLOUDFRONT_API FieldLevelEncryptionList();
36 AWS_CLOUDFRONT_API FieldLevelEncryptionList(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API FieldLevelEncryptionList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
48 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
49 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
50 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
51 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
52 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
53 inline FieldLevelEncryptionList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
54 inline FieldLevelEncryptionList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
55 inline FieldLevelEncryptionList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
57
59
62 inline int GetMaxItems() const{ return m_maxItems; }
63 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
64 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
65 inline FieldLevelEncryptionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
67
69
72 inline int GetQuantity() const{ return m_quantity; }
73 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
74 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
75 inline FieldLevelEncryptionList& WithQuantity(int value) { SetQuantity(value); return *this;}
77
79
82 inline const Aws::Vector<FieldLevelEncryptionSummary>& GetItems() const{ return m_items; }
83 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
84 inline void SetItems(const Aws::Vector<FieldLevelEncryptionSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
85 inline void SetItems(Aws::Vector<FieldLevelEncryptionSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
87 inline FieldLevelEncryptionList& WithItems(Aws::Vector<FieldLevelEncryptionSummary>&& value) { SetItems(std::move(value)); return *this;}
88 inline FieldLevelEncryptionList& AddItems(const FieldLevelEncryptionSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
89 inline FieldLevelEncryptionList& AddItems(FieldLevelEncryptionSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
91 private:
92
93 Aws::String m_nextMarker;
94 bool m_nextMarkerHasBeenSet = false;
95
96 int m_maxItems;
97 bool m_maxItemsHasBeenSet = false;
98
99 int m_quantity;
100 bool m_quantityHasBeenSet = false;
101
103 bool m_itemsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CloudFront
108} // namespace Aws
AWS_CLOUDFRONT_API FieldLevelEncryptionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionList & WithNextMarker(const Aws::String &value)
FieldLevelEncryptionList & AddItems(const FieldLevelEncryptionSummary &value)
FieldLevelEncryptionList & WithItems(const Aws::Vector< FieldLevelEncryptionSummary > &value)
AWS_CLOUDFRONT_API FieldLevelEncryptionList(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionList & WithQuantity(int value)
void SetItems(const Aws::Vector< FieldLevelEncryptionSummary > &value)
FieldLevelEncryptionList & WithNextMarker(const char *value)
FieldLevelEncryptionList & WithItems(Aws::Vector< FieldLevelEncryptionSummary > &&value)
FieldLevelEncryptionList & WithMaxItems(int value)
void SetItems(Aws::Vector< FieldLevelEncryptionSummary > &&value)
FieldLevelEncryptionList & AddItems(FieldLevelEncryptionSummary &&value)
FieldLevelEncryptionList & WithNextMarker(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< FieldLevelEncryptionSummary > & GetItems() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector