AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidationList.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/InvalidationSummary.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 InvalidationList();
40 AWS_CLOUDFRONT_API InvalidationList(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFRONT_API InvalidationList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
51 inline const Aws::String& GetMarker() const{ return m_marker; }
52 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
53 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
54 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
55 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
56 inline InvalidationList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
57 inline InvalidationList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
58 inline InvalidationList& WithMarker(const char* value) { SetMarker(value); return *this;}
60
62
67 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
68 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
69 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
70 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
71 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
72 inline InvalidationList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
73 inline InvalidationList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
74 inline InvalidationList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
76
78
82 inline int GetMaxItems() const{ return m_maxItems; }
83 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
84 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
85 inline InvalidationList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
87
89
95 inline bool GetIsTruncated() const{ return m_isTruncated; }
96 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
97 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
98 inline InvalidationList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
100
102
106 inline int GetQuantity() const{ return m_quantity; }
107 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
108 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
109 inline InvalidationList& WithQuantity(int value) { SetQuantity(value); return *this;}
111
113
117 inline const Aws::Vector<InvalidationSummary>& GetItems() const{ return m_items; }
118 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
119 inline void SetItems(const Aws::Vector<InvalidationSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
120 inline void SetItems(Aws::Vector<InvalidationSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
121 inline InvalidationList& WithItems(const Aws::Vector<InvalidationSummary>& value) { SetItems(value); return *this;}
122 inline InvalidationList& WithItems(Aws::Vector<InvalidationSummary>&& value) { SetItems(std::move(value)); return *this;}
123 inline InvalidationList& AddItems(const InvalidationSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
124 inline InvalidationList& AddItems(InvalidationSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
126 private:
127
128 Aws::String m_marker;
129 bool m_markerHasBeenSet = false;
130
131 Aws::String m_nextMarker;
132 bool m_nextMarkerHasBeenSet = false;
133
134 int m_maxItems;
135 bool m_maxItemsHasBeenSet = false;
136
137 bool m_isTruncated;
138 bool m_isTruncatedHasBeenSet = false;
139
140 int m_quantity;
141 bool m_quantityHasBeenSet = false;
142
144 bool m_itemsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace CloudFront
149} // namespace Aws
InvalidationList & WithNextMarker(Aws::String &&value)
InvalidationList & AddItems(InvalidationSummary &&value)
const Aws::Vector< InvalidationSummary > & GetItems() const
InvalidationList & WithMarker(const char *value)
InvalidationList & AddItems(const InvalidationSummary &value)
InvalidationList & WithQuantity(int value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InvalidationList & WithNextMarker(const char *value)
void SetNextMarker(const Aws::String &value)
void SetMarker(const Aws::String &value)
InvalidationList & WithMarker(Aws::String &&value)
InvalidationList & WithMaxItems(int value)
AWS_CLOUDFRONT_API InvalidationList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidationList & WithNextMarker(const Aws::String &value)
void SetItems(Aws::Vector< InvalidationSummary > &&value)
const Aws::String & GetMarker() const
AWS_CLOUDFRONT_API InvalidationList(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidationList & WithIsTruncated(bool value)
InvalidationList & WithItems(const Aws::Vector< InvalidationSummary > &value)
void SetItems(const Aws::Vector< InvalidationSummary > &value)
const Aws::String & GetNextMarker() const
InvalidationList & WithItems(Aws::Vector< InvalidationSummary > &&value)
InvalidationList & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector