7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11#include <aws/fsx/model/Snapshot.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
39 m_snapshotsHasBeenSet =
true;
40 m_snapshots = std::forward<SnapshotsT>(value);
42 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
47 template <
typename SnapshotsT = Snapshot>
49 m_snapshotsHasBeenSet =
true;
50 m_snapshots.emplace_back(std::forward<SnapshotsT>(value));
58 template <
typename NextTokenT = Aws::String>
60 m_nextTokenHasBeenSet =
true;
61 m_nextToken = std::forward<NextTokenT>(value);
63 template <
typename NextTokenT = Aws::String>
73 template <
typename RequestIdT = Aws::String>
75 m_requestIdHasBeenSet =
true;
76 m_requestId = std::forward<RequestIdT>(value);
78 template <
typename RequestIdT = Aws::String>
93 bool m_snapshotsHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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