7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEc2VpnConnectionOptionsDetails.h>
11#include <aws/securityhub/model/AwsEc2VpnConnectionVgwTelemetryDetails.h>
12#include <aws/securityhub/model/AwsEc2VpnConnectionRoutesDetails.h>
50 template<
typename VpnConnectionIdT = Aws::String>
51 void SetVpnConnectionId(VpnConnectionIdT&& value) { m_vpnConnectionIdHasBeenSet =
true; m_vpnConnectionId = std::forward<VpnConnectionIdT>(value); }
52 template<
typename VpnConnectionIdT = Aws::String>
65 template<
typename StateT = Aws::String>
66 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
67 template<
typename StateT = Aws::String>
78 template<
typename CustomerGatewayIdT = Aws::String>
79 void SetCustomerGatewayId(CustomerGatewayIdT&& value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId = std::forward<CustomerGatewayIdT>(value); }
80 template<
typename CustomerGatewayIdT = Aws::String>
91 template<
typename CustomerGatewayConfigurationT = Aws::String>
92 void SetCustomerGatewayConfiguration(CustomerGatewayConfigurationT&& value) { m_customerGatewayConfigurationHasBeenSet =
true; m_customerGatewayConfiguration = std::forward<CustomerGatewayConfigurationT>(value); }
93 template<
typename CustomerGatewayConfigurationT = Aws::String>
103 template<
typename TypeT = Aws::String>
104 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
105 template<
typename TypeT = Aws::String>
116 template<
typename VpnGatewayIdT = Aws::String>
117 void SetVpnGatewayId(VpnGatewayIdT&& value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId = std::forward<VpnGatewayIdT>(value); }
118 template<
typename VpnGatewayIdT = Aws::String>
130 template<
typename CategoryT = Aws::String>
131 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
132 template<
typename CategoryT = Aws::String>
142 template<
typename VgwTelemetryT = Aws::Vector<AwsEc2VpnConnectionVgwTelemetryDetails>>
143 void SetVgwTelemetry(VgwTelemetryT&& value) { m_vgwTelemetryHasBeenSet =
true; m_vgwTelemetry = std::forward<VgwTelemetryT>(value); }
144 template<
typename VgwTelemetryT = Aws::Vector<AwsEc2VpnConnectionVgwTelemetryDetails>>
146 template<
typename VgwTelemetryT = AwsEc2VpnConnectionVgwTelemetryDetails>
156 template<
typename OptionsT = AwsEc2VpnConnectionOptionsDetails>
157 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
158 template<
typename OptionsT = AwsEc2VpnConnectionOptionsDetails>
168 template<
typename RoutesT = Aws::Vector<AwsEc2VpnConnectionRoutesDetails>>
169 void SetRoutes(RoutesT&& value) { m_routesHasBeenSet =
true; m_routes = std::forward<RoutesT>(value); }
170 template<
typename RoutesT = Aws::Vector<AwsEc2VpnConnectionRoutesDetails>>
172 template<
typename RoutesT = AwsEc2VpnConnectionRoutesDetails>
183 template<
typename TransitGatewayIdT = Aws::String>
184 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
185 template<
typename TransitGatewayIdT = Aws::String>
191 bool m_vpnConnectionIdHasBeenSet =
false;
194 bool m_stateHasBeenSet =
false;
197 bool m_customerGatewayIdHasBeenSet =
false;
200 bool m_customerGatewayConfigurationHasBeenSet =
false;
203 bool m_typeHasBeenSet =
false;
206 bool m_vpnGatewayIdHasBeenSet =
false;
209 bool m_categoryHasBeenSet =
false;
212 bool m_vgwTelemetryHasBeenSet =
false;
215 bool m_optionsHasBeenSet =
false;
218 bool m_routesHasBeenSet =
false;
221 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