7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/fsx/model/SnapshotFilter.h>
47 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
48 void SetSnapshotIds(SnapshotIdsT&& value) { m_snapshotIdsHasBeenSet =
true; m_snapshotIds = std::forward<SnapshotIdsT>(value); }
49 template<
typename SnapshotIdsT = Aws::Vector<Aws::String>>
51 template<
typename SnapshotIdsT = Aws::String>
62 template<
typename FiltersT = Aws::Vector<SnapshotFilter>>
63 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
64 template<
typename FiltersT = Aws::Vector<SnapshotFilter>>
66 template<
typename FiltersT = SnapshotFilter>
74 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
82 template<
typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<
typename NextTokenT = Aws::String>
97 inline void SetIncludeShared(
bool value) { m_includeSharedHasBeenSet =
true; m_includeShared = value; }
103 bool m_snapshotIdsHasBeenSet =
false;
106 bool m_filtersHasBeenSet =
false;
109 bool m_maxResultsHasBeenSet =
false;
112 bool m_nextTokenHasBeenSet =
false;
114 bool m_includeShared{
false};
115 bool m_includeSharedHasBeenSet =
false;
AWS_FSX_API Aws::String SerializePayload() const override
DescribeSnapshotsRequest & WithNextToken(NextTokenT &&value)
void SetIncludeShared(bool value)
DescribeSnapshotsRequest & WithMaxResults(int value)
int GetMaxResults() const
bool GetIncludeShared() const
bool NextTokenHasBeenSet() const
bool SnapshotIdsHasBeenSet() const
const Aws::Vector< SnapshotFilter > & GetFilters() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetSnapshotIds() const
DescribeSnapshotsRequest & AddFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
DescribeSnapshotsRequest & WithIncludeShared(bool value)
bool IncludeSharedHasBeenSet() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API DescribeSnapshotsRequest()=default
DescribeSnapshotsRequest & WithFilters(FiltersT &&value)
void SetFilters(FiltersT &&value)
void SetMaxResults(int value)
bool FiltersHasBeenSet() const
bool MaxResultsHasBeenSet() const
DescribeSnapshotsRequest & AddSnapshotIds(SnapshotIdsT &&value)
DescribeSnapshotsRequest & WithSnapshotIds(SnapshotIdsT &&value)
void SetSnapshotIds(SnapshotIdsT &&value)
const Aws::String & GetNextToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector