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; }
63 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
127 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
173 bool m_maxResultsHasBeenSet =
false;
176 bool m_nextTokenHasBeenSet =
false;
179 bool m_ownerIdsHasBeenSet =
false;
182 bool m_restorableByUserIdsHasBeenSet =
false;
185 bool m_snapshotIdsHasBeenSet =
false;
188 bool m_dryRunHasBeenSet =
false;
191 bool m_filtersHasBeenSet =
false;
DescribeSnapshotsRequest & AddRestorableByUserIds(const char *value)
DescribeSnapshotsRequest & AddFilters(Filter &&value)
bool DryRunHasBeenSet() const
DescribeSnapshotsRequest & AddSnapshotIds(Aws::String &&value)
bool SnapshotIdsHasBeenSet() const
DescribeSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
bool RestorableByUserIdsHasBeenSet() const
DescribeSnapshotsRequest & AddOwnerIds(const char *value)
void SetOwnerIds(Aws::Vector< Aws::String > &&value)
bool NextTokenHasBeenSet() const
void SetFilters(Aws::Vector< Filter > &&value)
DescribeSnapshotsRequest & AddRestorableByUserIds(const Aws::String &value)
DescribeSnapshotsRequest & AddSnapshotIds(const Aws::String &value)
DescribeSnapshotsRequest & AddFilters(const Filter &value)
DescribeSnapshotsRequest & WithRestorableByUserIds(Aws::Vector< Aws::String > &&value)
DescribeSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
int GetMaxResults() const
DescribeSnapshotsRequest & WithNextToken(const Aws::String &value)
DescribeSnapshotsRequest & WithSnapshotIds(const Aws::Vector< Aws::String > &value)
DescribeSnapshotsRequest & WithMaxResults(int value)
void SetSnapshotIds(const Aws::Vector< Aws::String > &value)
void SetRestorableByUserIds(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API DescribeSnapshotsRequest()
DescribeSnapshotsRequest & AddRestorableByUserIds(Aws::String &&value)
void SetNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetRestorableByUserIds() const
const Aws::Vector< Aws::String > & GetSnapshotIds() const
bool MaxResultsHasBeenSet() const
DescribeSnapshotsRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetRestorableByUserIds(Aws::Vector< Aws::String > &&value)
DescribeSnapshotsRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetOwnerIds() const
void SetFilters(const Aws::Vector< Filter > &value)
void SetDryRun(bool value)
DescribeSnapshotsRequest & WithSnapshotIds(Aws::Vector< Aws::String > &&value)
DescribeSnapshotsRequest & AddOwnerIds(Aws::String &&value)
void SetNextToken(Aws::String &&value)
DescribeSnapshotsRequest & WithOwnerIds(const Aws::Vector< Aws::String > &value)
bool OwnerIdsHasBeenSet() const
DescribeSnapshotsRequest & AddSnapshotIds(const char *value)
DescribeSnapshotsRequest & WithNextToken(const char *value)
DescribeSnapshotsRequest & AddOwnerIds(const Aws::String &value)
bool FiltersHasBeenSet() const
const Aws::String & GetNextToken() const
const Aws::Vector< Filter > & GetFilters() const
void SetNextToken(const Aws::String &value)
DescribeSnapshotsRequest & WithOwnerIds(Aws::Vector< Aws::String > &&value)
void SetMaxResults(int value)
DescribeSnapshotsRequest & WithRestorableByUserIds(const Aws::Vector< Aws::String > &value)
void SetOwnerIds(const Aws::Vector< Aws::String > &value)
void SetSnapshotIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector