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/AssociationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
53 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
67 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
81 inline void SetTargetNetworkId(
const char* value) { m_targetNetworkIdHasBeenSet =
true; m_targetNetworkId.assign(value); }
96 inline void SetClientVpnEndpointId(
const char* value) { m_clientVpnEndpointIdHasBeenSet =
true; m_clientVpnEndpointId.assign(value); }
131 bool m_associationIdHasBeenSet =
false;
134 bool m_vpcIdHasBeenSet =
false;
137 bool m_targetNetworkIdHasBeenSet =
false;
140 bool m_clientVpnEndpointIdHasBeenSet =
false;
143 bool m_statusHasBeenSet =
false;
146 bool m_securityGroupsHasBeenSet =
false;
TargetNetwork & WithTargetNetworkId(const char *value)
TargetNetwork & WithAssociationId(const char *value)
TargetNetwork & WithAssociationId(const Aws::String &value)
void SetVpcId(const char *value)
TargetNetwork & AddSecurityGroups(const char *value)
TargetNetwork & WithStatus(const AssociationStatus &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
TargetNetwork & WithVpcId(const char *value)
TargetNetwork & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClientVpnEndpointId() const
const Aws::String & GetVpcId() const
void SetAssociationId(Aws::String &&value)
void SetStatus(const AssociationStatus &value)
bool VpcIdHasBeenSet() const
const Aws::String & GetTargetNetworkId() const
AWS_EC2_API TargetNetwork(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetNetwork & WithTargetNetworkId(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
bool StatusHasBeenSet() const
TargetNetwork & WithVpcId(Aws::String &&value)
TargetNetwork & WithAssociationId(Aws::String &&value)
TargetNetwork & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
AWS_EC2_API TargetNetwork & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetNetwork & AddSecurityGroups(const Aws::String &value)
void SetClientVpnEndpointId(Aws::String &&value)
bool AssociationIdHasBeenSet() const
void SetClientVpnEndpointId(const char *value)
void SetVpcId(const Aws::String &value)
void SetTargetNetworkId(const Aws::String &value)
bool TargetNetworkIdHasBeenSet() const
const Aws::String & GetAssociationId() const
void SetVpcId(Aws::String &&value)
TargetNetwork & WithVpcId(const Aws::String &value)
TargetNetwork & WithClientVpnEndpointId(const Aws::String &value)
const AssociationStatus & GetStatus() const
bool SecurityGroupsHasBeenSet() const
void SetAssociationId(const char *value)
void SetClientVpnEndpointId(const Aws::String &value)
TargetNetwork & AddSecurityGroups(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TargetNetwork & WithStatus(AssociationStatus &&value)
TargetNetwork & WithClientVpnEndpointId(Aws::String &&value)
void SetTargetNetworkId(Aws::String &&value)
void SetStatus(AssociationStatus &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
bool ClientVpnEndpointIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAssociationId(const Aws::String &value)
TargetNetwork & WithTargetNetworkId(Aws::String &&value)
AWS_EC2_API TargetNetwork()
void SetTargetNetworkId(const char *value)
TargetNetwork & WithClientVpnEndpointId(const char *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