AWS SDK for C++  1.9.14
AWS SDK for C++
ViewerCertificate.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace CloudFront
23 {
24 namespace Model
25 {
26 
73  {
74  public:
78 
79  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
80 
81 
92  inline bool GetCloudFrontDefaultCertificate() const{ return m_cloudFrontDefaultCertificate; }
93 
104  inline bool CloudFrontDefaultCertificateHasBeenSet() const { return m_cloudFrontDefaultCertificateHasBeenSet; }
105 
116  inline void SetCloudFrontDefaultCertificate(bool value) { m_cloudFrontDefaultCertificateHasBeenSet = true; m_cloudFrontDefaultCertificate = value; }
117 
128  inline ViewerCertificate& WithCloudFrontDefaultCertificate(bool value) { SetCloudFrontDefaultCertificate(value); return *this;}
129 
130 
140  inline const Aws::String& GetIAMCertificateId() const{ return m_iAMCertificateId; }
141 
151  inline bool IAMCertificateIdHasBeenSet() const { return m_iAMCertificateIdHasBeenSet; }
152 
162  inline void SetIAMCertificateId(const Aws::String& value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId = value; }
163 
173  inline void SetIAMCertificateId(Aws::String&& value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId = std::move(value); }
174 
184  inline void SetIAMCertificateId(const char* value) { m_iAMCertificateIdHasBeenSet = true; m_iAMCertificateId.assign(value); }
185 
195  inline ViewerCertificate& WithIAMCertificateId(const Aws::String& value) { SetIAMCertificateId(value); return *this;}
196 
206  inline ViewerCertificate& WithIAMCertificateId(Aws::String&& value) { SetIAMCertificateId(std::move(value)); return *this;}
207 
217  inline ViewerCertificate& WithIAMCertificateId(const char* value) { SetIAMCertificateId(value); return *this;}
218 
219 
230  inline const Aws::String& GetACMCertificateArn() const{ return m_aCMCertificateArn; }
231 
242  inline bool ACMCertificateArnHasBeenSet() const { return m_aCMCertificateArnHasBeenSet; }
243 
254  inline void SetACMCertificateArn(const Aws::String& value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn = value; }
255 
266  inline void SetACMCertificateArn(Aws::String&& value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn = std::move(value); }
267 
278  inline void SetACMCertificateArn(const char* value) { m_aCMCertificateArnHasBeenSet = true; m_aCMCertificateArn.assign(value); }
279 
290  inline ViewerCertificate& WithACMCertificateArn(const Aws::String& value) { SetACMCertificateArn(value); return *this;}
291 
302  inline ViewerCertificate& WithACMCertificateArn(Aws::String&& value) { SetACMCertificateArn(std::move(value)); return *this;}
303 
314  inline ViewerCertificate& WithACMCertificateArn(const char* value) { SetACMCertificateArn(value); return *this;}
315 
316 
335  inline const SSLSupportMethod& GetSSLSupportMethod() const{ return m_sSLSupportMethod; }
336 
355  inline bool SSLSupportMethodHasBeenSet() const { return m_sSLSupportMethodHasBeenSet; }
356 
375  inline void SetSSLSupportMethod(const SSLSupportMethod& value) { m_sSLSupportMethodHasBeenSet = true; m_sSLSupportMethod = value; }
376 
395  inline void SetSSLSupportMethod(SSLSupportMethod&& value) { m_sSLSupportMethodHasBeenSet = true; m_sSLSupportMethod = std::move(value); }
396 
415  inline ViewerCertificate& WithSSLSupportMethod(const SSLSupportMethod& value) { SetSSLSupportMethod(value); return *this;}
416 
435  inline ViewerCertificate& WithSSLSupportMethod(SSLSupportMethod&& value) { SetSSLSupportMethod(std::move(value)); return *this;}
436 
437 
459  inline const MinimumProtocolVersion& GetMinimumProtocolVersion() const{ return m_minimumProtocolVersion; }
460 
482  inline bool MinimumProtocolVersionHasBeenSet() const { return m_minimumProtocolVersionHasBeenSet; }
483 
505  inline void SetMinimumProtocolVersion(const MinimumProtocolVersion& value) { m_minimumProtocolVersionHasBeenSet = true; m_minimumProtocolVersion = value; }
506 
528  inline void SetMinimumProtocolVersion(MinimumProtocolVersion&& value) { m_minimumProtocolVersionHasBeenSet = true; m_minimumProtocolVersion = std::move(value); }
529 
551  inline ViewerCertificate& WithMinimumProtocolVersion(const MinimumProtocolVersion& value) { SetMinimumProtocolVersion(value); return *this;}
552 
574  inline ViewerCertificate& WithMinimumProtocolVersion(MinimumProtocolVersion&& value) { SetMinimumProtocolVersion(std::move(value)); return *this;}
575 
576  private:
577 
578  bool m_cloudFrontDefaultCertificate;
579  bool m_cloudFrontDefaultCertificateHasBeenSet;
580 
581  Aws::String m_iAMCertificateId;
582  bool m_iAMCertificateIdHasBeenSet;
583 
584  Aws::String m_aCMCertificateArn;
585  bool m_aCMCertificateArnHasBeenSet;
586 
587  SSLSupportMethod m_sSLSupportMethod;
588  bool m_sSLSupportMethodHasBeenSet;
589 
590  MinimumProtocolVersion m_minimumProtocolVersion;
591  bool m_minimumProtocolVersionHasBeenSet;
592  };
593 
594 } // namespace Model
595 } // namespace CloudFront
596 } // namespace Aws
Aws::CloudFront::Model::ViewerCertificate::WithIAMCertificateId
ViewerCertificate & WithIAMCertificateId(Aws::String &&value)
Definition: ViewerCertificate.h:206
Aws::CloudFront::Model::ViewerCertificate::WithSSLSupportMethod
ViewerCertificate & WithSSLSupportMethod(const SSLSupportMethod &value)
Definition: ViewerCertificate.h:415
Aws::CloudFront::Model::ViewerCertificate::SetACMCertificateArn
void SetACMCertificateArn(const char *value)
Definition: ViewerCertificate.h:278
Aws::CloudFront::Model::ViewerCertificate::SetIAMCertificateId
void SetIAMCertificateId(Aws::String &&value)
Definition: ViewerCertificate.h:173
Aws::CloudFront::Model::ViewerCertificate::SetMinimumProtocolVersion
void SetMinimumProtocolVersion(const MinimumProtocolVersion &value)
Definition: ViewerCertificate.h:505
Aws::CloudFront::Model::ViewerCertificate::SetACMCertificateArn
void SetACMCertificateArn(Aws::String &&value)
Definition: ViewerCertificate.h:266
Aws::CloudFront::Model::SSLSupportMethod
SSLSupportMethod
Definition: SSLSupportMethod.h:17
Aws::CloudFront::Model::ViewerCertificate::WithACMCertificateArn
ViewerCertificate & WithACMCertificateArn(Aws::String &&value)
Definition: ViewerCertificate.h:302
Aws::CloudFront::Model::ViewerCertificate::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::ViewerCertificate::MinimumProtocolVersionHasBeenSet
bool MinimumProtocolVersionHasBeenSet() const
Definition: ViewerCertificate.h:482
Aws::CloudFront::Model::ViewerCertificate::GetIAMCertificateId
const Aws::String & GetIAMCertificateId() const
Definition: ViewerCertificate.h:140
Aws::CloudFront::Model::ViewerCertificate::SetIAMCertificateId
void SetIAMCertificateId(const char *value)
Definition: ViewerCertificate.h:184
Aws::CloudFront::Model::ViewerCertificate::GetMinimumProtocolVersion
const MinimumProtocolVersion & GetMinimumProtocolVersion() const
Definition: ViewerCertificate.h:459
Aws::CloudFront::Model::ViewerCertificate::IAMCertificateIdHasBeenSet
bool IAMCertificateIdHasBeenSet() const
Definition: ViewerCertificate.h:151
Aws::CloudFront::Model::ViewerCertificate::SetMinimumProtocolVersion
void SetMinimumProtocolVersion(MinimumProtocolVersion &&value)
Definition: ViewerCertificate.h:528
Aws::CloudFront::Model::ViewerCertificate::operator=
ViewerCertificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::ViewerCertificate::WithSSLSupportMethod
ViewerCertificate & WithSSLSupportMethod(SSLSupportMethod &&value)
Definition: ViewerCertificate.h:435
Aws::CloudFront::Model::ViewerCertificate
Definition: ViewerCertificate.h:73
Aws::CloudFront::Model::ViewerCertificate::SetCloudFrontDefaultCertificate
void SetCloudFrontDefaultCertificate(bool value)
Definition: ViewerCertificate.h:116
Aws::CloudFront::Model::ViewerCertificate::WithIAMCertificateId
ViewerCertificate & WithIAMCertificateId(const char *value)
Definition: ViewerCertificate.h:217
Aws::CloudFront::Model::ViewerCertificate::ViewerCertificate
ViewerCertificate()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::ViewerCertificate::WithMinimumProtocolVersion
ViewerCertificate & WithMinimumProtocolVersion(MinimumProtocolVersion &&value)
Definition: ViewerCertificate.h:574
Aws::CloudFront::Model::ViewerCertificate::WithACMCertificateArn
ViewerCertificate & WithACMCertificateArn(const char *value)
Definition: ViewerCertificate.h:314
Aws::CloudFront::Model::ViewerCertificate::ViewerCertificate
ViewerCertificate(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::ViewerCertificate::GetCloudFrontDefaultCertificate
bool GetCloudFrontDefaultCertificate() const
Definition: ViewerCertificate.h:92
Aws::CloudFront::Model::ViewerCertificate::GetACMCertificateArn
const Aws::String & GetACMCertificateArn() const
Definition: ViewerCertificate.h:230
Aws::CloudFront::Model::MinimumProtocolVersion
MinimumProtocolVersion
Definition: MinimumProtocolVersion.h:17
Aws::CloudFront::Model::ViewerCertificate::SetSSLSupportMethod
void SetSSLSupportMethod(SSLSupportMethod &&value)
Definition: ViewerCertificate.h:395
Aws::CloudFront::Model::ViewerCertificate::GetSSLSupportMethod
const SSLSupportMethod & GetSSLSupportMethod() const
Definition: ViewerCertificate.h:335
AWSString.h
Aws::CloudFront::Model::ViewerCertificate::CloudFrontDefaultCertificateHasBeenSet
bool CloudFrontDefaultCertificateHasBeenSet() const
Definition: ViewerCertificate.h:104
Aws::CloudFront::Model::ViewerCertificate::WithCloudFrontDefaultCertificate
ViewerCertificate & WithCloudFrontDefaultCertificate(bool value)
Definition: ViewerCertificate.h:128
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
SSLSupportMethod.h
Aws::CloudFront::Model::ViewerCertificate::WithIAMCertificateId
ViewerCertificate & WithIAMCertificateId(const Aws::String &value)
Definition: ViewerCertificate.h:195
CloudFront_EXPORTS.h
MinimumProtocolVersion.h
Aws::CloudFront::Model::ViewerCertificate::SetACMCertificateArn
void SetACMCertificateArn(const Aws::String &value)
Definition: ViewerCertificate.h:254
Aws::CloudFront::Model::ViewerCertificate::SetIAMCertificateId
void SetIAMCertificateId(const Aws::String &value)
Definition: ViewerCertificate.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ViewerCertificate::SSLSupportMethodHasBeenSet
bool SSLSupportMethodHasBeenSet() const
Definition: ViewerCertificate.h:355
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::ViewerCertificate::SetSSLSupportMethod
void SetSSLSupportMethod(const SSLSupportMethod &value)
Definition: ViewerCertificate.h:375
Aws::CloudFront::Model::ViewerCertificate::ACMCertificateArnHasBeenSet
bool ACMCertificateArnHasBeenSet() const
Definition: ViewerCertificate.h:242
Aws::CloudFront::Model::ViewerCertificate::WithACMCertificateArn
ViewerCertificate & WithACMCertificateArn(const Aws::String &value)
Definition: ViewerCertificate.h:290
Aws::CloudFront::Model::ViewerCertificate::WithMinimumProtocolVersion
ViewerCertificate & WithMinimumProtocolVersion(const MinimumProtocolVersion &value)
Definition: ViewerCertificate.h:551