AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
OutgoingCertificate.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
30 public:
31 AWS_IOT_API OutgoingCertificate() = default;
35
37
40 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
41 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
42 template <typename CertificateArnT = Aws::String>
43 void SetCertificateArn(CertificateArnT&& value) {
44 m_certificateArnHasBeenSet = true;
45 m_certificateArn = std::forward<CertificateArnT>(value);
46 }
47 template <typename CertificateArnT = Aws::String>
48 OutgoingCertificate& WithCertificateArn(CertificateArnT&& value) {
49 SetCertificateArn(std::forward<CertificateArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
59 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
60 template <typename CertificateIdT = Aws::String>
61 void SetCertificateId(CertificateIdT&& value) {
62 m_certificateIdHasBeenSet = true;
63 m_certificateId = std::forward<CertificateIdT>(value);
64 }
65 template <typename CertificateIdT = Aws::String>
66 OutgoingCertificate& WithCertificateId(CertificateIdT&& value) {
67 SetCertificateId(std::forward<CertificateIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetTransferredTo() const { return m_transferredTo; }
77 inline bool TransferredToHasBeenSet() const { return m_transferredToHasBeenSet; }
78 template <typename TransferredToT = Aws::String>
79 void SetTransferredTo(TransferredToT&& value) {
80 m_transferredToHasBeenSet = true;
81 m_transferredTo = std::forward<TransferredToT>(value);
82 }
83 template <typename TransferredToT = Aws::String>
84 OutgoingCertificate& WithTransferredTo(TransferredToT&& value) {
85 SetTransferredTo(std::forward<TransferredToT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetTransferDate() const { return m_transferDate; }
95 inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
96 template <typename TransferDateT = Aws::Utils::DateTime>
97 void SetTransferDate(TransferDateT&& value) {
98 m_transferDateHasBeenSet = true;
99 m_transferDate = std::forward<TransferDateT>(value);
100 }
101 template <typename TransferDateT = Aws::Utils::DateTime>
102 OutgoingCertificate& WithTransferDate(TransferDateT&& value) {
103 SetTransferDate(std::forward<TransferDateT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetTransferMessage() const { return m_transferMessage; }
113 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
114 template <typename TransferMessageT = Aws::String>
115 void SetTransferMessage(TransferMessageT&& value) {
116 m_transferMessageHasBeenSet = true;
117 m_transferMessage = std::forward<TransferMessageT>(value);
118 }
119 template <typename TransferMessageT = Aws::String>
120 OutgoingCertificate& WithTransferMessage(TransferMessageT&& value) {
121 SetTransferMessage(std::forward<TransferMessageT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
131 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
132 template <typename CreationDateT = Aws::Utils::DateTime>
133 void SetCreationDate(CreationDateT&& value) {
134 m_creationDateHasBeenSet = true;
135 m_creationDate = std::forward<CreationDateT>(value);
136 }
137 template <typename CreationDateT = Aws::Utils::DateTime>
138 OutgoingCertificate& WithCreationDate(CreationDateT&& value) {
139 SetCreationDate(std::forward<CreationDateT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_certificateArn;
145
146 Aws::String m_certificateId;
147
148 Aws::String m_transferredTo;
149
150 Aws::Utils::DateTime m_transferDate{};
151
152 Aws::String m_transferMessage;
153
154 Aws::Utils::DateTime m_creationDate{};
155 bool m_certificateArnHasBeenSet = false;
156 bool m_certificateIdHasBeenSet = false;
157 bool m_transferredToHasBeenSet = false;
158 bool m_transferDateHasBeenSet = false;
159 bool m_transferMessageHasBeenSet = false;
160 bool m_creationDateHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace IoT
165} // namespace Aws
OutgoingCertificate & WithCreationDate(CreationDateT &&value)
const Aws::String & GetCertificateId() const
void SetTransferMessage(TransferMessageT &&value)
const Aws::String & GetTransferredTo() const
const Aws::Utils::DateTime & GetTransferDate() const
void SetCertificateId(CertificateIdT &&value)
void SetCreationDate(CreationDateT &&value)
OutgoingCertificate & WithCertificateArn(CertificateArnT &&value)
AWS_IOT_API OutgoingCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API OutgoingCertificate()=default
OutgoingCertificate & WithTransferDate(TransferDateT &&value)
const Aws::String & GetTransferMessage() const
OutgoingCertificate & WithTransferMessage(TransferMessageT &&value)
void SetCertificateArn(CertificateArnT &&value)
void SetTransferDate(TransferDateT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTransferredTo(TransferredToT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
OutgoingCertificate & WithTransferredTo(TransferredToT &&value)
AWS_IOT_API OutgoingCertificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateArn() const
OutgoingCertificate & WithCertificateId(CertificateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue