AWS SDK for C++  1.9.67
AWS SDK for C++
FieldLevelEncryptionList.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace CloudFront
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
47  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
48 
54  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
55 
61  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
62 
68  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
69 
75  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
76 
82  inline FieldLevelEncryptionList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
83 
89  inline FieldLevelEncryptionList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
90 
96  inline FieldLevelEncryptionList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
97 
98 
102  inline int GetMaxItems() const{ return m_maxItems; }
103 
107  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
108 
112  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
113 
117  inline FieldLevelEncryptionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
118 
119 
123  inline int GetQuantity() const{ return m_quantity; }
124 
128  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
129 
133  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
134 
138  inline FieldLevelEncryptionList& WithQuantity(int value) { SetQuantity(value); return *this;}
139 
140 
144  inline const Aws::Vector<FieldLevelEncryptionSummary>& GetItems() const{ return m_items; }
145 
149  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
150 
154  inline void SetItems(const Aws::Vector<FieldLevelEncryptionSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
155 
159  inline void SetItems(Aws::Vector<FieldLevelEncryptionSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
160 
164  inline FieldLevelEncryptionList& WithItems(const Aws::Vector<FieldLevelEncryptionSummary>& value) { SetItems(value); return *this;}
165 
169  inline FieldLevelEncryptionList& WithItems(Aws::Vector<FieldLevelEncryptionSummary>&& value) { SetItems(std::move(value)); return *this;}
170 
174  inline FieldLevelEncryptionList& AddItems(const FieldLevelEncryptionSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
175 
179  inline FieldLevelEncryptionList& AddItems(FieldLevelEncryptionSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
180 
181  private:
182 
183  Aws::String m_nextMarker;
184  bool m_nextMarkerHasBeenSet;
185 
186  int m_maxItems;
187  bool m_maxItemsHasBeenSet;
188 
189  int m_quantity;
190  bool m_quantityHasBeenSet;
191 
193  bool m_itemsHasBeenSet;
194  };
195 
196 } // namespace Model
197 } // namespace CloudFront
198 } // namespace Aws
Aws::CloudFront::Model::FieldLevelEncryptionList::GetItems
const Aws::Vector< FieldLevelEncryptionSummary > & GetItems() const
Definition: FieldLevelEncryptionList.h:144
Aws::CloudFront::Model::FieldLevelEncryptionList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: FieldLevelEncryptionList.h:107
Aws::CloudFront::Model::FieldLevelEncryptionList::SetQuantity
void SetQuantity(int value)
Definition: FieldLevelEncryptionList.h:133
Aws::CloudFront::Model::FieldLevelEncryptionList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: FieldLevelEncryptionList.h:47
Aws::CloudFront::Model::FieldLevelEncryptionList::WithNextMarker
FieldLevelEncryptionList & WithNextMarker(const Aws::String &value)
Definition: FieldLevelEncryptionList.h:82
Aws::CloudFront::Model::FieldLevelEncryptionList::WithNextMarker
FieldLevelEncryptionList & WithNextMarker(const char *value)
Definition: FieldLevelEncryptionList.h:96
Aws::CloudFront::Model::FieldLevelEncryptionList
Definition: FieldLevelEncryptionList.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::FieldLevelEncryptionSummary
Definition: FieldLevelEncryptionSummary.h:34
Aws::CloudFront::Model::FieldLevelEncryptionList::WithItems
FieldLevelEncryptionList & WithItems(const Aws::Vector< FieldLevelEncryptionSummary > &value)
Definition: FieldLevelEncryptionList.h:164
Aws::CloudFront::Model::FieldLevelEncryptionList::AddItems
FieldLevelEncryptionList & AddItems(const FieldLevelEncryptionSummary &value)
Definition: FieldLevelEncryptionList.h:174
AWSVector.h
Aws::CloudFront::Model::FieldLevelEncryptionList::FieldLevelEncryptionList
FieldLevelEncryptionList()
FieldLevelEncryptionSummary.h
Aws::CloudFront::Model::FieldLevelEncryptionList::WithMaxItems
FieldLevelEncryptionList & WithMaxItems(int value)
Definition: FieldLevelEncryptionList.h:117
Aws::CloudFront::Model::FieldLevelEncryptionList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: FieldLevelEncryptionList.h:61
Aws::CloudFront::Model::FieldLevelEncryptionList::WithQuantity
FieldLevelEncryptionList & WithQuantity(int value)
Definition: FieldLevelEncryptionList.h:138
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionList::WithNextMarker
FieldLevelEncryptionList & WithNextMarker(Aws::String &&value)
Definition: FieldLevelEncryptionList.h:89
Aws::CloudFront::Model::FieldLevelEncryptionList::GetMaxItems
int GetMaxItems() const
Definition: FieldLevelEncryptionList.h:102
Aws::CloudFront::Model::FieldLevelEncryptionList::SetItems
void SetItems(const Aws::Vector< FieldLevelEncryptionSummary > &value)
Definition: FieldLevelEncryptionList.h:154
Aws::CloudFront::Model::FieldLevelEncryptionList::SetNextMarker
void SetNextMarker(const char *value)
Definition: FieldLevelEncryptionList.h:75
Aws::CloudFront::Model::FieldLevelEncryptionList::FieldLevelEncryptionList
FieldLevelEncryptionList(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionList::WithItems
FieldLevelEncryptionList & WithItems(Aws::Vector< FieldLevelEncryptionSummary > &&value)
Definition: FieldLevelEncryptionList.h:169
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionList::operator=
FieldLevelEncryptionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: FieldLevelEncryptionList.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionList::GetQuantity
int GetQuantity() const
Definition: FieldLevelEncryptionList.h:123
Aws::CloudFront::Model::FieldLevelEncryptionList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: FieldLevelEncryptionList.h:149
Aws::CloudFront::Model::FieldLevelEncryptionList::SetItems
void SetItems(Aws::Vector< FieldLevelEncryptionSummary > &&value)
Definition: FieldLevelEncryptionList.h:159
Aws::CloudFront::Model::FieldLevelEncryptionList::AddItems
FieldLevelEncryptionList & AddItems(FieldLevelEncryptionSummary &&value)
Definition: FieldLevelEncryptionList.h:179
Aws::CloudFront::Model::FieldLevelEncryptionList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: FieldLevelEncryptionList.h:54
Aws::CloudFront::Model::FieldLevelEncryptionList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: FieldLevelEncryptionList.h:128
Aws::CloudFront::Model::FieldLevelEncryptionList::SetMaxItems
void SetMaxItems(int value)
Definition: FieldLevelEncryptionList.h:112