AWS SDK for C++  1.9.21
AWS SDK for C++
GetClientCertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
42  {
43  public:
47 
48 
52  inline const Aws::String& GetClientCertificateId() const{ return m_clientCertificateId; }
53 
57  inline void SetClientCertificateId(const Aws::String& value) { m_clientCertificateId = value; }
58 
62  inline void SetClientCertificateId(Aws::String&& value) { m_clientCertificateId = std::move(value); }
63 
67  inline void SetClientCertificateId(const char* value) { m_clientCertificateId.assign(value); }
68 
72  inline GetClientCertificateResult& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
73 
77  inline GetClientCertificateResult& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(std::move(value)); return *this;}
78 
82  inline GetClientCertificateResult& WithClientCertificateId(const char* value) { SetClientCertificateId(value); return *this;}
83 
84 
88  inline const Aws::String& GetDescription() const{ return m_description; }
89 
93  inline void SetDescription(const Aws::String& value) { m_description = value; }
94 
98  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
99 
103  inline void SetDescription(const char* value) { m_description.assign(value); }
104 
108  inline GetClientCertificateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline GetClientCertificateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline GetClientCertificateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
119 
120 
125  inline const Aws::String& GetPemEncodedCertificate() const{ return m_pemEncodedCertificate; }
126 
131  inline void SetPemEncodedCertificate(const Aws::String& value) { m_pemEncodedCertificate = value; }
132 
137  inline void SetPemEncodedCertificate(Aws::String&& value) { m_pemEncodedCertificate = std::move(value); }
138 
143  inline void SetPemEncodedCertificate(const char* value) { m_pemEncodedCertificate.assign(value); }
144 
149  inline GetClientCertificateResult& WithPemEncodedCertificate(const Aws::String& value) { SetPemEncodedCertificate(value); return *this;}
150 
155  inline GetClientCertificateResult& WithPemEncodedCertificate(Aws::String&& value) { SetPemEncodedCertificate(std::move(value)); return *this;}
156 
161  inline GetClientCertificateResult& WithPemEncodedCertificate(const char* value) { SetPemEncodedCertificate(value); return *this;}
162 
163 
167  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
168 
172  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
173 
177  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
178 
182  inline GetClientCertificateResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
183 
187  inline GetClientCertificateResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
188 
189 
193  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
194 
198  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDate = value; }
199 
203  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDate = std::move(value); }
204 
208  inline GetClientCertificateResult& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
209 
213  inline GetClientCertificateResult& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
214 
215 
220  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
221 
226  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
227 
232  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
233 
238  inline GetClientCertificateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
239 
244  inline GetClientCertificateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
245 
250  inline GetClientCertificateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
251 
256  inline GetClientCertificateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
257 
262  inline GetClientCertificateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
263 
268  inline GetClientCertificateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
269 
274  inline GetClientCertificateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
275 
280  inline GetClientCertificateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
281 
286  inline GetClientCertificateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
287 
288  private:
289 
290  Aws::String m_clientCertificateId;
291 
292  Aws::String m_description;
293 
294  Aws::String m_pemEncodedCertificate;
295 
296  Aws::Utils::DateTime m_createdDate;
297 
298  Aws::Utils::DateTime m_expirationDate;
299 
301  };
302 
303 } // namespace Model
304 } // namespace APIGateway
305 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(const char *key, Aws::String &&value)
Definition: GetClientCertificateResult.h:274
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetClientCertificateResult::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: GetClientCertificateResult.h:198
Aws::APIGateway::Model::GetClientCertificateResult
Definition: GetClientCertificateResult.h:42
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(const char *key, const char *value)
Definition: GetClientCertificateResult.h:286
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetClientCertificateResult::WithTags
GetClientCertificateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetClientCertificateResult.h:238
Aws::APIGateway::Model::GetClientCertificateResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetClientCertificateResult.h:232
Aws::APIGateway::Model::GetClientCertificateResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetClientCertificateResult.h:177
DateTime.h
Aws::APIGateway::Model::GetClientCertificateResult::WithDescription
GetClientCertificateResult & WithDescription(const char *value)
Definition: GetClientCertificateResult.h:118
Aws::APIGateway::Model::GetClientCertificateResult::WithPemEncodedCertificate
GetClientCertificateResult & WithPemEncodedCertificate(const Aws::String &value)
Definition: GetClientCertificateResult.h:149
Aws::APIGateway::Model::GetClientCertificateResult::operator=
GetClientCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetClientCertificateResult::GetClientCertificateResult
GetClientCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(const Aws::String &value)
Definition: GetClientCertificateResult.h:57
Aws::APIGateway::Model::GetClientCertificateResult::WithExpirationDate
GetClientCertificateResult & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: GetClientCertificateResult.h:208
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetClientCertificateResult::GetClientCertificateId
const Aws::String & GetClientCertificateId() const
Definition: GetClientCertificateResult.h:52
Aws::APIGateway::Model::GetClientCertificateResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetClientCertificateResult.h:172
Aws::APIGateway::Model::GetClientCertificateResult::GetPemEncodedCertificate
const Aws::String & GetPemEncodedCertificate() const
Definition: GetClientCertificateResult.h:125
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetClientCertificateResult.h:262
Aws::APIGateway::Model::GetClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(Aws::String &&value)
Definition: GetClientCertificateResult.h:137
Aws::APIGateway::Model::GetClientCertificateResult::GetClientCertificateResult
GetClientCertificateResult()
Aws::APIGateway::Model::GetClientCertificateResult::SetDescription
void SetDescription(const char *value)
Definition: GetClientCertificateResult.h:103
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetClientCertificateResult.h:268
Aws::APIGateway::Model::GetClientCertificateResult::WithPemEncodedCertificate
GetClientCertificateResult & WithPemEncodedCertificate(Aws::String &&value)
Definition: GetClientCertificateResult.h:155
Aws::APIGateway::Model::GetClientCertificateResult::WithExpirationDate
GetClientCertificateResult & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: GetClientCertificateResult.h:213
Aws::APIGateway::Model::GetClientCertificateResult::WithPemEncodedCertificate
GetClientCertificateResult & WithPemEncodedCertificate(const char *value)
Definition: GetClientCertificateResult.h:161
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(Aws::String &&key, const char *value)
Definition: GetClientCertificateResult.h:280
Aws::APIGateway::Model::GetClientCertificateResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetClientCertificateResult.h:88
Aws::APIGateway::Model::GetClientCertificateResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetClientCertificateResult.h:220
AWSString.h
Aws::APIGateway::Model::GetClientCertificateResult::WithCreatedDate
GetClientCertificateResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetClientCertificateResult.h:182
Aws::APIGateway::Model::GetClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(const char *value)
Definition: GetClientCertificateResult.h:143
Aws::APIGateway::Model::GetClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(Aws::String &&value)
Definition: GetClientCertificateResult.h:62
Aws::APIGateway::Model::GetClientCertificateResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetClientCertificateResult.h:226
Aws::APIGateway::Model::GetClientCertificateResult::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: GetClientCertificateResult.h:203
Aws::APIGateway::Model::GetClientCertificateResult::WithCreatedDate
GetClientCertificateResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetClientCertificateResult.h:187
Aws::APIGateway::Model::GetClientCertificateResult::WithDescription
GetClientCertificateResult & WithDescription(const Aws::String &value)
Definition: GetClientCertificateResult.h:108
Aws::APIGateway::Model::GetClientCertificateResult::WithClientCertificateId
GetClientCertificateResult & WithClientCertificateId(const char *value)
Definition: GetClientCertificateResult.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetClientCertificateResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetClientCertificateResult.h:93
Aws::APIGateway::Model::GetClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(const char *value)
Definition: GetClientCertificateResult.h:67
Aws::APIGateway::Model::GetClientCertificateResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetClientCertificateResult.h:98
Aws::APIGateway::Model::GetClientCertificateResult::WithTags
GetClientCertificateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetClientCertificateResult.h:244
Aws::APIGateway::Model::GetClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(const Aws::String &value)
Definition: GetClientCertificateResult.h:131
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetClientCertificateResult.h:250
Aws::APIGateway::Model::GetClientCertificateResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: GetClientCertificateResult.h:167
Aws::APIGateway::Model::GetClientCertificateResult::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: GetClientCertificateResult.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetClientCertificateResult::WithClientCertificateId
GetClientCertificateResult & WithClientCertificateId(Aws::String &&value)
Definition: GetClientCertificateResult.h:77
Aws::APIGateway::Model::GetClientCertificateResult::WithClientCertificateId
GetClientCertificateResult & WithClientCertificateId(const Aws::String &value)
Definition: GetClientCertificateResult.h:72
Aws::APIGateway::Model::GetClientCertificateResult::WithDescription
GetClientCertificateResult & WithDescription(Aws::String &&value)
Definition: GetClientCertificateResult.h:113
AWSMap.h
Aws::APIGateway::Model::GetClientCertificateResult::AddTags
GetClientCertificateResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetClientCertificateResult.h:256
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19