AWS SDK for C++  1.9.132
AWS SDK for C++
OutgoingCertificate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 
50  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
51 
55  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
56 
60  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
61 
65  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
66 
70  inline OutgoingCertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
71 
75  inline OutgoingCertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
76 
80  inline OutgoingCertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
87 
91  inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
92 
96  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
97 
101  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
102 
106  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
107 
111  inline OutgoingCertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
112 
116  inline OutgoingCertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
117 
121  inline OutgoingCertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
122 
123 
127  inline const Aws::String& GetTransferredTo() const{ return m_transferredTo; }
128 
132  inline bool TransferredToHasBeenSet() const { return m_transferredToHasBeenSet; }
133 
137  inline void SetTransferredTo(const Aws::String& value) { m_transferredToHasBeenSet = true; m_transferredTo = value; }
138 
142  inline void SetTransferredTo(Aws::String&& value) { m_transferredToHasBeenSet = true; m_transferredTo = std::move(value); }
143 
147  inline void SetTransferredTo(const char* value) { m_transferredToHasBeenSet = true; m_transferredTo.assign(value); }
148 
152  inline OutgoingCertificate& WithTransferredTo(const Aws::String& value) { SetTransferredTo(value); return *this;}
153 
157  inline OutgoingCertificate& WithTransferredTo(Aws::String&& value) { SetTransferredTo(std::move(value)); return *this;}
158 
162  inline OutgoingCertificate& WithTransferredTo(const char* value) { SetTransferredTo(value); return *this;}
163 
164 
168  inline const Aws::Utils::DateTime& GetTransferDate() const{ return m_transferDate; }
169 
173  inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
174 
178  inline void SetTransferDate(const Aws::Utils::DateTime& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
179 
183  inline void SetTransferDate(Aws::Utils::DateTime&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::move(value); }
184 
188  inline OutgoingCertificate& WithTransferDate(const Aws::Utils::DateTime& value) { SetTransferDate(value); return *this;}
189 
193  inline OutgoingCertificate& WithTransferDate(Aws::Utils::DateTime&& value) { SetTransferDate(std::move(value)); return *this;}
194 
195 
199  inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
200 
204  inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
205 
209  inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
210 
214  inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::move(value); }
215 
219  inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
220 
224  inline OutgoingCertificate& WithTransferMessage(const Aws::String& value) { SetTransferMessage(value); return *this;}
225 
229  inline OutgoingCertificate& WithTransferMessage(Aws::String&& value) { SetTransferMessage(std::move(value)); return *this;}
230 
234  inline OutgoingCertificate& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
235 
236 
240  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
241 
245  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
246 
250  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
251 
255  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
256 
260  inline OutgoingCertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
261 
265  inline OutgoingCertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
266 
267  private:
268 
269  Aws::String m_certificateArn;
270  bool m_certificateArnHasBeenSet;
271 
272  Aws::String m_certificateId;
273  bool m_certificateIdHasBeenSet;
274 
275  Aws::String m_transferredTo;
276  bool m_transferredToHasBeenSet;
277 
278  Aws::Utils::DateTime m_transferDate;
279  bool m_transferDateHasBeenSet;
280 
281  Aws::String m_transferMessage;
282  bool m_transferMessageHasBeenSet;
283 
284  Aws::Utils::DateTime m_creationDate;
285  bool m_creationDateHasBeenSet;
286  };
287 
288 } // namespace Model
289 } // namespace IoT
290 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::OutgoingCertificate::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: OutgoingCertificate.h:255
Aws::IoT::Model::OutgoingCertificate::GetTransferredTo
const Aws::String & GetTransferredTo() const
Definition: OutgoingCertificate.h:127
Aws::IoT::Model::OutgoingCertificate::WithCertificateArn
OutgoingCertificate & WithCertificateArn(Aws::String &&value)
Definition: OutgoingCertificate.h:75
Aws::IoT::Model::OutgoingCertificate::WithTransferMessage
OutgoingCertificate & WithTransferMessage(Aws::String &&value)
Definition: OutgoingCertificate.h:229
Aws::IoT::Model::OutgoingCertificate::CertificateIdHasBeenSet
bool CertificateIdHasBeenSet() const
Definition: OutgoingCertificate.h:91
Aws::IoT::Model::OutgoingCertificate::SetTransferDate
void SetTransferDate(const Aws::Utils::DateTime &value)
Definition: OutgoingCertificate.h:178
Aws::IoT::Model::OutgoingCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::OutgoingCertificate::TransferMessageHasBeenSet
bool TransferMessageHasBeenSet() const
Definition: OutgoingCertificate.h:204
Aws::IoT::Model::OutgoingCertificate::WithCertificateId
OutgoingCertificate & WithCertificateId(Aws::String &&value)
Definition: OutgoingCertificate.h:116
Aws::IoT::Model::OutgoingCertificate::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: OutgoingCertificate.h:245
Aws::IoT::Model::OutgoingCertificate::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: OutgoingCertificate.h:60
Aws::IoT::Model::OutgoingCertificate
Definition: OutgoingCertificate.h:34
Aws::IoT::Model::OutgoingCertificate::OutgoingCertificate
OutgoingCertificate(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::IoT::Model::OutgoingCertificate::WithTransferredTo
OutgoingCertificate & WithTransferredTo(Aws::String &&value)
Definition: OutgoingCertificate.h:157
Aws::IoT::Model::OutgoingCertificate::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: OutgoingCertificate.h:101
Aws::IoT::Model::OutgoingCertificate::GetTransferMessage
const Aws::String & GetTransferMessage() const
Definition: OutgoingCertificate.h:199
Aws::IoT::Model::OutgoingCertificate::WithTransferredTo
OutgoingCertificate & WithTransferredTo(const Aws::String &value)
Definition: OutgoingCertificate.h:152
Aws::IoT::Model::OutgoingCertificate::SetTransferredTo
void SetTransferredTo(const Aws::String &value)
Definition: OutgoingCertificate.h:137
Aws::IoT::Model::OutgoingCertificate::SetCertificateId
void SetCertificateId(const char *value)
Definition: OutgoingCertificate.h:106
Aws::IoT::Model::OutgoingCertificate::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: OutgoingCertificate.h:65
Aws::IoT::Model::OutgoingCertificate::SetTransferMessage
void SetTransferMessage(const char *value)
Definition: OutgoingCertificate.h:219
Aws::IoT::Model::OutgoingCertificate::TransferredToHasBeenSet
bool TransferredToHasBeenSet() const
Definition: OutgoingCertificate.h:132
Aws::IoT::Model::OutgoingCertificate::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: OutgoingCertificate.h:96
Aws::IoT::Model::OutgoingCertificate::WithCertificateArn
OutgoingCertificate & WithCertificateArn(const char *value)
Definition: OutgoingCertificate.h:80
Aws::IoT::Model::OutgoingCertificate::SetTransferMessage
void SetTransferMessage(const Aws::String &value)
Definition: OutgoingCertificate.h:209
Aws::IoT::Model::OutgoingCertificate::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: OutgoingCertificate.h:55
Aws::IoT::Model::OutgoingCertificate::GetTransferDate
const Aws::Utils::DateTime & GetTransferDate() const
Definition: OutgoingCertificate.h:168
Aws::IoT::Model::OutgoingCertificate::WithCertificateArn
OutgoingCertificate & WithCertificateArn(const Aws::String &value)
Definition: OutgoingCertificate.h:70
Aws::IoT::Model::OutgoingCertificate::WithTransferredTo
OutgoingCertificate & WithTransferredTo(const char *value)
Definition: OutgoingCertificate.h:162
Aws::IoT::Model::OutgoingCertificate::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: OutgoingCertificate.h:50
Aws::IoT::Model::OutgoingCertificate::SetTransferredTo
void SetTransferredTo(const char *value)
Definition: OutgoingCertificate.h:147
Aws::IoT::Model::OutgoingCertificate::WithTransferMessage
OutgoingCertificate & WithTransferMessage(const Aws::String &value)
Definition: OutgoingCertificate.h:224
Aws::IoT::Model::OutgoingCertificate::WithTransferMessage
OutgoingCertificate & WithTransferMessage(const char *value)
Definition: OutgoingCertificate.h:234
Aws::IoT::Model::OutgoingCertificate::operator=
OutgoingCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::OutgoingCertificate::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: OutgoingCertificate.h:250
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::OutgoingCertificate::WithCreationDate
OutgoingCertificate & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: OutgoingCertificate.h:265
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::OutgoingCertificate::WithTransferDate
OutgoingCertificate & WithTransferDate(Aws::Utils::DateTime &&value)
Definition: OutgoingCertificate.h:193
Aws::IoT::Model::OutgoingCertificate::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: OutgoingCertificate.h:45
Aws::IoT::Model::OutgoingCertificate::WithCertificateId
OutgoingCertificate & WithCertificateId(const char *value)
Definition: OutgoingCertificate.h:121
Aws::IoT::Model::OutgoingCertificate::TransferDateHasBeenSet
bool TransferDateHasBeenSet() const
Definition: OutgoingCertificate.h:173
Aws::IoT::Model::OutgoingCertificate::SetTransferredTo
void SetTransferredTo(Aws::String &&value)
Definition: OutgoingCertificate.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::OutgoingCertificate::SetTransferMessage
void SetTransferMessage(Aws::String &&value)
Definition: OutgoingCertificate.h:214
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::OutgoingCertificate::WithCreationDate
OutgoingCertificate & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: OutgoingCertificate.h:260
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::OutgoingCertificate::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: OutgoingCertificate.h:86
Aws::IoT::Model::OutgoingCertificate::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: OutgoingCertificate.h:240
Aws::IoT::Model::OutgoingCertificate::OutgoingCertificate
OutgoingCertificate()
Aws::IoT::Model::OutgoingCertificate::WithCertificateId
OutgoingCertificate & WithCertificateId(const Aws::String &value)
Definition: OutgoingCertificate.h:111
Aws::IoT::Model::OutgoingCertificate::WithTransferDate
OutgoingCertificate & WithTransferDate(const Aws::Utils::DateTime &value)
Definition: OutgoingCertificate.h:188
IoT_EXPORTS.h
Aws::IoT::Model::OutgoingCertificate::SetTransferDate
void SetTransferDate(Aws::Utils::DateTime &&value)
Definition: OutgoingCertificate.h:183