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>
49 template<
typename FiltersT = Aws::Vector<Filter>>
50 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
51 template<
typename FiltersT = Aws::Vector<Filter>>
53 template<
typename FiltersT = Filter>
66 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
77 template<
typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<
typename NextTokenT = Aws::String>
89 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
90 void SetSnapshotIds(SnapshotIdsT&& value) { m_snapshotIdsHasBeenSet =
true; m_snapshotIds = std::forward<SnapshotIdsT>(value); }
91 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
93 template<
typename SnapshotIdsT = Aws::String>
106 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
112 bool m_filtersHasBeenSet =
false;
115 bool m_maxResultsHasBeenSet =
false;
118 bool m_nextTokenHasBeenSet =
false;
121 bool m_snapshotIdsHasBeenSet =
false;
123 bool m_dryRun{
false};
124 bool m_dryRunHasBeenSet =
false;
DescribeLockedSnapshotsRequest & WithSnapshotIds(SnapshotIdsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMaxResults(int value)
void SetSnapshotIds(SnapshotIdsT &&value)
void SetDryRun(bool value)
DescribeLockedSnapshotsRequest & AddFilters(FiltersT &&value)
DescribeLockedSnapshotsRequest & WithMaxResults(int value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetFilters(FiltersT &&value)
bool SnapshotIdsHasBeenSet() const
DescribeLockedSnapshotsRequest & WithFilters(FiltersT &&value)
int GetMaxResults() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSnapshotIds() const
DescribeLockedSnapshotsRequest & AddSnapshotIds(SnapshotIdsT &&value)
bool MaxResultsHasBeenSet() const
AWS_EC2_API DescribeLockedSnapshotsRequest()=default
DescribeLockedSnapshotsRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Filter > & GetFilters() const
bool DryRunHasBeenSet() const
DescribeLockedSnapshotsRequest & WithDryRun(bool value)
const Aws::String & GetNextToken() const
bool FiltersHasBeenSet() const
bool NextTokenHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector