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>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace DevOpsAgent {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 m_typeHasBeenSet =
true;
78 template <
typename ResourceGatewayIdT = Aws::String>
80 m_resourceGatewayIdHasBeenSet =
true;
81 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
83 template <
typename ResourceGatewayIdT = Aws::String>
96 template <
typename HostAddressT = Aws::String>
98 m_hostAddressHasBeenSet =
true;
99 m_hostAddress = std::forward<HostAddressT>(value);
101 template <
typename HostAddressT = Aws::String>
114 template <
typename VpcIdT = Aws::String>
116 m_vpcIdHasBeenSet =
true;
117 m_vpcId = std::forward<VpcIdT>(value);
119 template <
typename VpcIdT = Aws::String>
121 SetVpcId(std::forward<VpcIdT>(value));
132 template <
typename ResourceConfigurationIdT = Aws::String>
134 m_resourceConfigurationIdHasBeenSet =
true;
135 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
137 template <
typename ResourceConfigurationIdT = Aws::String>
150 m_statusHasBeenSet =
true;
165 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
167 m_certificateExpiryTimeHasBeenSet =
true;
168 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
170 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 m_tagsHasBeenSet =
true;
185 m_tags = std::forward<TagsT>(value);
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 SetTags(std::forward<TagsT>(value));
192 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
194 m_tagsHasBeenSet =
true;
195 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
203 template <
typename RequestIdT = Aws::String>
205 m_requestIdHasBeenSet =
true;
206 m_requestId = std::forward<RequestIdT>(value);
208 template <
typename RequestIdT = Aws::String>
237 bool m_nameHasBeenSet =
false;
238 bool m_typeHasBeenSet =
false;
239 bool m_resourceGatewayIdHasBeenSet =
false;
240 bool m_hostAddressHasBeenSet =
false;
241 bool m_vpcIdHasBeenSet =
false;
242 bool m_resourceConfigurationIdHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 bool m_certificateExpiryTimeHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
246 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetVpcId() const
AWS_DEVOPSAGENT_API CreatePrivateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetResourceGatewayId() const
CreatePrivateConnectionResult & WithTags(TagsT &&value)
CreatePrivateConnectionResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
CreatePrivateConnectionResult & WithRequestId(RequestIdT &&value)
void SetHostAddress(HostAddressT &&value)
const Aws::String & GetHostAddress() const
void SetVpcId(VpcIdT &&value)
const Aws::String & GetResourceConfigurationId() const
AWS_DEVOPSAGENT_API CreatePrivateConnectionResult()=default
CreatePrivateConnectionResult & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
CreatePrivateConnectionResult & WithStatus(PrivateConnectionStatus value)
void SetResourceConfigurationId(ResourceConfigurationIdT &&value)
void SetName(NameT &&value)
void SetType(PrivateConnectionType value)
CreatePrivateConnectionResult & WithName(NameT &&value)
const Aws::String & GetName() const
void SetCertificateExpiryTime(CertificateExpiryTimeT &&value)
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_DEVOPSAGENT_API CreatePrivateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetStatus(PrivateConnectionStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreatePrivateConnectionResult & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
PrivateConnectionStatus GetStatus() const
CreatePrivateConnectionResult & WithHostAddress(HostAddressT &&value)
const Aws::Utils::DateTime & GetCertificateExpiryTime() const
void SetTags(TagsT &&value)
CreatePrivateConnectionResult & WithType(PrivateConnectionType value)
CreatePrivateConnectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePrivateConnectionResult & WithVpcId(VpcIdT &&value)
void SetResourceGatewayId(ResourceGatewayIdT &&value)
PrivateConnectionType GetType() const
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