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/RouteServerAssociationState.h>
51 template<
typename RouteServerIdT = Aws::String>
52 void SetRouteServerId(RouteServerIdT&& value) { m_routeServerIdHasBeenSet =
true; m_routeServerId = std::forward<RouteServerIdT>(value); }
53 template<
typename RouteServerIdT = Aws::String>
63 template<
typename VpcIdT = Aws::String>
64 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
65 template<
typename VpcIdT = Aws::String>
81 bool m_routeServerIdHasBeenSet =
false;
84 bool m_vpcIdHasBeenSet =
false;
87 bool m_stateHasBeenSet =
false;
bool RouteServerIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RouteServerAssociation & WithRouteServerId(RouteServerIdT &&value)
AWS_EC2_API RouteServerAssociation()=default
RouteServerAssociation & WithState(RouteServerAssociationState value)
RouteServerAssociation & WithVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
void SetVpcId(VpcIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API RouteServerAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRouteServerId(RouteServerIdT &&value)
RouteServerAssociationState GetState() const
const Aws::String & GetRouteServerId() const
bool VpcIdHasBeenSet() const
void SetState(RouteServerAssociationState value)
bool StateHasBeenSet() const
AWS_EC2_API RouteServerAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RouteServerAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream