AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrustedSigners.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
34 {
35 public:
36 AWS_CLOUDFRONT_API TrustedSigners();
37 AWS_CLOUDFRONT_API TrustedSigners(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API TrustedSigners& 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 TrustedSigners& 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 TrustedSigners& WithQuantity(int value) { SetQuantity(value); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
70 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
71 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
72 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
73 inline TrustedSigners& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
74 inline TrustedSigners& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
75 inline TrustedSigners& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
76 inline TrustedSigners& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
77 inline TrustedSigners& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
79 private:
80
81 bool m_enabled;
82 bool m_enabledHasBeenSet = false;
83
84 int m_quantity;
85 bool m_quantityHasBeenSet = false;
86
88 bool m_itemsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudFront
93} // namespace Aws
TrustedSigners & AddItems(const char *value)
void SetItems(Aws::Vector< Aws::String > &&value)
void SetItems(const Aws::Vector< Aws::String > &value)
TrustedSigners & AddItems(const Aws::String &value)
TrustedSigners & WithQuantity(int value)
TrustedSigners & WithEnabled(bool value)
TrustedSigners & WithItems(Aws::Vector< Aws::String > &&value)
AWS_CLOUDFRONT_API TrustedSigners(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< Aws::String > & GetItems() const
AWS_CLOUDFRONT_API TrustedSigners & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustedSigners & WithItems(const Aws::Vector< Aws::String > &value)
TrustedSigners & AddItems(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector