7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/TransitGatewayAttachmentResourceType.h>
43 template <
typename ResourceIdT = Aws::String>
45 m_resourceIdHasBeenSet =
true;
46 m_resourceId = std::forward<ResourceIdT>(value);
48 template <
typename ResourceIdT = Aws::String>
61 template <
typename TransitGatewayAttachmentIdT = Aws::String>
63 m_transitGatewayAttachmentIdHasBeenSet =
true;
64 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
66 template <
typename TransitGatewayAttachmentIdT = Aws::String>
81 m_resourceTypeHasBeenSet =
true;
82 m_resourceType = value;
95 bool m_resourceIdHasBeenSet =
false;
96 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
97 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