7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/PrivateConnectionStatus.h>
12#include <aws/securityagent/model/PrivateConnectionType.h>
13#include <aws/securityagent/model/ResourceConfigDnsResolution.h>
24namespace SecurityAgent {
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));
65 m_typeHasBeenSet =
true;
81 m_statusHasBeenSet =
true;
96 template <
typename ResourceGatewayIdT = Aws::String>
98 m_resourceGatewayIdHasBeenSet =
true;
99 m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value);
101 template <
typename ResourceGatewayIdT = Aws::String>
114 template <
typename HostAddressT = Aws::String>
116 m_hostAddressHasBeenSet =
true;
117 m_hostAddress = std::forward<HostAddressT>(value);
119 template <
typename HostAddressT = Aws::String>
132 template <
typename VpcIdT = Aws::String>
134 m_vpcIdHasBeenSet =
true;
135 m_vpcId = std::forward<VpcIdT>(value);
137 template <
typename VpcIdT = Aws::String>
139 SetVpcId(std::forward<VpcIdT>(value));
150 template <
typename ResourceConfigurationIdT = Aws::String>
152 m_resourceConfigurationIdHasBeenSet =
true;
153 m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value);
155 template <
typename ResourceConfigurationIdT = Aws::String>
168 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
170 m_certificateExpiryTimeHasBeenSet =
true;
171 m_certificateExpiryTime = std::forward<CertificateExpiryTimeT>(value);
173 template <
typename CertificateExpiryTimeT = Aws::Utils::DateTime>
187 m_dnsResolutionHasBeenSet =
true;
188 m_dnsResolution = value;
203 template <
typename FailureMessageT = Aws::String>
205 m_failureMessageHasBeenSet =
true;
206 m_failureMessage = std::forward<FailureMessageT>(value);
208 template <
typename FailureMessageT = Aws::String>
221 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 m_tagsHasBeenSet =
true;
224 m_tags = std::forward<TagsT>(value);
226 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
228 SetTags(std::forward<TagsT>(value));
231 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
233 m_tagsHasBeenSet =
true;
234 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
260 bool m_nameHasBeenSet =
false;
261 bool m_typeHasBeenSet =
false;
262 bool m_statusHasBeenSet =
false;
263 bool m_resourceGatewayIdHasBeenSet =
false;
264 bool m_hostAddressHasBeenSet =
false;
265 bool m_vpcIdHasBeenSet =
false;
266 bool m_resourceConfigurationIdHasBeenSet =
false;
267 bool m_certificateExpiryTimeHasBeenSet =
false;
268 bool m_dnsResolutionHasBeenSet =
false;
269 bool m_failureMessageHasBeenSet =
false;
270 bool m_tagsHasBeenSet =
false;
PrivateConnectionSummary & WithVpcId(VpcIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetHostAddress(HostAddressT &&value)
PrivateConnectionSummary & WithStatus(PrivateConnectionStatus value)
ResourceConfigDnsResolution GetDnsResolution() const
bool ResourceGatewayIdHasBeenSet() const
void SetDnsResolution(ResourceConfigDnsResolution value)
PrivateConnectionSummary & WithType(PrivateConnectionType value)
const Aws::String & GetName() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceConfigurationIdHasBeenSet() const
bool FailureMessageHasBeenSet() const
void SetTags(TagsT &&value)
AWS_SECURITYAGENT_API PrivateConnectionSummary()=default
bool DnsResolutionHasBeenSet() const
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetResourceGatewayId() const
PrivateConnectionStatus GetStatus() const
const Aws::Utils::DateTime & GetCertificateExpiryTime() const
AWS_SECURITYAGENT_API PrivateConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHostAddress() const
void SetCertificateExpiryTime(CertificateExpiryTimeT &&value)
void SetResourceConfigurationId(ResourceConfigurationIdT &&value)
const Aws::String & GetFailureMessage() const
PrivateConnectionSummary & WithDnsResolution(ResourceConfigDnsResolution value)
void SetFailureMessage(FailureMessageT &&value)
const Aws::String & GetVpcId() const
PrivateConnectionSummary & WithHostAddress(HostAddressT &&value)
void SetName(NameT &&value)
PrivateConnectionType GetType() const
void SetResourceGatewayId(ResourceGatewayIdT &&value)
PrivateConnectionSummary & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
void SetStatus(PrivateConnectionStatus value)
bool TagsHasBeenSet() const
void SetType(PrivateConnectionType value)
bool CertificateExpiryTimeHasBeenSet() const
PrivateConnectionSummary & WithCertificateExpiryTime(CertificateExpiryTimeT &&value)
PrivateConnectionSummary & WithResourceGatewayId(ResourceGatewayIdT &&value)
bool StatusHasBeenSet() const
PrivateConnectionSummary & WithFailureMessage(FailureMessageT &&value)
AWS_SECURITYAGENT_API PrivateConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VpcIdHasBeenSet() const
const Aws::String & GetResourceConfigurationId() const
void SetVpcId(VpcIdT &&value)
PrivateConnectionSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool HostAddressHasBeenSet() const
PrivateConnectionSummary & WithTags(TagsT &&value)
PrivateConnectionSummary & WithName(NameT &&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