AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OriginAccessControlSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/OriginAccessControlSigningProtocols.h>
10#include <aws/cloudfront/model/OriginAccessControlSigningBehaviors.h>
11#include <aws/cloudfront/model/OriginAccessControlOriginTypes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFront
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CLOUDFRONT_API OriginAccessControlSummary();
37 AWS_CLOUDFRONT_API OriginAccessControlSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline OriginAccessControlSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline OriginAccessControlSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline OriginAccessControlSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline OriginAccessControlSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline OriginAccessControlSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline OriginAccessControlSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline OriginAccessControlSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline OriginAccessControlSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline OriginAccessControlSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
91 inline const OriginAccessControlSigningProtocols& GetSigningProtocol() const{ return m_signingProtocol; }
92 inline bool SigningProtocolHasBeenSet() const { return m_signingProtocolHasBeenSet; }
93 inline void SetSigningProtocol(const OriginAccessControlSigningProtocols& value) { m_signingProtocolHasBeenSet = true; m_signingProtocol = value; }
94 inline void SetSigningProtocol(OriginAccessControlSigningProtocols&& value) { m_signingProtocolHasBeenSet = true; m_signingProtocol = std::move(value); }
98
100
113 inline const OriginAccessControlSigningBehaviors& GetSigningBehavior() const{ return m_signingBehavior; }
114 inline bool SigningBehaviorHasBeenSet() const { return m_signingBehaviorHasBeenSet; }
115 inline void SetSigningBehavior(const OriginAccessControlSigningBehaviors& value) { m_signingBehaviorHasBeenSet = true; m_signingBehavior = value; }
116 inline void SetSigningBehavior(OriginAccessControlSigningBehaviors&& value) { m_signingBehaviorHasBeenSet = true; m_signingBehavior = std::move(value); }
120
122
125 inline const OriginAccessControlOriginTypes& GetOriginAccessControlOriginType() const{ return m_originAccessControlOriginType; }
126 inline bool OriginAccessControlOriginTypeHasBeenSet() const { return m_originAccessControlOriginTypeHasBeenSet; }
127 inline void SetOriginAccessControlOriginType(const OriginAccessControlOriginTypes& value) { m_originAccessControlOriginTypeHasBeenSet = true; m_originAccessControlOriginType = value; }
128 inline void SetOriginAccessControlOriginType(OriginAccessControlOriginTypes&& value) { m_originAccessControlOriginTypeHasBeenSet = true; m_originAccessControlOriginType = std::move(value); }
132 private:
133
134 Aws::String m_id;
135 bool m_idHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 OriginAccessControlSigningProtocols m_signingProtocol;
144 bool m_signingProtocolHasBeenSet = false;
145
146 OriginAccessControlSigningBehaviors m_signingBehavior;
147 bool m_signingBehaviorHasBeenSet = false;
148
149 OriginAccessControlOriginTypes m_originAccessControlOriginType;
150 bool m_originAccessControlOriginTypeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace CloudFront
155} // namespace Aws
void SetOriginAccessControlOriginType(OriginAccessControlOriginTypes &&value)
OriginAccessControlSummary & WithDescription(const char *value)
OriginAccessControlSummary & WithName(const Aws::String &value)
AWS_CLOUDFRONT_API OriginAccessControlSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
OriginAccessControlSummary & WithSigningBehavior(OriginAccessControlSigningBehaviors &&value)
OriginAccessControlSummary & WithSigningProtocol(const OriginAccessControlSigningProtocols &value)
const OriginAccessControlOriginTypes & GetOriginAccessControlOriginType() const
OriginAccessControlSummary & WithDescription(Aws::String &&value)
const OriginAccessControlSigningBehaviors & GetSigningBehavior() const
void SetSigningBehavior(OriginAccessControlSigningBehaviors &&value)
OriginAccessControlSummary & WithId(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetSigningBehavior(const OriginAccessControlSigningBehaviors &value)
OriginAccessControlSummary & WithId(const char *value)
OriginAccessControlSummary & WithSigningProtocol(OriginAccessControlSigningProtocols &&value)
void SetOriginAccessControlOriginType(const OriginAccessControlOriginTypes &value)
OriginAccessControlSummary & WithName(const char *value)
AWS_CLOUDFRONT_API OriginAccessControlSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSigningProtocol(OriginAccessControlSigningProtocols &&value)
const OriginAccessControlSigningProtocols & GetSigningProtocol() const
OriginAccessControlSummary & WithId(Aws::String &&value)
OriginAccessControlSummary & WithSigningBehavior(const OriginAccessControlSigningBehaviors &value)
OriginAccessControlSummary & WithOriginAccessControlOriginType(const OriginAccessControlOriginTypes &value)
OriginAccessControlSummary & WithName(Aws::String &&value)
OriginAccessControlSummary & WithOriginAccessControlOriginType(OriginAccessControlOriginTypes &&value)
void SetSigningProtocol(const OriginAccessControlSigningProtocols &value)
OriginAccessControlSummary & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String