AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/CertificateType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Amplify
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_AMPLIFY_API Certificate() = default;
39 AWS_AMPLIFY_API Certificate(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
56 inline CertificateType GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 inline void SetType(CertificateType value) { m_typeHasBeenSet = true; m_type = value; }
59 inline Certificate& WithType(CertificateType value) { SetType(value); return *this;}
61
63
68 inline const Aws::String& GetCustomCertificateArn() const { return m_customCertificateArn; }
69 inline bool CustomCertificateArnHasBeenSet() const { return m_customCertificateArnHasBeenSet; }
70 template<typename CustomCertificateArnT = Aws::String>
71 void SetCustomCertificateArn(CustomCertificateArnT&& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = std::forward<CustomCertificateArnT>(value); }
72 template<typename CustomCertificateArnT = Aws::String>
73 Certificate& WithCustomCertificateArn(CustomCertificateArnT&& value) { SetCustomCertificateArn(std::forward<CustomCertificateArnT>(value)); return *this;}
75
77
80 inline const Aws::String& GetCertificateVerificationDNSRecord() const { return m_certificateVerificationDNSRecord; }
81 inline bool CertificateVerificationDNSRecordHasBeenSet() const { return m_certificateVerificationDNSRecordHasBeenSet; }
82 template<typename CertificateVerificationDNSRecordT = Aws::String>
83 void SetCertificateVerificationDNSRecord(CertificateVerificationDNSRecordT&& value) { m_certificateVerificationDNSRecordHasBeenSet = true; m_certificateVerificationDNSRecord = std::forward<CertificateVerificationDNSRecordT>(value); }
84 template<typename CertificateVerificationDNSRecordT = Aws::String>
85 Certificate& WithCertificateVerificationDNSRecord(CertificateVerificationDNSRecordT&& value) { SetCertificateVerificationDNSRecord(std::forward<CertificateVerificationDNSRecordT>(value)); return *this;}
87 private:
88
90 bool m_typeHasBeenSet = false;
91
92 Aws::String m_customCertificateArn;
93 bool m_customCertificateArnHasBeenSet = false;
94
95 Aws::String m_certificateVerificationDNSRecord;
96 bool m_certificateVerificationDNSRecordHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Amplify
101} // namespace Aws
Certificate & WithType(CertificateType value)
Definition Certificate.h:59
Certificate & WithCertificateVerificationDNSRecord(CertificateVerificationDNSRecordT &&value)
Definition Certificate.h:85
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateType GetType() const
Definition Certificate.h:56
void SetCustomCertificateArn(CustomCertificateArnT &&value)
Definition Certificate.h:71
AWS_AMPLIFY_API Certificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomCertificateArn() const
Definition Certificate.h:68
AWS_AMPLIFY_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(CertificateType value)
Definition Certificate.h:58
void SetCertificateVerificationDNSRecord(CertificateVerificationDNSRecordT &&value)
Definition Certificate.h:83
bool CertificateVerificationDNSRecordHasBeenSet() const
Definition Certificate.h:81
AWS_AMPLIFY_API Certificate()=default
const Aws::String & GetCertificateVerificationDNSRecord() const
Definition Certificate.h:80
Certificate & WithCustomCertificateArn(CustomCertificateArnT &&value)
Definition Certificate.h:73
bool CustomCertificateArnHasBeenSet() const
Definition Certificate.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue