7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/GatewayAssociationState.h>
11#include <aws/ec2/model/VpnConnectionOptions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/VpnState.h>
14#include <aws/ec2/model/GatewayType.h>
15#include <aws/ec2/model/VpnStaticRoute.h>
16#include <aws/ec2/model/Tag.h>
17#include <aws/ec2/model/VgwTelemetry.h>
60 inline void SetCategory(
const char* value) { m_categoryHasBeenSet =
true; m_category.assign(value); }
74 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
88 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
102 inline void SetCoreNetworkAttachmentArn(
const char* value) { m_coreNetworkAttachmentArnHasBeenSet =
true; m_coreNetworkAttachmentArn.assign(value); }
182 inline void SetVpnConnectionId(
const char* value) { m_vpnConnectionIdHasBeenSet =
true; m_vpnConnectionId.assign(value); }
195 inline void SetState(
VpnState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
238 inline void SetCustomerGatewayId(
const char* value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId.assign(value); }
253 inline void SetVpnGatewayId(
const char* value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId.assign(value); }
261 bool m_categoryHasBeenSet =
false;
264 bool m_transitGatewayIdHasBeenSet =
false;
267 bool m_coreNetworkArnHasBeenSet =
false;
270 bool m_coreNetworkAttachmentArnHasBeenSet =
false;
273 bool m_gatewayAssociationStateHasBeenSet =
false;
276 bool m_optionsHasBeenSet =
false;
279 bool m_routesHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
285 bool m_vgwTelemetryHasBeenSet =
false;
288 bool m_vpnConnectionIdHasBeenSet =
false;
291 bool m_stateHasBeenSet =
false;
294 bool m_customerGatewayConfigurationHasBeenSet =
false;
297 bool m_typeHasBeenSet =
false;
300 bool m_customerGatewayIdHasBeenSet =
false;
303 bool m_vpnGatewayIdHasBeenSet =
false;
const Aws::String & GetCoreNetworkAttachmentArn() const
VpnConnection & WithRoutes(const Aws::Vector< VpnStaticRoute > &value)
void SetType(GatewayType &&value)
VpnConnection & WithCustomerGatewayConfiguration(const char *value)
void SetState(const VpnState &value)
VpnConnection & WithCustomerGatewayId(const char *value)
bool CustomerGatewayIdHasBeenSet() const
void SetCoreNetworkAttachmentArn(const Aws::String &value)
void SetCategory(Aws::String &&value)
const Aws::String & GetCustomerGatewayConfiguration() const
const Aws::String & GetVpnGatewayId() const
void SetCategory(const Aws::String &value)
void SetVgwTelemetry(const Aws::Vector< VgwTelemetry > &value)
void SetRoutes(Aws::Vector< VpnStaticRoute > &&value)
bool TransitGatewayIdHasBeenSet() const
bool VgwTelemetryHasBeenSet() const
VpnConnection & AddRoutes(const VpnStaticRoute &value)
const VpnConnectionOptions & GetOptions() const
void SetTransitGatewayId(Aws::String &&value)
void SetTransitGatewayId(const Aws::String &value)
VpnConnection & AddTags(const Tag &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpnConnection & WithTags(const Aws::Vector< Tag > &value)
void SetCustomerGatewayId(const Aws::String &value)
VpnConnection & WithVpnGatewayId(const char *value)
VpnConnection & WithCategory(Aws::String &&value)
bool OptionsHasBeenSet() const
VpnConnection & WithCoreNetworkArn(const Aws::String &value)
void SetCategory(const char *value)
void SetGatewayAssociationState(GatewayAssociationState &&value)
void SetType(const GatewayType &value)
bool CustomerGatewayConfigurationHasBeenSet() const
const Aws::String & GetTransitGatewayId() const
VpnConnection & WithVpnConnectionId(const Aws::String &value)
bool RoutesHasBeenSet() const
VpnConnection & WithRoutes(Aws::Vector< VpnStaticRoute > &&value)
bool CategoryHasBeenSet() const
void SetCustomerGatewayId(const char *value)
VpnConnection & WithType(const GatewayType &value)
AWS_EC2_API VpnConnection()
VpnConnection & WithState(const VpnState &value)
VpnConnection & WithCategory(const Aws::String &value)
bool CoreNetworkAttachmentArnHasBeenSet() const
const GatewayAssociationState & GetGatewayAssociationState() const
bool TagsHasBeenSet() const
const Aws::String & GetCategory() const
VpnConnection & WithOptions(const VpnConnectionOptions &value)
void SetCoreNetworkArn(Aws::String &&value)
void SetCoreNetworkArn(const Aws::String &value)
void SetOptions(const VpnConnectionOptions &value)
void SetRoutes(const Aws::Vector< VpnStaticRoute > &value)
VpnConnection & WithCustomerGatewayId(const Aws::String &value)
void SetCustomerGatewayConfiguration(const Aws::String &value)
VpnConnection & WithCustomerGatewayId(Aws::String &&value)
void SetVpnGatewayId(const char *value)
VpnConnection & WithCoreNetworkAttachmentArn(const char *value)
VpnConnection & WithVpnConnectionId(const char *value)
VpnConnection & WithCustomerGatewayConfiguration(const Aws::String &value)
void SetCustomerGatewayConfiguration(Aws::String &&value)
VpnConnection & WithCoreNetworkAttachmentArn(const Aws::String &value)
VpnConnection & WithCoreNetworkArn(Aws::String &&value)
bool VpnGatewayIdHasBeenSet() const
void SetVpnConnectionId(const char *value)
void SetCoreNetworkAttachmentArn(Aws::String &&value)
VpnConnection & WithType(GatewayType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VpnConnection & WithCoreNetworkArn(const char *value)
VpnConnection & WithTransitGatewayId(const Aws::String &value)
VpnConnection & AddTags(Tag &&value)
void SetCoreNetworkAttachmentArn(const char *value)
VpnConnection & WithTransitGatewayId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
VpnConnection & WithTransitGatewayId(Aws::String &&value)
VpnConnection & WithVgwTelemetry(const Aws::Vector< VgwTelemetry > &value)
void SetVpnGatewayId(Aws::String &&value)
const Aws::String & GetCoreNetworkArn() const
VpnConnection & WithCategory(const char *value)
void SetOptions(VpnConnectionOptions &&value)
void SetGatewayAssociationState(const GatewayAssociationState &value)
void SetTags(Aws::Vector< Tag > &&value)
VpnConnection & AddVgwTelemetry(VgwTelemetry &&value)
VpnConnection & WithGatewayAssociationState(GatewayAssociationState &&value)
VpnConnection & WithCustomerGatewayConfiguration(Aws::String &&value)
bool CoreNetworkArnHasBeenSet() const
bool GatewayAssociationStateHasBeenSet() const
VpnConnection & WithVpnConnectionId(Aws::String &&value)
const VpnState & GetState() const
VpnConnection & WithVpnGatewayId(const Aws::String &value)
void SetVpnConnectionId(Aws::String &&value)
void SetCustomerGatewayId(Aws::String &&value)
VpnConnection & WithGatewayAssociationState(const GatewayAssociationState &value)
const Aws::String & GetCustomerGatewayId() const
const Aws::Vector< VgwTelemetry > & GetVgwTelemetry() const
bool TypeHasBeenSet() const
VpnConnection & AddVgwTelemetry(const VgwTelemetry &value)
void SetState(VpnState &&value)
AWS_EC2_API VpnConnection(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpnConnectionId(const Aws::String &value)
VpnConnection & WithOptions(VpnConnectionOptions &&value)
void SetCustomerGatewayConfiguration(const char *value)
void SetVpnGatewayId(const Aws::String &value)
bool VpnConnectionIdHasBeenSet() const
const Aws::String & GetVpnConnectionId() const
void SetCoreNetworkArn(const char *value)
AWS_EC2_API VpnConnection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransitGatewayId(const char *value)
void SetVgwTelemetry(Aws::Vector< VgwTelemetry > &&value)
VpnConnection & AddRoutes(VpnStaticRoute &&value)
VpnConnection & WithTags(Aws::Vector< Tag > &&value)
VpnConnection & WithVpnGatewayId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
VpnConnection & WithCoreNetworkAttachmentArn(Aws::String &&value)
bool StateHasBeenSet() const
const GatewayType & GetType() const
const Aws::Vector< VpnStaticRoute > & GetRoutes() const
VpnConnection & WithState(VpnState &&value)
VpnConnection & WithVgwTelemetry(Aws::Vector< VgwTelemetry > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream