AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictingAliasesList.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/ConflictingAlias.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 ConflictingAliasesList();
40 AWS_CLOUDFRONT_API ConflictingAliasesList(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFRONT_API ConflictingAliasesList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
53 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
54 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
55 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
56 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
57 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
58 inline ConflictingAliasesList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
59 inline ConflictingAliasesList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
60 inline ConflictingAliasesList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
62
64
67 inline int GetMaxItems() const{ return m_maxItems; }
68 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
69 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
70 inline ConflictingAliasesList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
72
74
77 inline int GetQuantity() const{ return m_quantity; }
78 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
79 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
80 inline ConflictingAliasesList& WithQuantity(int value) { SetQuantity(value); return *this;}
82
84
87 inline const Aws::Vector<ConflictingAlias>& GetItems() const{ return m_items; }
88 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
89 inline void SetItems(const Aws::Vector<ConflictingAlias>& value) { m_itemsHasBeenSet = true; m_items = value; }
90 inline void SetItems(Aws::Vector<ConflictingAlias>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
91 inline ConflictingAliasesList& WithItems(const Aws::Vector<ConflictingAlias>& value) { SetItems(value); return *this;}
92 inline ConflictingAliasesList& WithItems(Aws::Vector<ConflictingAlias>&& value) { SetItems(std::move(value)); return *this;}
93 inline ConflictingAliasesList& AddItems(const ConflictingAlias& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
94 inline ConflictingAliasesList& AddItems(ConflictingAlias&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
96 private:
97
98 Aws::String m_nextMarker;
99 bool m_nextMarkerHasBeenSet = false;
100
101 int m_maxItems;
102 bool m_maxItemsHasBeenSet = false;
103
104 int m_quantity;
105 bool m_quantityHasBeenSet = false;
106
108 bool m_itemsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CloudFront
113} // namespace Aws
ConflictingAliasesList & AddItems(const ConflictingAlias &value)
AWS_CLOUDFRONT_API ConflictingAliasesList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConflictingAliasesList & WithQuantity(int value)
ConflictingAliasesList & WithItems(const Aws::Vector< ConflictingAlias > &value)
const Aws::Vector< ConflictingAlias > & GetItems() const
ConflictingAliasesList & WithNextMarker(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ConflictingAliasesList & AddItems(ConflictingAlias &&value)
void SetItems(const Aws::Vector< ConflictingAlias > &value)
ConflictingAliasesList & WithNextMarker(const char *value)
void SetItems(Aws::Vector< ConflictingAlias > &&value)
ConflictingAliasesList & WithNextMarker(const Aws::String &value)
ConflictingAliasesList & WithMaxItems(int value)
ConflictingAliasesList & WithItems(Aws::Vector< ConflictingAlias > &&value)
AWS_CLOUDFRONT_API ConflictingAliasesList(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector