AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyPairIds.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
32 {
33 public:
34 AWS_CLOUDFRONT_API KeyPairIds();
35 AWS_CLOUDFRONT_API KeyPairIds(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API KeyPairIds& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline int GetQuantity() const{ return m_quantity; }
46 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
47 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
48 inline KeyPairIds& WithQuantity(int value) { SetQuantity(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
56 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
57 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
58 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
59 inline KeyPairIds& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
60 inline KeyPairIds& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
61 inline KeyPairIds& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
62 inline KeyPairIds& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
63 inline KeyPairIds& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
65 private:
66
67 int m_quantity;
68 bool m_quantityHasBeenSet = false;
69
71 bool m_itemsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudFront
76} // namespace Aws
AWS_CLOUDFRONT_API KeyPairIds & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyPairIds & AddItems(Aws::String &&value)
Definition KeyPairIds.h:62
KeyPairIds & AddItems(const Aws::String &value)
Definition KeyPairIds.h:61
AWS_CLOUDFRONT_API KeyPairIds()
void SetItems(const Aws::Vector< Aws::String > &value)
Definition KeyPairIds.h:57
void SetItems(Aws::Vector< Aws::String > &&value)
Definition KeyPairIds.h:58
KeyPairIds & AddItems(const char *value)
Definition KeyPairIds.h:63
const Aws::Vector< Aws::String > & GetItems() const
Definition KeyPairIds.h:55
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API KeyPairIds(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyPairIds & WithItems(Aws::Vector< Aws::String > &&value)
Definition KeyPairIds.h:60
KeyPairIds & WithItems(const Aws::Vector< Aws::String > &value)
Definition KeyPairIds.h:59
KeyPairIds & WithQuantity(int value)
Definition KeyPairIds.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector