7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
29 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeTransitGatewayAttachments"; }
43 template <
typename TransitGatewayAttachmentIdsT = Aws::Vector<Aws::String>>
45 m_transitGatewayAttachmentIdsHasBeenSet =
true;
46 m_transitGatewayAttachmentIds = std::forward<TransitGatewayAttachmentIdsT>(value);
48 template <
typename TransitGatewayAttachmentIdsT = Aws::Vector<Aws::String>>
53 template <
typename TransitGatewayAttachmentIdsT = Aws::String>
55 m_transitGatewayAttachmentIdsHasBeenSet =
true;
56 m_transitGatewayAttachmentIds.emplace_back(std::forward<TransitGatewayAttachmentIdsT>(value));
87 template <
typename FiltersT = Aws::Vector<Filter>>
89 m_filtersHasBeenSet =
true;
90 m_filters = std::forward<FiltersT>(value);
92 template <
typename FiltersT = Aws::Vector<Filter>>
97 template <
typename FiltersT = Filter>
99 m_filtersHasBeenSet =
true;
100 m_filters.emplace_back(std::forward<FiltersT>(value));
114 m_maxResultsHasBeenSet =
true;
115 m_maxResults = value;
129 template <
typename NextTokenT = Aws::String>
131 m_nextTokenHasBeenSet =
true;
132 m_nextToken = std::forward<NextTokenT>(value);
134 template <
typename NextTokenT = Aws::String>
151 m_dryRunHasBeenSet =
true;
168 bool m_dryRun{
false};
169 bool m_transitGatewayAttachmentIdsHasBeenSet =
false;
170 bool m_filtersHasBeenSet =
false;
171 bool m_maxResultsHasBeenSet =
false;
172 bool m_nextTokenHasBeenSet =
false;
173 bool m_dryRunHasBeenSet =
false;
DescribeTransitGatewayAttachmentsRequest & AddTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
DescribeTransitGatewayAttachmentsRequest & WithNextToken(NextTokenT &&value)
void SetFilters(FiltersT &&value)
const Aws::String & GetNextToken() const
DescribeTransitGatewayAttachmentsRequest & WithTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
DescribeTransitGatewayAttachmentsRequest & WithMaxResults(int value)
const Aws::Vector< Aws::String > & GetTransitGatewayAttachmentIds() const
bool NextTokenHasBeenSet() const
bool DryRunHasBeenSet() const
void SetTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
DescribeTransitGatewayAttachmentsRequest & AddFilters(FiltersT &&value)
void SetNextToken(NextTokenT &&value)
bool FiltersHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API DescribeTransitGatewayAttachmentsRequest()=default
int GetMaxResults() const
DescribeTransitGatewayAttachmentsRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool TransitGatewayAttachmentIdsHasBeenSet() const
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
void SetDryRun(bool value)
DescribeTransitGatewayAttachmentsRequest & WithFilters(FiltersT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector