AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NextMarkerT = Aws::String>
51 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
52 template<typename NextMarkerT = Aws::String>
53 FieldLevelEncryptionList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
55
57
60 inline int GetMaxItems() const { return m_maxItems; }
61 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
62 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
63 inline FieldLevelEncryptionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
65
67
70 inline int GetQuantity() const { return m_quantity; }
71 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
72 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
73 inline FieldLevelEncryptionList& WithQuantity(int value) { SetQuantity(value); return *this;}
75
77
80 inline const Aws::Vector<FieldLevelEncryptionSummary>& GetItems() const { return m_items; }
81 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
82 template<typename ItemsT = Aws::Vector<FieldLevelEncryptionSummary>>
83 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
84 template<typename ItemsT = Aws::Vector<FieldLevelEncryptionSummary>>
85 FieldLevelEncryptionList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
86 template<typename ItemsT = FieldLevelEncryptionSummary>
87 FieldLevelEncryptionList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
89 private:
90
91 Aws::String m_nextMarker;
92 bool m_nextMarkerHasBeenSet = false;
93
94 int m_maxItems{0};
95 bool m_maxItemsHasBeenSet = false;
96
97 int m_quantity{0};
98 bool m_quantityHasBeenSet = false;
99
101 bool m_itemsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CloudFront
106} // namespace Aws
AWS_CLOUDFRONT_API FieldLevelEncryptionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API FieldLevelEncryptionList(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionList & WithQuantity(int value)
FieldLevelEncryptionList & WithMaxItems(int value)
FieldLevelEncryptionList & AddItems(ItemsT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionList()=default
FieldLevelEncryptionList & WithItems(ItemsT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< FieldLevelEncryptionSummary > & GetItems() const
FieldLevelEncryptionList & WithNextMarker(NextMarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector