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>
49 template<
typename ResourceIdT = Aws::String>
50 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
51 template<
typename ResourceIdT = Aws::String>
61 template<
typename TransitGatewayAttachmentIdT = Aws::String>
62 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
63 template<
typename TransitGatewayAttachmentIdT = Aws::String>
80 bool m_resourceIdHasBeenSet =
false;
83 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
86 bool m_resourceTypeHasBeenSet =
false;
AWS_EC2_API TransitGatewayRouteAttachment()=default
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
TransitGatewayAttachmentResourceType GetResourceType() const
bool ResourceIdHasBeenSet() const
AWS_EC2_API TransitGatewayRouteAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResourceId() const
void SetResourceId(ResourceIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceType(TransitGatewayAttachmentResourceType value)
const Aws::String & GetTransitGatewayAttachmentId() const
bool ResourceTypeHasBeenSet() const
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayRouteAttachment & WithResourceId(ResourceIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayRouteAttachment & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
TransitGatewayRouteAttachment & WithResourceType(TransitGatewayAttachmentResourceType value)
AWS_EC2_API TransitGatewayRouteAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream