AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewerCertificate.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/SSLSupportMethod.h>
10#include <aws/cloudfront/model/MinimumProtocolVersion.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
73 {
74 public:
75 AWS_CLOUDFRONT_API ViewerCertificate();
76 AWS_CLOUDFRONT_API ViewerCertificate(const Aws::Utils::Xml::XmlNode& xmlNode);
77 AWS_CLOUDFRONT_API ViewerCertificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
78
79 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
80
81
83
93 inline bool GetCloudFrontDefaultCertificate() const{ return m_cloudFrontDefaultCertificate; }
94 inline bool CloudFrontDefaultCertificateHasBeenSet() const { return m_cloudFrontDefaultCertificateHasBeenSet; }
95 inline void SetCloudFrontDefaultCertificate(bool value) { m_cloudFrontDefaultCertificateHasBeenSet = true; m_cloudFrontDefaultCertificate = value; }
98
100
108 inline const Aws::String& GetIAMCertificateId() const{ return m_iAMCertificateId; }
109 inline bool IAMCertificateIdHasBeenSet() const { return m_iAMCertificateIdHasBeenSet; }
110 inline void SetIAMCertificateId(const Aws::String& value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId = value; }
111 inline void SetIAMCertificateId(Aws::String&& value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId = std::move(value); }
112 inline void SetIAMCertificateId(const char* value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId.assign(value); }
113 inline ViewerCertificate& WithIAMCertificateId(const Aws::String& value) { SetIAMCertificateId(value); return *this;}
114 inline ViewerCertificate& WithIAMCertificateId(Aws::String&& value) { SetIAMCertificateId(std::move(value)); return *this;}
115 inline ViewerCertificate& WithIAMCertificateId(const char* value) { SetIAMCertificateId(value); return *this;}
117
119
129 inline const Aws::String& GetACMCertificateArn() const{ return m_aCMCertificateArn; }
130 inline bool ACMCertificateArnHasBeenSet() const { return m_aCMCertificateArnHasBeenSet; }
131 inline void SetACMCertificateArn(const Aws::String& value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn = value; }
132 inline void SetACMCertificateArn(Aws::String&& value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn = std::move(value); }
133 inline void SetACMCertificateArn(const char* value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn.assign(value); }
134 inline ViewerCertificate& WithACMCertificateArn(const Aws::String& value) { SetACMCertificateArn(value); return *this;}
135 inline ViewerCertificate& WithACMCertificateArn(Aws::String&& value) { SetACMCertificateArn(std::move(value)); return *this;}
136 inline ViewerCertificate& WithACMCertificateArn(const char* value) { SetACMCertificateArn(value); return *this;}
138
140
159 inline const SSLSupportMethod& GetSSLSupportMethod() const{ return m_sSLSupportMethod; }
160 inline bool SSLSupportMethodHasBeenSet() const { return m_sSLSupportMethodHasBeenSet; }
161 inline void SetSSLSupportMethod(const SSLSupportMethod& value) { m_sSLSupportMethodHasBeenSet = true; m_sSLSupportMethod = value; }
162 inline void SetSSLSupportMethod(SSLSupportMethod&& value) { m_sSLSupportMethodHasBeenSet = true; m_sSLSupportMethod = std::move(value); }
163 inline ViewerCertificate& WithSSLSupportMethod(const SSLSupportMethod& value) { SetSSLSupportMethod(value); return *this;}
164 inline ViewerCertificate& WithSSLSupportMethod(SSLSupportMethod&& value) { SetSSLSupportMethod(std::move(value)); return *this;}
166
168
189 inline const MinimumProtocolVersion& GetMinimumProtocolVersion() const{ return m_minimumProtocolVersion; }
190 inline bool MinimumProtocolVersionHasBeenSet() const { return m_minimumProtocolVersionHasBeenSet; }
191 inline void SetMinimumProtocolVersion(const MinimumProtocolVersion& value) { m_minimumProtocolVersionHasBeenSet = true; m_minimumProtocolVersion = value; }
192 inline void SetMinimumProtocolVersion(MinimumProtocolVersion&& value) { m_minimumProtocolVersionHasBeenSet = true; m_minimumProtocolVersion = std::move(value); }
196 private:
197
198 bool m_cloudFrontDefaultCertificate;
199 bool m_cloudFrontDefaultCertificateHasBeenSet = false;
200
201 Aws::String m_iAMCertificateId;
202 bool m_iAMCertificateIdHasBeenSet = false;
203
204 Aws::String m_aCMCertificateArn;
205 bool m_aCMCertificateArnHasBeenSet = false;
206
207 SSLSupportMethod m_sSLSupportMethod;
208 bool m_sSLSupportMethodHasBeenSet = false;
209
210 MinimumProtocolVersion m_minimumProtocolVersion;
211 bool m_minimumProtocolVersionHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace CloudFront
216} // namespace Aws
AWS_CLOUDFRONT_API ViewerCertificate(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSSLSupportMethod(SSLSupportMethod &&value)
AWS_CLOUDFRONT_API ViewerCertificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ViewerCertificate & WithIAMCertificateId(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ViewerCertificate & WithMinimumProtocolVersion(const MinimumProtocolVersion &value)
ViewerCertificate & WithACMCertificateArn(Aws::String &&value)
void SetMinimumProtocolVersion(MinimumProtocolVersion &&value)
const Aws::String & GetIAMCertificateId() const
const MinimumProtocolVersion & GetMinimumProtocolVersion() const
void SetMinimumProtocolVersion(const MinimumProtocolVersion &value)
const Aws::String & GetACMCertificateArn() const
ViewerCertificate & WithCloudFrontDefaultCertificate(bool value)
void SetACMCertificateArn(const Aws::String &value)
const SSLSupportMethod & GetSSLSupportMethod() const
ViewerCertificate & WithACMCertificateArn(const Aws::String &value)
ViewerCertificate & WithIAMCertificateId(const char *value)
ViewerCertificate & WithIAMCertificateId(Aws::String &&value)
ViewerCertificate & WithSSLSupportMethod(SSLSupportMethod &&value)
ViewerCertificate & WithACMCertificateArn(const char *value)
ViewerCertificate & WithMinimumProtocolVersion(MinimumProtocolVersion &&value)
void SetSSLSupportMethod(const SSLSupportMethod &value)
ViewerCertificate & WithSSLSupportMethod(const SSLSupportMethod &value)
void SetIAMCertificateId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String