7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/TransitGatewayAttachment.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename TransitGatewayAttachmentsT = Aws::Vector<TransitGatewayAttachment>>
39 m_transitGatewayAttachmentsHasBeenSet =
true;
40 m_transitGatewayAttachments = std::forward<TransitGatewayAttachmentsT>(value);
42 template <
typename TransitGatewayAttachmentsT = Aws::Vector<TransitGatewayAttachment>>
47 template <
typename TransitGatewayAttachmentsT = TransitGatewayAttachment>
49 m_transitGatewayAttachmentsHasBeenSet =
true;
50 m_transitGatewayAttachments.emplace_back(std::forward<TransitGatewayAttachmentsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename ResponseMetadataT = ResponseMetadata>
78 m_responseMetadataHasBeenSet =
true;
79 m_responseMetadata = std::forward<ResponseMetadataT>(value);
81 template <
typename ResponseMetadataT = ResponseMetadata>
93 bool m_transitGatewayAttachmentsHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 bool m_responseMetadataHasBeenSet =
false;
DescribeTransitGatewayAttachmentsResponse & AddTransitGatewayAttachments(TransitGatewayAttachmentsT &&value)
DescribeTransitGatewayAttachmentsResponse & WithTransitGatewayAttachments(TransitGatewayAttachmentsT &&value)
DescribeTransitGatewayAttachmentsResponse & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_EC2_API DescribeTransitGatewayAttachmentsResponse()=default
void SetNextToken(NextTokenT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeTransitGatewayAttachmentsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeTransitGatewayAttachmentsResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeTransitGatewayAttachmentsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< TransitGatewayAttachment > & GetTransitGatewayAttachments() const
const ResponseMetadata & GetResponseMetadata() const
void SetTransitGatewayAttachments(TransitGatewayAttachmentsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument