AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const CertificateType& GetType() const{ return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 inline void SetType(const CertificateType& value) { m_typeHasBeenSet = true; m_type = value; }
59 inline void SetType(CertificateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
60 inline Certificate& WithType(const CertificateType& value) { SetType(value); return *this;}
61 inline Certificate& WithType(CertificateType&& value) { SetType(std::move(value)); return *this;}
63
65
70 inline const Aws::String& GetCustomCertificateArn() const{ return m_customCertificateArn; }
71 inline bool CustomCertificateArnHasBeenSet() const { return m_customCertificateArnHasBeenSet; }
72 inline void SetCustomCertificateArn(const Aws::String& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = value; }
73 inline void SetCustomCertificateArn(Aws::String&& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = std::move(value); }
74 inline void SetCustomCertificateArn(const char* value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn.assign(value); }
75 inline Certificate& WithCustomCertificateArn(const Aws::String& value) { SetCustomCertificateArn(value); return *this;}
76 inline Certificate& WithCustomCertificateArn(Aws::String&& value) { SetCustomCertificateArn(std::move(value)); return *this;}
77 inline Certificate& WithCustomCertificateArn(const char* value) { SetCustomCertificateArn(value); return *this;}
79
81
84 inline const Aws::String& GetCertificateVerificationDNSRecord() const{ return m_certificateVerificationDNSRecord; }
85 inline bool CertificateVerificationDNSRecordHasBeenSet() const { return m_certificateVerificationDNSRecordHasBeenSet; }
86 inline void SetCertificateVerificationDNSRecord(const Aws::String& value) { m_certificateVerificationDNSRecordHasBeenSet = true; m_certificateVerificationDNSRecord = value; }
87 inline void SetCertificateVerificationDNSRecord(Aws::String&& value) { m_certificateVerificationDNSRecordHasBeenSet = true; m_certificateVerificationDNSRecord = std::move(value); }
88 inline void SetCertificateVerificationDNSRecord(const char* value) { m_certificateVerificationDNSRecordHasBeenSet = true; m_certificateVerificationDNSRecord.assign(value); }
93 private:
94
95 CertificateType m_type;
96 bool m_typeHasBeenSet = false;
97
98 Aws::String m_customCertificateArn;
99 bool m_customCertificateArnHasBeenSet = false;
100
101 Aws::String m_certificateVerificationDNSRecord;
102 bool m_certificateVerificationDNSRecordHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Amplify
107} // namespace Aws
void SetCustomCertificateArn(const char *value)
Definition Certificate.h:74
void SetCertificateVerificationDNSRecord(const Aws::String &value)
Definition Certificate.h:86
Certificate & WithCertificateVerificationDNSRecord(const Aws::String &value)
Definition Certificate.h:89
Certificate & WithCustomCertificateArn(const char *value)
Definition Certificate.h:77
const CertificateType & GetType() const
Definition Certificate.h:56
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomCertificateArn(Aws::String &&value)
Definition Certificate.h:73
void SetCertificateVerificationDNSRecord(const char *value)
Definition Certificate.h:88
void SetCustomCertificateArn(const Aws::String &value)
Definition Certificate.h:72
AWS_AMPLIFY_API Certificate(Aws::Utils::Json::JsonView jsonValue)
Certificate & WithType(CertificateType &&value)
Definition Certificate.h:61
Certificate & WithCertificateVerificationDNSRecord(Aws::String &&value)
Definition Certificate.h:90
Certificate & WithCustomCertificateArn(const Aws::String &value)
Definition Certificate.h:75
Certificate & WithCertificateVerificationDNSRecord(const char *value)
Definition Certificate.h:91
void SetType(const CertificateType &value)
Definition Certificate.h:58
const Aws::String & GetCustomCertificateArn() const
Definition Certificate.h:70
Certificate & WithType(const CertificateType &value)
Definition Certificate.h:60
AWS_AMPLIFY_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CertificateVerificationDNSRecordHasBeenSet() const
Definition Certificate.h:85
Certificate & WithCustomCertificateArn(Aws::String &&value)
Definition Certificate.h:76
void SetCertificateVerificationDNSRecord(Aws::String &&value)
Definition Certificate.h:87
const Aws::String & GetCertificateVerificationDNSRecord() const
Definition Certificate.h:84
void SetType(CertificateType &&value)
Definition Certificate.h:59
bool CustomCertificateArnHasBeenSet() const
Definition Certificate.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue