AWS SDK for C++  1.9.14
AWS SDK for C++
ClientCertificate.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 Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
27 
41  {
42  public:
47 
48 
52  inline const Aws::String& GetClientCertificateId() const{ return m_clientCertificateId; }
53 
57  inline bool ClientCertificateIdHasBeenSet() const { return m_clientCertificateIdHasBeenSet; }
58 
62  inline void SetClientCertificateId(const Aws::String& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = value; }
63 
67  inline void SetClientCertificateId(Aws::String&& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = std::move(value); }
68 
72  inline void SetClientCertificateId(const char* value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId.assign(value); }
73 
77  inline ClientCertificate& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
78 
82  inline ClientCertificate& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(std::move(value)); return *this;}
83 
87  inline ClientCertificate& WithClientCertificateId(const char* value) { SetClientCertificateId(value); return *this;}
88 
89 
93  inline const Aws::String& GetDescription() const{ return m_description; }
94 
98  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 
103  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 
108  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
109 
113  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
114 
118  inline ClientCertificate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
119 
123  inline ClientCertificate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
124 
128  inline ClientCertificate& WithDescription(const char* value) { SetDescription(value); return *this;}
129 
130 
135  inline const Aws::String& GetPemEncodedCertificate() const{ return m_pemEncodedCertificate; }
136 
141  inline bool PemEncodedCertificateHasBeenSet() const { return m_pemEncodedCertificateHasBeenSet; }
142 
147  inline void SetPemEncodedCertificate(const Aws::String& value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate = value; }
148 
153  inline void SetPemEncodedCertificate(Aws::String&& value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate = std::move(value); }
154 
159  inline void SetPemEncodedCertificate(const char* value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate.assign(value); }
160 
165  inline ClientCertificate& WithPemEncodedCertificate(const Aws::String& value) { SetPemEncodedCertificate(value); return *this;}
166 
171  inline ClientCertificate& WithPemEncodedCertificate(Aws::String&& value) { SetPemEncodedCertificate(std::move(value)); return *this;}
172 
177  inline ClientCertificate& WithPemEncodedCertificate(const char* value) { SetPemEncodedCertificate(value); return *this;}
178 
179 
183  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
184 
188  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
189 
193  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
194 
198  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
199 
203  inline ClientCertificate& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
204 
208  inline ClientCertificate& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
209 
210 
214  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
215 
219  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
220 
224  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
225 
229  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
230 
234  inline ClientCertificate& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
235 
239  inline ClientCertificate& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
240 
241 
246  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
247 
252  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
253 
258  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
259 
264  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
265 
270  inline ClientCertificate& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
271 
276  inline ClientCertificate& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
277 
282  inline ClientCertificate& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
283 
288  inline ClientCertificate& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
289 
294  inline ClientCertificate& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
295 
300  inline ClientCertificate& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
301 
306  inline ClientCertificate& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
307 
312  inline ClientCertificate& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
313 
318  inline ClientCertificate& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
319 
320  private:
321 
322  Aws::String m_clientCertificateId;
323  bool m_clientCertificateIdHasBeenSet;
324 
325  Aws::String m_description;
326  bool m_descriptionHasBeenSet;
327 
328  Aws::String m_pemEncodedCertificate;
329  bool m_pemEncodedCertificateHasBeenSet;
330 
331  Aws::Utils::DateTime m_createdDate;
332  bool m_createdDateHasBeenSet;
333 
334  Aws::Utils::DateTime m_expirationDate;
335  bool m_expirationDateHasBeenSet;
336 
338  bool m_tagsHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace APIGateway
343 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::ClientCertificate::SetPemEncodedCertificate
void SetPemEncodedCertificate(const Aws::String &value)
Definition: ClientCertificate.h:147
Aws::APIGateway::Model::ClientCertificate::PemEncodedCertificateHasBeenSet
bool PemEncodedCertificateHasBeenSet() const
Definition: ClientCertificate.h:141
Aws::APIGateway::Model::ClientCertificate::WithPemEncodedCertificate
ClientCertificate & WithPemEncodedCertificate(const Aws::String &value)
Definition: ClientCertificate.h:165
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ClientCertificate.h:294
Aws::APIGateway::Model::ClientCertificate::GetPemEncodedCertificate
const Aws::String & GetPemEncodedCertificate() const
Definition: ClientCertificate.h:135
Aws::APIGateway::Model::ClientCertificate::WithClientCertificateId
ClientCertificate & WithClientCertificateId(Aws::String &&value)
Definition: ClientCertificate.h:82
Aws::APIGateway::Model::ClientCertificate::WithClientCertificateId
ClientCertificate & WithClientCertificateId(const char *value)
Definition: ClientCertificate.h:87
Aws::APIGateway::Model::ClientCertificate::GetClientCertificateId
const Aws::String & GetClientCertificateId() const
Definition: ClientCertificate.h:52
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::ClientCertificate::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ClientCertificate.h:246
Aws::APIGateway::Model::ClientCertificate::SetPemEncodedCertificate
void SetPemEncodedCertificate(Aws::String &&value)
Definition: ClientCertificate.h:153
Aws::APIGateway::Model::ClientCertificate::ClientCertificateIdHasBeenSet
bool ClientCertificateIdHasBeenSet() const
Definition: ClientCertificate.h:57
Aws::APIGateway::Model::ClientCertificate::WithExpirationDate
ClientCertificate & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: ClientCertificate.h:234
Aws::APIGateway::Model::ClientCertificate::SetDescription
void SetDescription(const Aws::String &value)
Definition: ClientCertificate.h:103
DateTime.h
Aws::APIGateway::Model::ClientCertificate::WithDescription
ClientCertificate & WithDescription(const Aws::String &value)
Definition: ClientCertificate.h:118
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(const char *key, Aws::String &&value)
Definition: ClientCertificate.h:306
Aws::APIGateway::Model::ClientCertificate::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: ClientCertificate.h:188
APIGateway_EXPORTS.h
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(Aws::String &&key, const char *value)
Definition: ClientCertificate.h:312
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ClientCertificate.h:300
Aws::APIGateway::Model::ClientCertificate::WithTags
ClientCertificate & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ClientCertificate.h:270
Aws::APIGateway::Model::ClientCertificate::WithTags
ClientCertificate & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ClientCertificate.h:276
Aws::APIGateway::Model::ClientCertificate::SetClientCertificateId
void SetClientCertificateId(const char *value)
Definition: ClientCertificate.h:72
Aws::APIGateway::Model::ClientCertificate::WithPemEncodedCertificate
ClientCertificate & WithPemEncodedCertificate(Aws::String &&value)
Definition: ClientCertificate.h:171
Aws::APIGateway::Model::ClientCertificate::GetDescription
const Aws::String & GetDescription() const
Definition: ClientCertificate.h:93
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ClientCertificate.h:288
Aws::APIGateway::Model::ClientCertificate::ClientCertificate
ClientCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::ClientCertificate::SetDescription
void SetDescription(const char *value)
Definition: ClientCertificate.h:113
Aws::APIGateway::Model::ClientCertificate::WithCreatedDate
ClientCertificate & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: ClientCertificate.h:203
Aws::APIGateway::Model::ClientCertificate::WithDescription
ClientCertificate & WithDescription(Aws::String &&value)
Definition: ClientCertificate.h:123
Aws::APIGateway::Model::ClientCertificate::WithPemEncodedCertificate
ClientCertificate & WithPemEncodedCertificate(const char *value)
Definition: ClientCertificate.h:177
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(const char *key, const char *value)
Definition: ClientCertificate.h:318
Aws::APIGateway::Model::ClientCertificate::WithClientCertificateId
ClientCertificate & WithClientCertificateId(const Aws::String &value)
Definition: ClientCertificate.h:77
Aws::APIGateway::Model::ClientCertificate::WithCreatedDate
ClientCertificate & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: ClientCertificate.h:208
Aws::APIGateway::Model::ClientCertificate::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: ClientCertificate.h:219
Aws::APIGateway::Model::ClientCertificate::operator=
ClientCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::ClientCertificate::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: ClientCertificate.h:193
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::APIGateway::Model::ClientCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::ClientCertificate::SetClientCertificateId
void SetClientCertificateId(Aws::String &&value)
Definition: ClientCertificate.h:67
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::ClientCertificate::AddTags
ClientCertificate & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ClientCertificate.h:282
Aws::APIGateway::Model::ClientCertificate::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: ClientCertificate.h:183
Aws::APIGateway::Model::ClientCertificate::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: ClientCertificate.h:224
Aws::APIGateway::Model::ClientCertificate::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: ClientCertificate.h:214
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::ClientCertificate::SetDescription
void SetDescription(Aws::String &&value)
Definition: ClientCertificate.h:108
Aws::APIGateway::Model::ClientCertificate::SetClientCertificateId
void SetClientCertificateId(const Aws::String &value)
Definition: ClientCertificate.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::ClientCertificate::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ClientCertificate.h:264
Aws::APIGateway::Model::ClientCertificate::WithDescription
ClientCertificate & WithDescription(const char *value)
Definition: ClientCertificate.h:128
AWSMap.h
Aws::APIGateway::Model::ClientCertificate::SetPemEncodedCertificate
void SetPemEncodedCertificate(const char *value)
Definition: ClientCertificate.h:159
Aws::APIGateway::Model::ClientCertificate::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: ClientCertificate.h:229
Aws::APIGateway::Model::ClientCertificate::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ClientCertificate.h:252
Aws::APIGateway::Model::ClientCertificate
Definition: ClientCertificate.h:41
Aws::APIGateway::Model::ClientCertificate::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: ClientCertificate.h:198
Aws::APIGateway::Model::ClientCertificate::WithExpirationDate
ClientCertificate & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: ClientCertificate.h:239
Aws::APIGateway::Model::ClientCertificate::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ClientCertificate.h:98
Aws::APIGateway::Model::ClientCertificate::ClientCertificate
ClientCertificate()
Aws::APIGateway::Model::ClientCertificate::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ClientCertificate.h:258
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19