AWS SDK for C++  1.9.19
AWS SDK for C++
FieldLevelEncryptionProfileList.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 FieldLevelEncryptionProfileList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
83 
89  inline FieldLevelEncryptionProfileList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
90 
96  inline FieldLevelEncryptionProfileList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
97 
98 
103  inline int GetMaxItems() const{ return m_maxItems; }
104 
109  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
110 
115  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
116 
121  inline FieldLevelEncryptionProfileList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
122 
123 
127  inline int GetQuantity() const{ return m_quantity; }
128 
132  inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
133 
137  inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
138 
142  inline FieldLevelEncryptionProfileList& WithQuantity(int value) { SetQuantity(value); return *this;}
143 
144 
148  inline const Aws::Vector<FieldLevelEncryptionProfileSummary>& GetItems() const{ return m_items; }
149 
153  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
154 
158  inline void SetItems(const Aws::Vector<FieldLevelEncryptionProfileSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
159 
163  inline void SetItems(Aws::Vector<FieldLevelEncryptionProfileSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
164 
168  inline FieldLevelEncryptionProfileList& WithItems(const Aws::Vector<FieldLevelEncryptionProfileSummary>& value) { SetItems(value); return *this;}
169 
173  inline FieldLevelEncryptionProfileList& WithItems(Aws::Vector<FieldLevelEncryptionProfileSummary>&& value) { SetItems(std::move(value)); return *this;}
174 
178  inline FieldLevelEncryptionProfileList& AddItems(const FieldLevelEncryptionProfileSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
179 
183  inline FieldLevelEncryptionProfileList& AddItems(FieldLevelEncryptionProfileSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
184 
185  private:
186 
187  Aws::String m_nextMarker;
188  bool m_nextMarkerHasBeenSet;
189 
190  int m_maxItems;
191  bool m_maxItemsHasBeenSet;
192 
193  int m_quantity;
194  bool m_quantityHasBeenSet;
195 
197  bool m_itemsHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace CloudFront
202 } // namespace Aws
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetMaxItems
void SetMaxItems(int value)
Definition: FieldLevelEncryptionProfileList.h:115
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithItems
FieldLevelEncryptionProfileList & WithItems(const Aws::Vector< FieldLevelEncryptionProfileSummary > &value)
Definition: FieldLevelEncryptionProfileList.h:168
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: FieldLevelEncryptionProfileList.h:153
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: FieldLevelEncryptionProfileList.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::QuantityHasBeenSet
bool QuantityHasBeenSet() const
Definition: FieldLevelEncryptionProfileList.h:132
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::FieldLevelEncryptionProfileList
FieldLevelEncryptionProfileList(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetQuantity
void SetQuantity(int value)
Definition: FieldLevelEncryptionProfileList.h:137
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::FieldLevelEncryptionProfileList
FieldLevelEncryptionProfileList()
AWSVector.h
FieldLevelEncryptionProfileSummary.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::operator=
FieldLevelEncryptionProfileList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithNextMarker
FieldLevelEncryptionProfileList & WithNextMarker(Aws::String &&value)
Definition: FieldLevelEncryptionProfileList.h:89
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithQuantity
FieldLevelEncryptionProfileList & WithQuantity(int value)
Definition: FieldLevelEncryptionProfileList.h:142
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetItems
void SetItems(const Aws::Vector< FieldLevelEncryptionProfileSummary > &value)
Definition: FieldLevelEncryptionProfileList.h:158
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::AddItems
FieldLevelEncryptionProfileList & AddItems(const FieldLevelEncryptionProfileSummary &value)
Definition: FieldLevelEncryptionProfileList.h:178
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionProfileList
Definition: FieldLevelEncryptionProfileList.h:33
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary
Definition: FieldLevelEncryptionProfileSummary.h:33
AWSString.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetItems
void SetItems(Aws::Vector< FieldLevelEncryptionProfileSummary > &&value)
Definition: FieldLevelEncryptionProfileList.h:163
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::GetItems
const Aws::Vector< FieldLevelEncryptionProfileSummary > & GetItems() const
Definition: FieldLevelEncryptionProfileList.h:148
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithItems
FieldLevelEncryptionProfileList & WithItems(Aws::Vector< FieldLevelEncryptionProfileSummary > &&value)
Definition: FieldLevelEncryptionProfileList.h:173
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: FieldLevelEncryptionProfileList.h:54
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithNextMarker
FieldLevelEncryptionProfileList & WithNextMarker(const Aws::String &value)
Definition: FieldLevelEncryptionProfileList.h:82
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithMaxItems
FieldLevelEncryptionProfileList & WithMaxItems(int value)
Definition: FieldLevelEncryptionProfileList.h:121
CloudFront_EXPORTS.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: FieldLevelEncryptionProfileList.h:68
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::GetMaxItems
int GetMaxItems() const
Definition: FieldLevelEncryptionProfileList.h:103
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetNextMarker
void SetNextMarker(const char *value)
Definition: FieldLevelEncryptionProfileList.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: FieldLevelEncryptionProfileList.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::WithNextMarker
FieldLevelEncryptionProfileList & WithNextMarker(const char *value)
Definition: FieldLevelEncryptionProfileList.h:96
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: FieldLevelEncryptionProfileList.h:47
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::GetQuantity
int GetQuantity() const
Definition: FieldLevelEncryptionProfileList.h:127
Aws::CloudFront::Model::FieldLevelEncryptionProfileList::AddItems
FieldLevelEncryptionProfileList & AddItems(FieldLevelEncryptionProfileSummary &&value)
Definition: FieldLevelEncryptionProfileList.h:183