AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryStringCacheKeys.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_CLOUDFRONT_API QueryStringCacheKeys();
43 AWS_CLOUDFRONT_API QueryStringCacheKeys(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_CLOUDFRONT_API QueryStringCacheKeys& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
47
48
50
54 inline int GetQuantity() const{ return m_quantity; }
55 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
56 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
57 inline QueryStringCacheKeys& WithQuantity(int value) { SetQuantity(value); return *this;}
59
61
66 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
67 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
68 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
69 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
70 inline QueryStringCacheKeys& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
71 inline QueryStringCacheKeys& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
72 inline QueryStringCacheKeys& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
73 inline QueryStringCacheKeys& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
74 inline QueryStringCacheKeys& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
76 private:
77
78 int m_quantity;
79 bool m_quantityHasBeenSet = false;
80
82 bool m_itemsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CloudFront
87} // namespace Aws
AWS_CLOUDFRONT_API QueryStringCacheKeys & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
QueryStringCacheKeys & WithItems(Aws::Vector< Aws::String > &&value)
void SetItems(const Aws::Vector< Aws::String > &value)
void SetItems(Aws::Vector< Aws::String > &&value)
QueryStringCacheKeys & WithQuantity(int value)
QueryStringCacheKeys & AddItems(Aws::String &&value)
const Aws::Vector< Aws::String > & GetItems() const
AWS_CLOUDFRONT_API QueryStringCacheKeys(const Aws::Utils::Xml::XmlNode &xmlNode)
QueryStringCacheKeys & AddItems(const char *value)
QueryStringCacheKeys & AddItems(const Aws::String &value)
QueryStringCacheKeys & WithItems(const Aws::Vector< Aws::String > &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector