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>
47 m_maxResultsHasBeenSet =
true;
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
83 template <
typename OwnerIdsT = Aws::Vector<Aws::String>>
85 m_ownerIdsHasBeenSet =
true;
86 m_ownerIds = std::forward<OwnerIdsT>(value);
88 template <
typename OwnerIdsT = Aws::Vector<Aws::String>>
93 template <
typename OwnerIdsT = Aws::String>
95 m_ownerIdsHasBeenSet =
true;
96 m_ownerIds.emplace_back(std::forward<OwnerIdsT>(value));
108 template <
typename RestorableByUserIdsT = Aws::Vector<Aws::String>>
110 m_restorableByUserIdsHasBeenSet =
true;
111 m_restorableByUserIds = std::forward<RestorableByUserIdsT>(value);
113 template <
typename RestorableByUserIdsT = Aws::Vector<Aws::String>>
118 template <
typename RestorableByUserIdsT = Aws::String>
120 m_restorableByUserIdsHasBeenSet =
true;
121 m_restorableByUserIds.emplace_back(std::forward<RestorableByUserIdsT>(value));
133 template <
typename SnapshotIdsT = Aws::Vector<Aws::String>>
135 m_snapshotIdsHasBeenSet =
true;
136 m_snapshotIds = std::forward<SnapshotIdsT>(value);
138 template <
typename SnapshotIdsT = Aws::Vector<Aws::String>>
143 template <
typename SnapshotIdsT = Aws::String>
145 m_snapshotIdsHasBeenSet =
true;
146 m_snapshotIds.emplace_back(std::forward<SnapshotIdsT>(value));
161 m_dryRunHasBeenSet =
true;
204 template <
typename FiltersT = Aws::Vector<Filter>>
206 m_filtersHasBeenSet =
true;
207 m_filters = std::forward<FiltersT>(value);
209 template <
typename FiltersT = Aws::Vector<Filter>>
214 template <
typename FiltersT = Filter>
216 m_filtersHasBeenSet =
true;
217 m_filters.emplace_back(std::forward<FiltersT>(value));
232 bool m_dryRun{
false};
235 bool m_maxResultsHasBeenSet =
false;
236 bool m_nextTokenHasBeenSet =
false;
237 bool m_ownerIdsHasBeenSet =
false;
238 bool m_restorableByUserIdsHasBeenSet =
false;
239 bool m_snapshotIdsHasBeenSet =
false;
240 bool m_dryRunHasBeenSet =
false;
241 bool m_filtersHasBeenSet =
false;
bool DryRunHasBeenSet() const
DescribeSnapshotsRequest & WithFilters(FiltersT &&value)
bool SnapshotIdsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool RestorableByUserIdsHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetFilters(FiltersT &&value)
int GetMaxResults() const
DescribeSnapshotsRequest & WithMaxResults(int value)
DescribeSnapshotsRequest & WithNextToken(NextTokenT &&value)
DescribeSnapshotsRequest & WithRestorableByUserIds(RestorableByUserIdsT &&value)
DescribeSnapshotsRequest & WithSnapshotIds(SnapshotIdsT &&value)
DescribeSnapshotsRequest & AddRestorableByUserIds(RestorableByUserIdsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetRestorableByUserIds() const
const Aws::Vector< Aws::String > & GetSnapshotIds() const
AWS_EC2_API DescribeSnapshotsRequest()=default
DescribeSnapshotsRequest & AddSnapshotIds(SnapshotIdsT &&value)
void SetOwnerIds(OwnerIdsT &&value)
bool MaxResultsHasBeenSet() const
DescribeSnapshotsRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetOwnerIds() const
DescribeSnapshotsRequest & AddOwnerIds(OwnerIdsT &&value)
void SetSnapshotIds(SnapshotIdsT &&value)
void SetDryRun(bool value)
bool OwnerIdsHasBeenSet() const
bool FiltersHasBeenSet() const
const Aws::String & GetNextToken() const
DescribeSnapshotsRequest & AddFilters(FiltersT &&value)
void SetRestorableByUserIds(RestorableByUserIdsT &&value)
const Aws::Vector< Filter > & GetFilters() const
void SetMaxResults(int value)
DescribeSnapshotsRequest & WithOwnerIds(OwnerIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector