AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
DeletePrivateConnectionResult.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 DeletePrivateConnectionResult() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
57 inline PrivateConnectionType GetType() const { return m_type; }
58 inline void SetType(PrivateConnectionType value) {
59 m_typeHasBeenSet = true;
60 m_type = value;
61 }
63 SetType(value);
64 return *this;
65 }
67
69
72 inline PrivateConnectionStatus GetStatus() const { return m_status; }
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82
84
87 inline const Aws::String& GetResourceGatewayId() const { return m_resourceGatewayId; }
88 template <typename ResourceGatewayIdT = Aws::String>
89 void SetResourceGatewayId(ResourceGatewayIdT&& value) {
90 m_resourceGatewayIdHasBeenSet = true;
91 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
92 }
93 template <typename ResourceGatewayIdT = Aws::String>
95 SetResourceGatewayId(std::forward<ResourceGatewayIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetHostAddress() const { return m_hostAddress; }
105 template <typename HostAddressT = Aws::String>
106 void SetHostAddress(HostAddressT&& value) {
107 m_hostAddressHasBeenSet = true;
108 m_hostAddress = std::forward<HostAddressT>(value);
109 }
110 template <typename HostAddressT = Aws::String>
112 SetHostAddress(std::forward<HostAddressT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetVpcId() const { return m_vpcId; }
122 template <typename VpcIdT = Aws::String>
123 void SetVpcId(VpcIdT&& value) {
124 m_vpcIdHasBeenSet = true;
125 m_vpcId = std::forward<VpcIdT>(value);
126 }
127 template <typename VpcIdT = Aws::String>
129 SetVpcId(std::forward<VpcIdT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
139 template <typename ResourceConfigurationIdT = Aws::String>
140 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) {
141 m_resourceConfigurationIdHasBeenSet = true;
142 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
143 }
144 template <typename ResourceConfigurationIdT = Aws::String>
146 SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCertificateExpiryTime() const { return m_certificateExpiryTime; }
156 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
157 void SetCertificateExpiryTime(CertificateExpiryTimeT&& value) {
158 m_certificateExpiryTimeHasBeenSet = true;
159 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
160 }
161 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
163 SetCertificateExpiryTime(std::forward<CertificateExpiryTimeT>(value));
164 return *this;
165 }
167
169
172 inline ResourceConfigDnsResolution GetDnsResolution() const { return m_dnsResolution; }
174 m_dnsResolutionHasBeenSet = true;
175 m_dnsResolution = value;
176 }
178 SetDnsResolution(value);
179 return *this;
180 }
182
184
188 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
189 template <typename FailureMessageT = Aws::String>
190 void SetFailureMessage(FailureMessageT&& value) {
191 m_failureMessageHasBeenSet = true;
192 m_failureMessage = std::forward<FailureMessageT>(value);
193 }
194 template <typename FailureMessageT = Aws::String>
196 SetFailureMessage(std::forward<FailureMessageT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
206 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 void SetTags(TagsT&& value) {
208 m_tagsHasBeenSet = true;
209 m_tags = std::forward<TagsT>(value);
210 }
211 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 SetTags(std::forward<TagsT>(value));
214 return *this;
215 }
216 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
217 DeletePrivateConnectionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
218 m_tagsHasBeenSet = true;
219 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
220 return *this;
221 }
223
225
226 inline const Aws::String& GetRequestId() const { return m_requestId; }
227 template <typename RequestIdT = Aws::String>
228 void SetRequestId(RequestIdT&& value) {
229 m_requestIdHasBeenSet = true;
230 m_requestId = std::forward<RequestIdT>(value);
231 }
232 template <typename RequestIdT = Aws::String>
234 SetRequestId(std::forward<RequestIdT>(value));
235 return *this;
236 }
238 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
239
240 private:
241 Aws::String m_name;
242
244
246
247 Aws::String m_resourceGatewayId;
248
249 Aws::String m_hostAddress;
250
251 Aws::String m_vpcId;
252
253 Aws::String m_resourceConfigurationId;
254
255 Aws::Utils::DateTime m_certificateExpiryTime{};
256
258
259 Aws::String m_failureMessage;
260
262
263 Aws::String m_requestId;
264 Aws::Http::HttpResponseCode m_HttpResponseCode;
265 bool m_nameHasBeenSet = false;
266 bool m_typeHasBeenSet = false;
267 bool m_statusHasBeenSet = false;
268 bool m_resourceGatewayIdHasBeenSet = false;
269 bool m_hostAddressHasBeenSet = false;
270 bool m_vpcIdHasBeenSet = false;
271 bool m_resourceConfigurationIdHasBeenSet = false;
272 bool m_certificateExpiryTimeHasBeenSet = false;
273 bool m_dnsResolutionHasBeenSet = false;
274 bool m_failureMessageHasBeenSet = false;
275 bool m_tagsHasBeenSet = false;
276 bool m_requestIdHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace SecurityAgent
281} // namespace Aws
AWS_SECURITYAGENT_API DeletePrivateConnectionResult()=default
DeletePrivateConnectionResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DeletePrivateConnectionResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
DeletePrivateConnectionResult & WithDnsResolution(ResourceConfigDnsResolution value)
DeletePrivateConnectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_SECURITYAGENT_API DeletePrivateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePrivateConnectionResult & WithFailureMessage(FailureMessageT &&value)
DeletePrivateConnectionResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
DeletePrivateConnectionResult & WithVpcId(VpcIdT &&value)
DeletePrivateConnectionResult & WithHostAddress(HostAddressT &&value)
DeletePrivateConnectionResult & WithRequestId(RequestIdT &&value)
DeletePrivateConnectionResult & WithStatus(PrivateConnectionStatus value)
DeletePrivateConnectionResult & WithType(PrivateConnectionType value)
AWS_SECURITYAGENT_API DeletePrivateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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