AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientCertificate.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APIGATEWAY_API ClientCertificate();
39 AWS_APIGATEWAY_API ClientCertificate(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetClientCertificateId() const{ return m_clientCertificateId; }
49 inline bool ClientCertificateIdHasBeenSet() const { return m_clientCertificateIdHasBeenSet; }
50 inline void SetClientCertificateId(const Aws::String& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = value; }
51 inline void SetClientCertificateId(Aws::String&& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = std::move(value); }
52 inline void SetClientCertificateId(const char* value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId.assign(value); }
53 inline ClientCertificate& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
54 inline ClientCertificate& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(std::move(value)); return *this;}
55 inline ClientCertificate& WithClientCertificateId(const char* value) { SetClientCertificateId(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline ClientCertificate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline ClientCertificate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline ClientCertificate& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
77 inline const Aws::String& GetPemEncodedCertificate() const{ return m_pemEncodedCertificate; }
78 inline bool PemEncodedCertificateHasBeenSet() const { return m_pemEncodedCertificateHasBeenSet; }
79 inline void SetPemEncodedCertificate(const Aws::String& value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate = value; }
80 inline void SetPemEncodedCertificate(Aws::String&& value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate = std::move(value); }
81 inline void SetPemEncodedCertificate(const char* value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate.assign(value); }
83 inline ClientCertificate& WithPemEncodedCertificate(Aws::String&& value) { SetPemEncodedCertificate(std::move(value)); return *this;}
84 inline ClientCertificate& WithPemEncodedCertificate(const char* value) { SetPemEncodedCertificate(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
92 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
93 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
94 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
95 inline ClientCertificate& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
96 inline ClientCertificate& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
104 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
105 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
106 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
107 inline ClientCertificate& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
108 inline ClientCertificate& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
110
112
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline ClientCertificate& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 inline ClientCertificate& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline ClientCertificate& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 inline ClientCertificate& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline ClientCertificate& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline ClientCertificate& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline ClientCertificate& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline ClientCertificate& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline ClientCertificate& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130
132
133 inline const Aws::String& GetRequestId() const{ return m_requestId; }
134 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
135 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
136 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
137 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
138 inline ClientCertificate& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
139 inline ClientCertificate& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
140 inline ClientCertificate& WithRequestId(const char* value) { SetRequestId(value); return *this;}
142 private:
143
144 Aws::String m_clientCertificateId;
145 bool m_clientCertificateIdHasBeenSet = false;
146
147 Aws::String m_description;
148 bool m_descriptionHasBeenSet = false;
149
150 Aws::String m_pemEncodedCertificate;
151 bool m_pemEncodedCertificateHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdDate;
154 bool m_createdDateHasBeenSet = false;
155
156 Aws::Utils::DateTime m_expirationDate;
157 bool m_expirationDateHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace APIGateway
168} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ClientCertificate & AddTags(const char *key, const char *value)
ClientCertificate & AddTags(Aws::String &&key, const char *value)
ClientCertificate & WithPemEncodedCertificate(Aws::String &&value)
const Aws::String & GetClientCertificateId() const
ClientCertificate & WithExpirationDate(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
ClientCertificate & AddTags(const Aws::String &key, const Aws::String &value)
ClientCertificate & WithClientCertificateId(const Aws::String &value)
void SetExpirationDate(const Aws::Utils::DateTime &value)
ClientCertificate & WithClientCertificateId(const char *value)
AWS_APIGATEWAY_API ClientCertificate(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API ClientCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
ClientCertificate & WithExpirationDate(const Aws::Utils::DateTime &value)
void SetPemEncodedCertificate(Aws::String &&value)
ClientCertificate & WithRequestId(const Aws::String &value)
ClientCertificate & AddTags(const Aws::String &key, Aws::String &&value)
ClientCertificate & AddTags(Aws::String &&key, Aws::String &&value)
void SetPemEncodedCertificate(const Aws::String &value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClientCertificateId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
ClientCertificate & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetPemEncodedCertificate() const
ClientCertificate & AddTags(Aws::String &&key, const Aws::String &value)
void SetExpirationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
ClientCertificate & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ClientCertificate & WithCreatedDate(Aws::Utils::DateTime &&value)
ClientCertificate & WithCreatedDate(const Aws::Utils::DateTime &value)
ClientCertificate & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ClientCertificate & WithPemEncodedCertificate(const Aws::String &value)
const Aws::Utils::DateTime & GetExpirationDate() const
ClientCertificate & WithPemEncodedCertificate(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
ClientCertificate & AddTags(const char *key, Aws::String &&value)
ClientCertificate & WithRequestId(Aws::String &&value)
ClientCertificate & WithClientCertificateId(Aws::String &&value)
void SetClientCertificateId(Aws::String &&value)
ClientCertificate & WithDescription(const Aws::String &value)
ClientCertificate & WithDescription(const char *value)
ClientCertificate & WithDescription(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue