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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace SecurityAgent {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
60 m_typeHasBeenSet =
true;
75 m_statusHasBeenSet =
true;
89 template <
typename ResourceGatewayIdT = Aws::String>
91 m_resourceGatewayIdHasBeenSet =
true;
92 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
94 template <
typename ResourceGatewayIdT = Aws::String>
106 template <
typename HostAddressT = Aws::String>
108 m_hostAddressHasBeenSet =
true;
109 m_hostAddress = std::forward<HostAddressT>(value);
111 template <
typename HostAddressT = Aws::String>
123 template <
typename VpcIdT = Aws::String>
125 m_vpcIdHasBeenSet =
true;
126 m_vpcId = std::forward<VpcIdT>(value);
128 template <
typename VpcIdT = Aws::String>
130 SetVpcId(std::forward<VpcIdT>(value));
140 template <
typename ResourceConfigurationIdT = Aws::String>
142 m_resourceConfigurationIdHasBeenSet =
true;
143 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
145 template <
typename ResourceConfigurationIdT = Aws::String>
157 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
159 m_certificateExpiryTimeHasBeenSet =
true;
160 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
162 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
175 m_dnsResolutionHasBeenSet =
true;
176 m_dnsResolution = value;
190 template <
typename FailureMessageT = Aws::String>
192 m_failureMessageHasBeenSet =
true;
193 m_failureMessage = std::forward<FailureMessageT>(value);
195 template <
typename FailureMessageT = Aws::String>
207 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 m_tagsHasBeenSet =
true;
210 m_tags = std::forward<TagsT>(value);
212 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 SetTags(std::forward<TagsT>(value));
217 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
219 m_tagsHasBeenSet =
true;
220 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
228 template <
typename RequestIdT = Aws::String>
230 m_requestIdHasBeenSet =
true;
231 m_requestId = std::forward<RequestIdT>(value);
233 template <
typename RequestIdT = Aws::String>
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;
UpdatePrivateConnectionCertificateResult & WithName(NameT &&value)
PrivateConnectionType GetType() const
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)
void SetDnsResolution(ResourceConfigDnsResolution value)
const Aws::String & GetResourceGatewayId() const
const Aws::String & GetResourceConfigurationId() const
UpdatePrivateConnectionCertificateResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetHostAddress() const
const Aws::String & GetName() const
void SetFailureMessage(FailureMessageT &&value)
void SetTags(TagsT &&value)
void SetName(NameT &&value)
UpdatePrivateConnectionCertificateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdatePrivateConnectionCertificateResult & WithStatus(PrivateConnectionStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetType(PrivateConnectionType value)
ResourceConfigDnsResolution GetDnsResolution() const
void SetResourceConfigurationId(ResourceConfigurationIdT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetFailureMessage() const
const Aws::String & GetVpcId() const
void SetResourceGatewayId(ResourceGatewayIdT &&value)
UpdatePrivateConnectionCertificateResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
AWS_SECURITYAGENT_API UpdatePrivateConnectionCertificateResult()=default
PrivateConnectionStatus GetStatus() const
const Aws::Utils::DateTime & GetCertificateExpiryTime() const
void SetCertificateExpiryTime(CertificateExpiryTimeT &&value)
UpdatePrivateConnectionCertificateResult & WithVpcId(VpcIdT &&value)
UpdatePrivateConnectionCertificateResult & WithHostAddress(HostAddressT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
UpdatePrivateConnectionCertificateResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
UpdatePrivateConnectionCertificateResult & WithTags(TagsT &&value)
UpdatePrivateConnectionCertificateResult & WithDnsResolution(ResourceConfigDnsResolution value)
const Aws::String & GetRequestId() const
UpdatePrivateConnectionCertificateResult & WithType(PrivateConnectionType value)
void SetStatus(PrivateConnectionStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRequestId(RequestIdT &&value)
void SetHostAddress(HostAddressT &&value)
ResourceConfigDnsResolution
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