AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActiveTrustedSigners.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudfront/model/Signer.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
34 {
35 public:
36 AWS_CLOUDFRONT_API ActiveTrustedSigners();
37 AWS_CLOUDFRONT_API ActiveTrustedSigners(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API ActiveTrustedSigners& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline bool GetEnabled() const{ return m_enabled; }
50 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
52 inline ActiveTrustedSigners& WithEnabled(bool value) { SetEnabled(value); return *this;}
54
56
59 inline int GetQuantity() const{ return m_quantity; }
60 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
61 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
62 inline ActiveTrustedSigners& WithQuantity(int value) { SetQuantity(value); return *this;}
64
66
71 inline const Aws::Vector<Signer>& GetItems() const{ return m_items; }
72 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
73 inline void SetItems(const Aws::Vector<Signer>& value) { m_itemsHasBeenSet = true; m_items = value; }
74 inline void SetItems(Aws::Vector<Signer>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
75 inline ActiveTrustedSigners& WithItems(const Aws::Vector<Signer>& value) { SetItems(value); return *this;}
76 inline ActiveTrustedSigners& WithItems(Aws::Vector<Signer>&& value) { SetItems(std::move(value)); return *this;}
77 inline ActiveTrustedSigners& AddItems(const Signer& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
78 inline ActiveTrustedSigners& AddItems(Signer&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
80 private:
81
82 bool m_enabled;
83 bool m_enabledHasBeenSet = false;
84
85 int m_quantity;
86 bool m_quantityHasBeenSet = false;
87
88 Aws::Vector<Signer> m_items;
89 bool m_itemsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudFront
94} // namespace Aws
AWS_CLOUDFRONT_API ActiveTrustedSigners & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ActiveTrustedSigners & WithQuantity(int value)
ActiveTrustedSigners & WithItems(Aws::Vector< Signer > &&value)
void SetItems(Aws::Vector< Signer > &&value)
ActiveTrustedSigners & AddItems(const Signer &value)
AWS_CLOUDFRONT_API ActiveTrustedSigners(const Aws::Utils::Xml::XmlNode &xmlNode)
ActiveTrustedSigners & AddItems(Signer &&value)
ActiveTrustedSigners & WithItems(const Aws::Vector< Signer > &value)
ActiveTrustedSigners & WithEnabled(bool value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< Signer > & GetItems() const
void SetItems(const Aws::Vector< Signer > &value)
std::vector< T, Aws::Allocator< T > > Vector