AWS SDK for C++  1.9.16
AWS SDK for C++
GenerateClientCertificateResult.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 GenerateClientCertificateResult& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
73 
77  inline GenerateClientCertificateResult& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(std::move(value)); return *this;}
78 
82  inline GenerateClientCertificateResult& 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 GenerateClientCertificateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline GenerateClientCertificateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline GenerateClientCertificateResult& 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 GenerateClientCertificateResult& WithPemEncodedCertificate(const Aws::String& value) { SetPemEncodedCertificate(value); return *this;}
150 
155  inline GenerateClientCertificateResult& WithPemEncodedCertificate(Aws::String&& value) { SetPemEncodedCertificate(std::move(value)); return *this;}
156 
161  inline GenerateClientCertificateResult& 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 GenerateClientCertificateResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
183 
187  inline GenerateClientCertificateResult& 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 GenerateClientCertificateResult& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
209 
213  inline GenerateClientCertificateResult& 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 GenerateClientCertificateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
239 
244  inline GenerateClientCertificateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
245 
250  inline GenerateClientCertificateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
251 
256  inline GenerateClientCertificateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
257 
262  inline GenerateClientCertificateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
263 
268  inline GenerateClientCertificateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
269 
274  inline GenerateClientCertificateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
275 
280  inline GenerateClientCertificateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
281 
286  inline GenerateClientCertificateResult& 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::GenerateClientCertificateResult::WithTags
GenerateClientCertificateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GenerateClientCertificateResult.h:238
Aws::APIGateway::Model::GenerateClientCertificateResult::WithPemEncodedCertificate
GenerateClientCertificateResult & WithPemEncodedCertificate(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:149
Aws::APIGateway::Model::GenerateClientCertificateResult::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: GenerateClientCertificateResult.h:193
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GenerateClientCertificateResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: GenerateClientCertificateResult.h:167
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GenerateClientCertificateResult::operator=
GenerateClientCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(Aws::String &&key, const char *value)
Definition: GenerateClientCertificateResult.h:280
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(const char *key, Aws::String &&value)
Definition: GenerateClientCertificateResult.h:274
Aws::APIGateway::Model::GenerateClientCertificateResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: GenerateClientCertificateResult.h:172
Aws::APIGateway::Model::GenerateClientCertificateResult::GetClientCertificateId
const Aws::String & GetClientCertificateId() const
Definition: GenerateClientCertificateResult.h:52
Aws::APIGateway::Model::GenerateClientCertificateResult::WithDescription
GenerateClientCertificateResult & WithDescription(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:108
Aws::APIGateway::Model::GenerateClientCertificateResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GenerateClientCertificateResult.h:232
DateTime.h
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GenerateClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:131
Aws::APIGateway::Model::GenerateClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(const char *value)
Definition: GenerateClientCertificateResult.h:67
Aws::APIGateway::Model::GenerateClientCertificateResult::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: GenerateClientCertificateResult.h:203
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GenerateClientCertificateResult.h:256
Aws::APIGateway::Model::GenerateClientCertificateResult
Definition: GenerateClientCertificateResult.h:42
Aws::APIGateway::Model::GenerateClientCertificateResult::WithExpirationDate
GenerateClientCertificateResult & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: GenerateClientCertificateResult.h:208
Aws::APIGateway::Model::GenerateClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:62
Aws::APIGateway::Model::GenerateClientCertificateResult::WithDescription
GenerateClientCertificateResult & WithDescription(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:113
Aws::APIGateway::Model::GenerateClientCertificateResult::WithDescription
GenerateClientCertificateResult & WithDescription(const char *value)
Definition: GenerateClientCertificateResult.h:118
Aws::APIGateway::Model::GenerateClientCertificateResult::GenerateClientCertificateResult
GenerateClientCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GenerateClientCertificateResult::GenerateClientCertificateResult
GenerateClientCertificateResult()
Aws::APIGateway::Model::GenerateClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:137
Aws::APIGateway::Model::GenerateClientCertificateResult::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: GenerateClientCertificateResult.h:198
Aws::APIGateway::Model::GenerateClientCertificateResult::SetPemEncodedCertificate
void SetPemEncodedCertificate(const char *value)
Definition: GenerateClientCertificateResult.h:143
Aws::APIGateway::Model::GenerateClientCertificateResult::WithClientCertificateId
GenerateClientCertificateResult & WithClientCertificateId(const char *value)
Definition: GenerateClientCertificateResult.h:82
Aws::APIGateway::Model::GenerateClientCertificateResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:93
AWSString.h
Aws::APIGateway::Model::GenerateClientCertificateResult::WithPemEncodedCertificate
GenerateClientCertificateResult & WithPemEncodedCertificate(const char *value)
Definition: GenerateClientCertificateResult.h:161
Aws::APIGateway::Model::GenerateClientCertificateResult::WithCreatedDate
GenerateClientCertificateResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: GenerateClientCertificateResult.h:182
Aws::APIGateway::Model::GenerateClientCertificateResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:98
Aws::APIGateway::Model::GenerateClientCertificateResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: GenerateClientCertificateResult.h:177
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(const char *key, const char *value)
Definition: GenerateClientCertificateResult.h:286
Aws::APIGateway::Model::GenerateClientCertificateResult::WithClientCertificateId
GenerateClientCertificateResult & WithClientCertificateId(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:77
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GenerateClientCertificateResult.h:262
Aws::APIGateway::Model::GenerateClientCertificateResult::SetDescription
void SetDescription(const char *value)
Definition: GenerateClientCertificateResult.h:103
Aws::APIGateway::Model::GenerateClientCertificateResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GenerateClientCertificateResult.h:226
Aws::APIGateway::Model::GenerateClientCertificateResult::GetDescription
const Aws::String & GetDescription() const
Definition: GenerateClientCertificateResult.h:88
Aws::APIGateway::Model::GenerateClientCertificateResult::WithTags
GenerateClientCertificateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GenerateClientCertificateResult.h:244
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GenerateClientCertificateResult.h:268
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GenerateClientCertificateResult::WithPemEncodedCertificate
GenerateClientCertificateResult & WithPemEncodedCertificate(Aws::String &&value)
Definition: GenerateClientCertificateResult.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GenerateClientCertificateResult::WithClientCertificateId
GenerateClientCertificateResult & WithClientCertificateId(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:72
Aws::APIGateway::Model::GenerateClientCertificateResult::GetPemEncodedCertificate
const Aws::String & GetPemEncodedCertificate() const
Definition: GenerateClientCertificateResult.h:125
Aws::APIGateway::Model::GenerateClientCertificateResult::WithCreatedDate
GenerateClientCertificateResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: GenerateClientCertificateResult.h:187
Aws::APIGateway::Model::GenerateClientCertificateResult::SetClientCertificateId
void SetClientCertificateId(const Aws::String &value)
Definition: GenerateClientCertificateResult.h:57
AWSMap.h
Aws::APIGateway::Model::GenerateClientCertificateResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GenerateClientCertificateResult.h:220
Aws::APIGateway::Model::GenerateClientCertificateResult::AddTags
GenerateClientCertificateResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GenerateClientCertificateResult.h:250
Aws::APIGateway::Model::GenerateClientCertificateResult::WithExpirationDate
GenerateClientCertificateResult & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: GenerateClientCertificateResult.h:213
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19