AWS SDK for C++

AWS SDK for C++ Version 1.11.844

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/AWSString.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/PrivateConnectionStatus.h>
12#include <aws/devops-agent/model/PrivateConnectionType.h>
13#include <aws/devops-agent/model/ResourceConfigDnsResolution.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DevOpsAgent {
27namespace Model {
35 public:
36 AWS_DEVOPSAGENT_API UpdatePrivateConnectionCertificateResult() = default;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 template <typename NameT = Aws::String>
47 void SetName(NameT&& value) {
48 m_nameHasBeenSet = true;
49 m_name = std::forward<NameT>(value);
50 }
51 template <typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
54 return *this;
55 }
57
59
62 inline PrivateConnectionType GetType() const { return m_type; }
63 inline void SetType(PrivateConnectionType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetResourceGatewayId() const { return m_resourceGatewayId; }
79 template <typename ResourceGatewayIdT = Aws::String>
80 void SetResourceGatewayId(ResourceGatewayIdT&& value) {
81 m_resourceGatewayIdHasBeenSet = true;
82 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
83 }
84 template <typename ResourceGatewayIdT = Aws::String>
86 SetResourceGatewayId(std::forward<ResourceGatewayIdT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetHostAddress() const { return m_hostAddress; }
97 template <typename HostAddressT = Aws::String>
98 void SetHostAddress(HostAddressT&& value) {
99 m_hostAddressHasBeenSet = true;
100 m_hostAddress = std::forward<HostAddressT>(value);
101 }
102 template <typename HostAddressT = Aws::String>
104 SetHostAddress(std::forward<HostAddressT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetVpcId() const { return m_vpcId; }
115 template <typename VpcIdT = Aws::String>
116 void SetVpcId(VpcIdT&& value) {
117 m_vpcIdHasBeenSet = true;
118 m_vpcId = std::forward<VpcIdT>(value);
119 }
120 template <typename VpcIdT = Aws::String>
122 SetVpcId(std::forward<VpcIdT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
133 template <typename ResourceConfigurationIdT = Aws::String>
134 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) {
135 m_resourceConfigurationIdHasBeenSet = true;
136 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
137 }
138 template <typename ResourceConfigurationIdT = Aws::String>
140 SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value));
141 return *this;
142 }
144
146
149 inline PrivateConnectionStatus GetStatus() const { return m_status; }
151 m_statusHasBeenSet = true;
152 m_status = value;
153 }
155 SetStatus(value);
156 return *this;
157 }
159
161
165 inline const Aws::Utils::DateTime& GetCertificateExpiryTime() const { return m_certificateExpiryTime; }
166 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
167 void SetCertificateExpiryTime(CertificateExpiryTimeT&& value) {
168 m_certificateExpiryTimeHasBeenSet = true;
169 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
170 }
171 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
173 SetCertificateExpiryTime(std::forward<CertificateExpiryTimeT>(value));
174 return *this;
175 }
177
179
182 inline ResourceConfigDnsResolution GetDnsResolution() const { return m_dnsResolution; }
184 m_dnsResolutionHasBeenSet = true;
185 m_dnsResolution = value;
186 }
188 SetDnsResolution(value);
189 return *this;
190 }
192
194
198 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
199 template <typename FailureMessageT = Aws::String>
200 void SetFailureMessage(FailureMessageT&& value) {
201 m_failureMessageHasBeenSet = true;
202 m_failureMessage = std::forward<FailureMessageT>(value);
203 }
204 template <typename FailureMessageT = Aws::String>
206 SetFailureMessage(std::forward<FailureMessageT>(value));
207 return *this;
208 }
210
212
213 inline const Aws::String& GetRequestId() const { return m_requestId; }
214 template <typename RequestIdT = Aws::String>
215 void SetRequestId(RequestIdT&& value) {
216 m_requestIdHasBeenSet = true;
217 m_requestId = std::forward<RequestIdT>(value);
218 }
219 template <typename RequestIdT = Aws::String>
221 SetRequestId(std::forward<RequestIdT>(value));
222 return *this;
223 }
225 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
226
227 private:
228 Aws::String m_name;
229
231
232 Aws::String m_resourceGatewayId;
233
234 Aws::String m_hostAddress;
235
236 Aws::String m_vpcId;
237
238 Aws::String m_resourceConfigurationId;
239
241
242 Aws::Utils::DateTime m_certificateExpiryTime{};
243
245
246 Aws::String m_failureMessage;
247
248 Aws::String m_requestId;
249 Aws::Http::HttpResponseCode m_HttpResponseCode;
250 bool m_nameHasBeenSet = false;
251 bool m_typeHasBeenSet = false;
252 bool m_resourceGatewayIdHasBeenSet = false;
253 bool m_hostAddressHasBeenSet = false;
254 bool m_vpcIdHasBeenSet = false;
255 bool m_resourceConfigurationIdHasBeenSet = false;
256 bool m_statusHasBeenSet = false;
257 bool m_certificateExpiryTimeHasBeenSet = false;
258 bool m_dnsResolutionHasBeenSet = false;
259 bool m_failureMessageHasBeenSet = false;
260 bool m_requestIdHasBeenSet = false;
261};
262
263} // namespace Model
264} // namespace DevOpsAgent
265} // namespace Aws
UpdatePrivateConnectionCertificateResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
UpdatePrivateConnectionCertificateResult & WithRequestId(RequestIdT &&value)
UpdatePrivateConnectionCertificateResult & WithFailureMessage(FailureMessageT &&value)
AWS_DEVOPSAGENT_API UpdatePrivateConnectionCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePrivateConnectionCertificateResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
UpdatePrivateConnectionCertificateResult & WithDnsResolution(ResourceConfigDnsResolution value)
UpdatePrivateConnectionCertificateResult & WithStatus(PrivateConnectionStatus value)
AWS_DEVOPSAGENT_API UpdatePrivateConnectionCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePrivateConnectionCertificateResult & WithType(PrivateConnectionType value)
UpdatePrivateConnectionCertificateResult & WithHostAddress(HostAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue