7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/TransitGatewayAttachment.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename TransitGatewayAttachmentsT = Aws::Vector<TransitGatewayAttachment>>
40 m_transitGatewayAttachmentsHasBeenSet =
true;
41 m_transitGatewayAttachments = std::forward<TransitGatewayAttachmentsT>(value);
43 template <
typename TransitGatewayAttachmentsT = Aws::Vector<TransitGatewayAttachment>>
48 template <
typename TransitGatewayAttachmentsT = TransitGatewayAttachment>
50 m_transitGatewayAttachmentsHasBeenSet =
true;
51 m_transitGatewayAttachments.emplace_back(std::forward<TransitGatewayAttachmentsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename ResponseMetadataT = ResponseMetadata>
79 m_responseMetadataHasBeenSet =
true;
80 m_responseMetadata = std::forward<ResponseMetadataT>(value);
82 template <
typename ResponseMetadataT = ResponseMetadata>
97 bool m_transitGatewayAttachmentsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 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::Http::HttpResponseCode GetHttpResponseCode() const
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