AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsAgent {
26namespace Model {
34 public:
35 AWS_DEVOPSAGENT_API UpdatePrivateConnectionCertificateResult() = default;
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
61 inline PrivateConnectionType GetType() const { return m_type; }
62 inline void SetType(PrivateConnectionType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetResourceGatewayId() const { return m_resourceGatewayId; }
78 template <typename ResourceGatewayIdT = Aws::String>
79 void SetResourceGatewayId(ResourceGatewayIdT&& value) {
80 m_resourceGatewayIdHasBeenSet = true;
81 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
82 }
83 template <typename ResourceGatewayIdT = Aws::String>
85 SetResourceGatewayId(std::forward<ResourceGatewayIdT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetHostAddress() const { return m_hostAddress; }
96 template <typename HostAddressT = Aws::String>
97 void SetHostAddress(HostAddressT&& value) {
98 m_hostAddressHasBeenSet = true;
99 m_hostAddress = std::forward<HostAddressT>(value);
100 }
101 template <typename HostAddressT = Aws::String>
103 SetHostAddress(std::forward<HostAddressT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetVpcId() const { return m_vpcId; }
114 template <typename VpcIdT = Aws::String>
115 void SetVpcId(VpcIdT&& value) {
116 m_vpcIdHasBeenSet = true;
117 m_vpcId = std::forward<VpcIdT>(value);
118 }
119 template <typename VpcIdT = Aws::String>
121 SetVpcId(std::forward<VpcIdT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
132 template <typename ResourceConfigurationIdT = Aws::String>
133 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) {
134 m_resourceConfigurationIdHasBeenSet = true;
135 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
136 }
137 template <typename ResourceConfigurationIdT = Aws::String>
139 SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value));
140 return *this;
141 }
143
145
148 inline PrivateConnectionStatus GetStatus() const { return m_status; }
150 m_statusHasBeenSet = true;
151 m_status = value;
152 }
154 SetStatus(value);
155 return *this;
156 }
158
160
164 inline const Aws::Utils::DateTime& GetCertificateExpiryTime() const { return m_certificateExpiryTime; }
165 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
166 void SetCertificateExpiryTime(CertificateExpiryTimeT&& value) {
167 m_certificateExpiryTimeHasBeenSet = true;
168 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
169 }
170 template <typename CertificateExpiryTimeT = Aws::Utils::DateTime>
172 SetCertificateExpiryTime(std::forward<CertificateExpiryTimeT>(value));
173 return *this;
174 }
176
178
179 inline const Aws::String& GetRequestId() const { return m_requestId; }
180 template <typename RequestIdT = Aws::String>
181 void SetRequestId(RequestIdT&& value) {
182 m_requestIdHasBeenSet = true;
183 m_requestId = std::forward<RequestIdT>(value);
184 }
185 template <typename RequestIdT = Aws::String>
187 SetRequestId(std::forward<RequestIdT>(value));
188 return *this;
189 }
191 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
192
193 private:
194 Aws::String m_name;
195
197
198 Aws::String m_resourceGatewayId;
199
200 Aws::String m_hostAddress;
201
202 Aws::String m_vpcId;
203
204 Aws::String m_resourceConfigurationId;
205
207
208 Aws::Utils::DateTime m_certificateExpiryTime{};
209
210 Aws::String m_requestId;
211 Aws::Http::HttpResponseCode m_HttpResponseCode;
212 bool m_nameHasBeenSet = false;
213 bool m_typeHasBeenSet = false;
214 bool m_resourceGatewayIdHasBeenSet = false;
215 bool m_hostAddressHasBeenSet = false;
216 bool m_vpcIdHasBeenSet = false;
217 bool m_resourceConfigurationIdHasBeenSet = false;
218 bool m_statusHasBeenSet = false;
219 bool m_certificateExpiryTimeHasBeenSet = false;
220 bool m_requestIdHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace DevOpsAgent
225} // namespace Aws
UpdatePrivateConnectionCertificateResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
UpdatePrivateConnectionCertificateResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSAGENT_API UpdatePrivateConnectionCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePrivateConnectionCertificateResult & WithResourceConfigurationId(ResourceConfigurationIdT &&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