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/devops-agent/DevOpsAgent_EXPORTS.h>
12#include <aws/devops-agent/model/PrivateConnectionStatus.h>
13#include <aws/devops-agent/model/PrivateConnectionType.h>
14#include <aws/devops-agent/model/ResourceConfigDnsResolution.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace DevOpsAgent {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 m_typeHasBeenSet =
true;
79 template <
typename ResourceGatewayIdT = Aws::String>
81 m_resourceGatewayIdHasBeenSet =
true;
82 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
84 template <
typename ResourceGatewayIdT = Aws::String>
97 template <
typename HostAddressT = Aws::String>
99 m_hostAddressHasBeenSet =
true;
100 m_hostAddress = std::forward<HostAddressT>(value);
102 template <
typename HostAddressT = Aws::String>
115 template <
typename VpcIdT = Aws::String>
117 m_vpcIdHasBeenSet =
true;
118 m_vpcId = std::forward<VpcIdT>(value);
120 template <
typename VpcIdT = Aws::String>
122 SetVpcId(std::forward<VpcIdT>(value));
133 template <
typename ResourceConfigurationIdT = Aws::String>
135 m_resourceConfigurationIdHasBeenSet =
true;
136 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
138 template <
typename ResourceConfigurationIdT = Aws::String>
151 m_statusHasBeenSet =
true;
166 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
168 m_certificateExpiryTimeHasBeenSet =
true;
169 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
171 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
184 m_dnsResolutionHasBeenSet =
true;
185 m_dnsResolution = value;
199 template <
typename FailureMessageT = Aws::String>
201 m_failureMessageHasBeenSet =
true;
202 m_failureMessage = std::forward<FailureMessageT>(value);
204 template <
typename FailureMessageT = Aws::String>
216 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
218 m_tagsHasBeenSet =
true;
219 m_tags = std::forward<TagsT>(value);
221 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 SetTags(std::forward<TagsT>(value));
226 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
228 m_tagsHasBeenSet =
true;
229 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
237 template <
typename RequestIdT = Aws::String>
239 m_requestIdHasBeenSet =
true;
240 m_requestId = std::forward<RequestIdT>(value);
242 template <
typename RequestIdT = Aws::String>
275 bool m_nameHasBeenSet =
false;
276 bool m_typeHasBeenSet =
false;
277 bool m_resourceGatewayIdHasBeenSet =
false;
278 bool m_hostAddressHasBeenSet =
false;
279 bool m_vpcIdHasBeenSet =
false;
280 bool m_resourceConfigurationIdHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
282 bool m_certificateExpiryTimeHasBeenSet =
false;
283 bool m_dnsResolutionHasBeenSet =
false;
284 bool m_failureMessageHasBeenSet =
false;
285 bool m_tagsHasBeenSet =
false;
286 bool m_requestIdHasBeenSet =
false;
void SetCertificateExpiryTime(CertificateExpiryTimeT &&value)
void SetFailureMessage(FailureMessageT &&value)
void SetHostAddress(HostAddressT &&value)
AWS_DEVOPSAGENT_API DescribePrivateConnectionResult()=default
DescribePrivateConnectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCertificateExpiryTime() const
const Aws::String & GetName() const
const Aws::String & GetHostAddress() const
DescribePrivateConnectionResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
const Aws::String & GetResourceConfigurationId() const
ResourceConfigDnsResolution GetDnsResolution() const
void SetResourceConfigurationId(ResourceConfigurationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribePrivateConnectionResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
DescribePrivateConnectionResult & WithName(NameT &&value)
void SetResourceGatewayId(ResourceGatewayIdT &&value)
const Aws::String & GetResourceGatewayId() const
DescribePrivateConnectionResult & WithRequestId(RequestIdT &&value)
DescribePrivateConnectionResult & WithStatus(PrivateConnectionStatus value)
const Aws::String & GetFailureMessage() const
void SetStatus(PrivateConnectionStatus value)
AWS_DEVOPSAGENT_API DescribePrivateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PrivateConnectionType GetType() const
void SetName(NameT &&value)
DescribePrivateConnectionResult & WithTags(TagsT &&value)
void SetType(PrivateConnectionType value)
const Aws::String & GetRequestId() const
DescribePrivateConnectionResult & WithVpcId(VpcIdT &&value)
DescribePrivateConnectionResult & WithFailureMessage(FailureMessageT &&value)
PrivateConnectionStatus GetStatus() const
void SetTags(TagsT &&value)
void SetDnsResolution(ResourceConfigDnsResolution value)
DescribePrivateConnectionResult & WithDnsResolution(ResourceConfigDnsResolution value)
DescribePrivateConnectionResult & WithType(PrivateConnectionType value)
AWS_DEVOPSAGENT_API DescribePrivateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
void SetRequestId(RequestIdT &&value)
DescribePrivateConnectionResult & WithHostAddress(HostAddressT &&value)
DescribePrivateConnectionResult & WithResourceGatewayId(ResourceGatewayIdT &&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