7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeTransitGatewayVpcAttachments"; }
47 template<
typename TransitGatewayAttachmentIdsT = Aws::Vector<Aws::String>>
48 void SetTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT&& value) { m_transitGatewayAttachmentIdsHasBeenSet =
true; m_transitGatewayAttachmentIds = std::forward<TransitGatewayAttachmentIdsT>(value); }
49 template<
typename TransitGatewayAttachmentIdsT = Aws::Vector<Aws::String>>
51 template<
typename TransitGatewayAttachmentIdsT = Aws::String>
70 template<
typename FiltersT = Aws::Vector<Filter>>
71 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
72 template<
typename FiltersT = Aws::Vector<Filter>>
74 template<
typename FiltersT = Filter>
86 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
96 template<
typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<
typename NextTokenT = Aws::String>
111 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
117 bool m_transitGatewayAttachmentIdsHasBeenSet =
false;
120 bool m_filtersHasBeenSet =
false;
123 bool m_maxResultsHasBeenSet =
false;
126 bool m_nextTokenHasBeenSet =
false;
128 bool m_dryRun{
false};
129 bool m_dryRunHasBeenSet =
false;
DescribeTransitGatewayVpcAttachmentsRequest & WithNextToken(NextTokenT &&value)
DescribeTransitGatewayVpcAttachmentsRequest & WithTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
DescribeTransitGatewayVpcAttachmentsRequest & WithFilters(FiltersT &&value)
DescribeTransitGatewayVpcAttachmentsRequest & AddTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
AWS_EC2_API DescribeTransitGatewayVpcAttachmentsRequest()=default
bool NextTokenHasBeenSet() const
bool DryRunHasBeenSet() const
DescribeTransitGatewayVpcAttachmentsRequest & WithMaxResults(int value)
DescribeTransitGatewayVpcAttachmentsRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
void SetFilters(FiltersT &&value)
bool MaxResultsHasBeenSet() const
int GetMaxResults() const
void SetMaxResults(int value)
DescribeTransitGatewayVpcAttachmentsRequest & AddFilters(FiltersT &&value)
void SetDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetTransitGatewayAttachmentIds() const
bool FiltersHasBeenSet() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Filter > & GetFilters() const
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
bool TransitGatewayAttachmentIdsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector