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/TransitGatewayAttachmentResourceType.h>
11#include <aws/ec2/model/TransitGatewayAssociationState.h>
51 template<
typename TransitGatewayAttachmentIdT = Aws::String>
52 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
53 template<
typename TransitGatewayAttachmentIdT = Aws::String>
63 template<
typename ResourceIdT = Aws::String>
64 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
65 template<
typename ResourceIdT = Aws::String>
92 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
95 bool m_resourceIdHasBeenSet =
false;
98 bool m_resourceTypeHasBeenSet =
false;
101 bool m_stateHasBeenSet =
false;
AWS_EC2_API TransitGatewayRouteTableAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceId(ResourceIdT &&value)
AWS_EC2_API TransitGatewayRouteTableAssociation()=default
bool TransitGatewayAttachmentIdHasBeenSet() const
bool StateHasBeenSet() const
void SetResourceType(TransitGatewayAttachmentResourceType value)
TransitGatewayRouteTableAssociation & WithState(TransitGatewayAssociationState value)
void SetState(TransitGatewayAssociationState value)
TransitGatewayAssociationState GetState() const
TransitGatewayRouteTableAssociation & WithResourceType(TransitGatewayAttachmentResourceType value)
const Aws::String & GetTransitGatewayAttachmentId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
bool ResourceIdHasBeenSet() const
bool ResourceTypeHasBeenSet() const
TransitGatewayRouteTableAssociation & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
const Aws::String & GetResourceId() const
TransitGatewayRouteTableAssociation & WithResourceId(ResourceIdT &&value)
TransitGatewayAttachmentResourceType GetResourceType() const
AWS_EC2_API TransitGatewayRouteTableAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAssociationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream