7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Filter.h>
50 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
75 template<
typename OwnerIdsT = Aws::Vector<Aws::String>>
76 void SetOwnerIds(OwnerIdsT&& value) { m_ownerIdsHasBeenSet =
true; m_ownerIds = std::forward<OwnerIdsT>(value); }
77 template<
typename OwnerIdsT = Aws::Vector<Aws::String>>
79 template<
typename OwnerIdsT = Aws::String>
90 template<
typename RestorableByUserIdsT = Aws::Vector<Aws::String>>
91 void SetRestorableByUserIds(RestorableByUserIdsT&& value) { m_restorableByUserIdsHasBeenSet =
true; m_restorableByUserIds = std::forward<RestorableByUserIdsT>(value); }
92 template<
typename RestorableByUserIdsT = Aws::Vector<Aws::String>>
94 template<
typename RestorableByUserIdsT = Aws::String>
105 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
106 void SetSnapshotIds(SnapshotIdsT&& value) { m_snapshotIdsHasBeenSet =
true; m_snapshotIds = std::forward<SnapshotIdsT>(value); }
107 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
109 template<
typename SnapshotIdsT = Aws::String>
122 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
160 template<
typename FiltersT = Aws::Vector<Filter>>
161 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
162 template<
typename FiltersT = Aws::Vector<Filter>>
164 template<
typename FiltersT = Filter>
170 bool m_maxResultsHasBeenSet =
false;
173 bool m_nextTokenHasBeenSet =
false;
176 bool m_ownerIdsHasBeenSet =
false;
179 bool m_restorableByUserIdsHasBeenSet =
false;
182 bool m_snapshotIdsHasBeenSet =
false;
184 bool m_dryRun{
false};
185 bool m_dryRunHasBeenSet =
false;
188 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