AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Paths.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
35 class Paths
36 {
37 public:
38 AWS_CLOUDFRONT_API Paths();
39 AWS_CLOUDFRONT_API Paths(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFRONT_API Paths& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
50 inline int GetQuantity() const{ return m_quantity; }
51 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
52 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
53 inline Paths& WithQuantity(int value) { SetQuantity(value); return *this;}
55
57
61 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
62 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
63 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
64 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
65 inline Paths& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
66 inline Paths& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
67 inline Paths& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
68 inline Paths& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
69 inline Paths& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
71 private:
72
73 int m_quantity;
74 bool m_quantityHasBeenSet = false;
75
77 bool m_itemsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudFront
82} // namespace Aws
Paths & AddItems(const Aws::String &value)
Definition Paths.h:67
void SetQuantity(int value)
Definition Paths.h:52
void SetItems(Aws::Vector< Aws::String > &&value)
Definition Paths.h:64
Paths & AddItems(Aws::String &&value)
Definition Paths.h:68
AWS_CLOUDFRONT_API Paths(const Aws::Utils::Xml::XmlNode &xmlNode)
Paths & WithItems(Aws::Vector< Aws::String > &&value)
Definition Paths.h:66
Paths & AddItems(const char *value)
Definition Paths.h:69
AWS_CLOUDFRONT_API Paths & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ItemsHasBeenSet() const
Definition Paths.h:62
const Aws::Vector< Aws::String > & GetItems() const
Definition Paths.h:61
Paths & WithQuantity(int value)
Definition Paths.h:53
bool QuantityHasBeenSet() const
Definition Paths.h:51
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API Paths()
void SetItems(const Aws::Vector< Aws::String > &value)
Definition Paths.h:63
Paths & WithItems(const Aws::Vector< Aws::String > &value)
Definition Paths.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector