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 "DescribeTransitGatewayPeeringAttachments"; }
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>
80 template<
typename FiltersT = Aws::Vector<Filter>>
81 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
82 template<
typename FiltersT = Aws::Vector<Filter>>
84 template<
typename FiltersT = Filter>
96 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
106 template<
typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
108 template<
typename NextTokenT = Aws::String>
121 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
127 bool m_transitGatewayAttachmentIdsHasBeenSet =
false;
130 bool m_filtersHasBeenSet =
false;
133 bool m_maxResultsHasBeenSet =
false;
136 bool m_nextTokenHasBeenSet =
false;
138 bool m_dryRun{
false};
139 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetNextToken() const
const Aws::Vector< Aws::String > & GetTransitGatewayAttachmentIds() const
DescribeTransitGatewayPeeringAttachmentsRequest & WithDryRun(bool value)
DescribeTransitGatewayPeeringAttachmentsRequest & WithFilters(FiltersT &&value)
bool DryRunHasBeenSet() const
void SetNextToken(NextTokenT &&value)
DescribeTransitGatewayPeeringAttachmentsRequest & AddFilters(FiltersT &&value)
void SetTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
int GetMaxResults() const
bool FiltersHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeTransitGatewayPeeringAttachmentsRequest & WithNextToken(NextTokenT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API DescribeTransitGatewayPeeringAttachmentsRequest()=default
DescribeTransitGatewayPeeringAttachmentsRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
void SetDryRun(bool value)
DescribeTransitGatewayPeeringAttachmentsRequest & AddTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
DescribeTransitGatewayPeeringAttachmentsRequest & WithTransitGatewayAttachmentIds(TransitGatewayAttachmentIdsT &&value)
bool MaxResultsHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
virtual const char * GetServiceRequestName() const override
bool TransitGatewayAttachmentIdsHasBeenSet() const
void SetMaxResults(int value)
void SetFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector