7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSxRequest.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11#include <aws/fsx/model/SnapshotFilter.h>
43 template <
typename SnapshotIdsT = Aws::Vector<Aws::String>>
45 m_snapshotIdsHasBeenSet =
true;
46 m_snapshotIds = std::forward<SnapshotIdsT>(value);
48 template <
typename SnapshotIdsT = Aws::Vector<Aws::String>>
53 template <
typename SnapshotIdsT = Aws::String>
55 m_snapshotIdsHasBeenSet =
true;
56 m_snapshotIds.emplace_back(std::forward<SnapshotIdsT>(value));
68 template <
typename FiltersT = Aws::Vector<SnapshotFilter>>
70 m_filtersHasBeenSet =
true;
71 m_filters = std::forward<FiltersT>(value);
73 template <
typename FiltersT = Aws::Vector<SnapshotFilter>>
78 template <
typename FiltersT = SnapshotFilter>
80 m_filtersHasBeenSet =
true;
81 m_filters.emplace_back(std::forward<FiltersT>(value));
91 m_maxResultsHasBeenSet =
true;
104 template <
typename NextTokenT = Aws::String>
106 m_nextTokenHasBeenSet =
true;
107 m_nextToken = std::forward<NextTokenT>(value);
109 template <
typename NextTokenT = Aws::String>
126 m_includeSharedHasBeenSet =
true;
127 m_includeShared = value;
143 bool m_includeShared{
false};
144 bool m_snapshotIdsHasBeenSet =
false;
145 bool m_filtersHasBeenSet =
false;
146 bool m_maxResultsHasBeenSet =
false;
147 bool m_nextTokenHasBeenSet =
false;
148 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