AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
UpdatePrivateConnectionCertificateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securityagent/SecurityAgent_EXPORTS.h>
12#include <aws/securityagent/model/PrivateConnectionStatus.h>
13#include <aws/securityagent/model/PrivateConnectionType.h>
14#include <aws/securityagent/model/ResourceConfigDnsResolution.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SecurityAgent {
28namespace Model {
30 public:
31 AWS_SECURITYAGENT_API UpdatePrivateConnectionCertificateResult() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline PrivateConnectionType GetType() const { return m_type; }
59 inline void SetType(PrivateConnectionType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68
70
73 inline PrivateConnectionStatus GetStatus() const { return m_status; }
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetResourceGatewayId() const { return m_resourceGatewayId; }
89 template <typename ResourceGatewayIdT = Aws::String>
90 void SetResourceGatewayId(ResourceGatewayIdT&& value) {
91 m_resourceGatewayIdHasBeenSet = true;
92 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
93 }
94 template <typename ResourceGatewayIdT = Aws::String>
96 SetResourceGatewayId(std::forward<ResourceGatewayIdT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetHostAddress() const { return m_hostAddress; }
106 template <typename HostAddressT = Aws::String>
107 void SetHostAddress(HostAddressT&& value) {
108 m_hostAddressHasBeenSet = true;
109 m_hostAddress = std::forward<HostAddressT>(value);
110 }
111 template <typename HostAddressT = Aws::String>
113 SetHostAddress(std::forward<HostAddressT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetVpcId() const { return m_vpcId; }
123 template <typename VpcIdT = Aws::String>
124 void SetVpcId(VpcIdT&& value) {
125 m_vpcIdHasBeenSet = true;
126 m_vpcId = std::forward<VpcIdT>(value);
127 }
128 template <typename VpcIdT = Aws::String>
130 SetVpcId(std::forward<VpcIdT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
140 template <typename ResourceConfigurationIdT = Aws::String>
141 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) {
142 m_resourceConfigurationIdHasBeenSet = true;
143 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
144 }
145 template <typename ResourceConfigurationIdT = Aws::String>
147 SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCertificateExpiryTime() const { return m_certificateExpiryTime; }
157 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
158 void SetCertificateExpiryTime(CertificateExpiryTimeT&& value) {
159 m_certificateExpiryTimeHasBeenSet = true;
160 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
161 }
162 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
164 SetCertificateExpiryTime(std::forward<CertificateExpiryTimeT>(value));
165 return *this;
166 }
168
170
173 inline ResourceConfigDnsResolution GetDnsResolution() const { return m_dnsResolution; }
175 m_dnsResolutionHasBeenSet = true;
176 m_dnsResolution = value;
177 }
179 SetDnsResolution(value);
180 return *this;
181 }
183
185
189 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
190 template <typename FailureMessageT = Aws::String>
191 void SetFailureMessage(FailureMessageT&& value) {
192 m_failureMessageHasBeenSet = true;
193 m_failureMessage = std::forward<FailureMessageT>(value);
194 }
195 template <typename FailureMessageT = Aws::String>
197 SetFailureMessage(std::forward<FailureMessageT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
207 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 void SetTags(TagsT&& value) {
209 m_tagsHasBeenSet = true;
210 m_tags = std::forward<TagsT>(value);
211 }
212 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 SetTags(std::forward<TagsT>(value));
215 return *this;
216 }
217 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
218 UpdatePrivateConnectionCertificateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
219 m_tagsHasBeenSet = true;
220 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
221 return *this;
222 }
224
226
227 inline const Aws::String& GetRequestId() const { return m_requestId; }
228 template <typename RequestIdT = Aws::String>
229 void SetRequestId(RequestIdT&& value) {
230 m_requestIdHasBeenSet = true;
231 m_requestId = std::forward<RequestIdT>(value);
232 }
233 template <typename RequestIdT = Aws::String>
235 SetRequestId(std::forward<RequestIdT>(value));
236 return *this;
237 }
239 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
240
241 private:
242 Aws::String m_name;
243
245
247
248 Aws::String m_resourceGatewayId;
249
250 Aws::String m_hostAddress;
251
252 Aws::String m_vpcId;
253
254 Aws::String m_resourceConfigurationId;
255
256 Aws::Utils::DateTime m_certificateExpiryTime{};
257
259
260 Aws::String m_failureMessage;
261
263
264 Aws::String m_requestId;
265 Aws::Http::HttpResponseCode m_HttpResponseCode;
266 bool m_nameHasBeenSet = false;
267 bool m_typeHasBeenSet = false;
268 bool m_statusHasBeenSet = false;
269 bool m_resourceGatewayIdHasBeenSet = false;
270 bool m_hostAddressHasBeenSet = false;
271 bool m_vpcIdHasBeenSet = false;
272 bool m_resourceConfigurationIdHasBeenSet = false;
273 bool m_certificateExpiryTimeHasBeenSet = false;
274 bool m_dnsResolutionHasBeenSet = false;
275 bool m_failureMessageHasBeenSet = false;
276 bool m_tagsHasBeenSet = false;
277 bool m_requestIdHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace SecurityAgent
282} // namespace Aws
AWS_SECURITYAGENT_API UpdatePrivateConnectionCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePrivateConnectionCertificateResult & WithFailureMessage(FailureMessageT &&value)
AWS_SECURITYAGENT_API UpdatePrivateConnectionCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePrivateConnectionCertificateResult & WithRequestId(RequestIdT &&value)
UpdatePrivateConnectionCertificateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdatePrivateConnectionCertificateResult & WithStatus(PrivateConnectionStatus value)
UpdatePrivateConnectionCertificateResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
UpdatePrivateConnectionCertificateResult & WithHostAddress(HostAddressT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
UpdatePrivateConnectionCertificateResult & WithDnsResolution(ResourceConfigDnsResolution value)
UpdatePrivateConnectionCertificateResult & WithType(PrivateConnectionType 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