7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSx_EXPORTS.h>
10#include <aws/fsx/model/Snapshot.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
38 m_snapshotsHasBeenSet =
true;
39 m_snapshots = std::forward<SnapshotsT>(value);
41 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
46 template <
typename SnapshotsT = Snapshot>
48 m_snapshotsHasBeenSet =
true;
49 m_snapshots.emplace_back(std::forward<SnapshotsT>(value));
57 template <
typename NextTokenT = Aws::String>
59 m_nextTokenHasBeenSet =
true;
60 m_nextToken = std::forward<NextTokenT>(value);
62 template <
typename NextTokenT = Aws::String>
72 template <
typename RequestIdT = Aws::String>
74 m_requestIdHasBeenSet =
true;
75 m_requestId = std::forward<RequestIdT>(value);
77 template <
typename RequestIdT = Aws::String>
89 bool m_snapshotsHasBeenSet =
false;
90 bool m_nextTokenHasBeenSet =
false;
91 bool m_requestIdHasBeenSet =
false;
AWS_FSX_API DescribeSnapshotsResult()=default
DescribeSnapshotsResult & AddSnapshots(SnapshotsT &&value)
void SetRequestId(RequestIdT &&value)
DescribeSnapshotsResult & WithSnapshots(SnapshotsT &&value)
DescribeSnapshotsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
DescribeSnapshotsResult & WithRequestId(RequestIdT &&value)
AWS_FSX_API DescribeSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FSX_API DescribeSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
const Aws::Vector< Snapshot > & GetSnapshots() const
void SetSnapshots(SnapshotsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue