7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEc2VpnConnectionOptionsDetails.h>
11#include <aws/securityhub/model/AwsEc2VpnConnectionRoutesDetails.h>
12#include <aws/securityhub/model/AwsEc2VpnConnectionVgwTelemetryDetails.h>
44 template <
typename VpnConnectionIdT = Aws::String>
46 m_vpnConnectionIdHasBeenSet =
true;
47 m_vpnConnectionId = std::forward<VpnConnectionIdT>(value);
49 template <
typename VpnConnectionIdT = Aws::String>
65 template <
typename StateT = Aws::String>
67 m_stateHasBeenSet =
true;
68 m_state = std::forward<StateT>(value);
70 template <
typename StateT = Aws::String>
72 SetState(std::forward<StateT>(value));
84 template <
typename CustomerGatewayIdT = Aws::String>
86 m_customerGatewayIdHasBeenSet =
true;
87 m_customerGatewayId = std::forward<CustomerGatewayIdT>(value);
89 template <
typename CustomerGatewayIdT = Aws::String>
103 template <
typename CustomerGatewayConfigurationT = Aws::String>
105 m_customerGatewayConfigurationHasBeenSet =
true;
106 m_customerGatewayConfiguration = std::forward<CustomerGatewayConfigurationT>(value);
108 template <
typename CustomerGatewayConfigurationT = Aws::String>
121 template <
typename TypeT = Aws::String>
123 m_typeHasBeenSet =
true;
124 m_type = std::forward<TypeT>(value);
126 template <
typename TypeT = Aws::String>
128 SetType(std::forward<TypeT>(value));
140 template <
typename VpnGatewayIdT = Aws::String>
142 m_vpnGatewayIdHasBeenSet =
true;
143 m_vpnGatewayId = std::forward<VpnGatewayIdT>(value);
145 template <
typename VpnGatewayIdT = Aws::String>
160 template <
typename CategoryT = Aws::String>
162 m_categoryHasBeenSet =
true;
163 m_category = std::forward<CategoryT>(value);
165 template <
typename CategoryT = Aws::String>
178 template <
typename VgwTelemetryT = Aws::Vector<AwsEc2VpnConnectionVgwTelemetryDetails>>
180 m_vgwTelemetryHasBeenSet =
true;
181 m_vgwTelemetry = std::forward<VgwTelemetryT>(value);
183 template <
typename VgwTelemetryT = Aws::Vector<AwsEc2VpnConnectionVgwTelemetryDetails>>
188 template <
typename VgwTelemetryT = AwsEc2VpnConnectionVgwTelemetryDetails>
190 m_vgwTelemetryHasBeenSet =
true;
191 m_vgwTelemetry.emplace_back(std::forward<VgwTelemetryT>(value));
202 template <
typename OptionsT = AwsEc2VpnConnectionOptionsDetails>
204 m_optionsHasBeenSet =
true;
205 m_options = std::forward<OptionsT>(value);
207 template <
typename OptionsT = AwsEc2VpnConnectionOptionsDetails>
220 template <
typename RoutesT = Aws::Vector<AwsEc2VpnConnectionRoutesDetails>>
222 m_routesHasBeenSet =
true;
223 m_routes = std::forward<RoutesT>(value);
225 template <
typename RoutesT = Aws::Vector<AwsEc2VpnConnectionRoutesDetails>>
230 template <
typename RoutesT = AwsEc2VpnConnectionRoutesDetails>
232 m_routesHasBeenSet =
true;
233 m_routes.emplace_back(std::forward<RoutesT>(value));
245 template <
typename TransitGatewayIdT = Aws::String>
247 m_transitGatewayIdHasBeenSet =
true;
248 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
250 template <
typename TransitGatewayIdT = Aws::String>
278 bool m_vpnConnectionIdHasBeenSet =
false;
279 bool m_stateHasBeenSet =
false;
280 bool m_customerGatewayIdHasBeenSet =
false;
281 bool m_customerGatewayConfigurationHasBeenSet =
false;
282 bool m_typeHasBeenSet =
false;
283 bool m_vpnGatewayIdHasBeenSet =
false;
284 bool m_categoryHasBeenSet =
false;
285 bool m_vgwTelemetryHasBeenSet =
false;
286 bool m_optionsHasBeenSet =
false;
287 bool m_routesHasBeenSet =
false;
288 bool m_transitGatewayIdHasBeenSet =
false;
const Aws::Vector< AwsEc2VpnConnectionRoutesDetails > & GetRoutes() const
void SetType(TypeT &&value)
bool CustomerGatewayConfigurationHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
void SetTransitGatewayId(TransitGatewayIdT &&value)
void SetOptions(OptionsT &&value)
AwsEc2VpnConnectionDetails & WithState(StateT &&value)
AWS_SECURITYHUB_API AwsEc2VpnConnectionDetails()=default
const Aws::String & GetCustomerGatewayId() const
bool StateHasBeenSet() const
AwsEc2VpnConnectionDetails & WithCustomerGatewayConfiguration(CustomerGatewayConfigurationT &&value)
const Aws::String & GetVpnConnectionId() const
void SetCustomerGatewayConfiguration(CustomerGatewayConfigurationT &&value)
AwsEc2VpnConnectionDetails & WithCustomerGatewayId(CustomerGatewayIdT &&value)
void SetState(StateT &&value)
AWS_SECURITYHUB_API AwsEc2VpnConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEc2VpnConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RoutesHasBeenSet() const
const Aws::String & GetCategory() const
void SetCustomerGatewayId(CustomerGatewayIdT &&value)
void SetVpnConnectionId(VpnConnectionIdT &&value)
const Aws::String & GetCustomerGatewayConfiguration() const
AwsEc2VpnConnectionDetails & WithOptions(OptionsT &&value)
AwsEc2VpnConnectionDetails & WithCategory(CategoryT &&value)
AwsEc2VpnConnectionDetails & WithType(TypeT &&value)
const Aws::String & GetType() const
void SetRoutes(RoutesT &&value)
AwsEc2VpnConnectionDetails & AddVgwTelemetry(VgwTelemetryT &&value)
AwsEc2VpnConnectionDetails & WithTransitGatewayId(TransitGatewayIdT &&value)
void SetCategory(CategoryT &&value)
bool TypeHasBeenSet() const
AwsEc2VpnConnectionDetails & WithVpnGatewayId(VpnGatewayIdT &&value)
bool OptionsHasBeenSet() const
const Aws::String & GetState() const
bool VgwTelemetryHasBeenSet() const
bool CategoryHasBeenSet() const
const Aws::String & GetTransitGatewayId() const
const Aws::Vector< AwsEc2VpnConnectionVgwTelemetryDetails > & GetVgwTelemetry() const
void SetVgwTelemetry(VgwTelemetryT &&value)
const AwsEc2VpnConnectionOptionsDetails & GetOptions() const
bool VpnGatewayIdHasBeenSet() const
void SetVpnGatewayId(VpnGatewayIdT &&value)
AwsEc2VpnConnectionDetails & WithVpnConnectionId(VpnConnectionIdT &&value)
bool VpnConnectionIdHasBeenSet() const
bool CustomerGatewayIdHasBeenSet() const
AwsEc2VpnConnectionDetails & WithRoutes(RoutesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpnGatewayId() const
AwsEc2VpnConnectionDetails & AddRoutes(RoutesT &&value)
AwsEc2VpnConnectionDetails & WithVgwTelemetry(VgwTelemetryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue