7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10#include <aws/redshift-serverless/model/Snapshot.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace RedshiftServerless {
38 template <
typename NextTokenT = Aws::String>
40 m_nextTokenHasBeenSet =
true;
41 m_nextToken = std::forward<NextTokenT>(value);
43 template <
typename NextTokenT = Aws::String>
55 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
57 m_snapshotsHasBeenSet =
true;
58 m_snapshots = std::forward<SnapshotsT>(value);
60 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
65 template <
typename SnapshotsT = Snapshot>
67 m_snapshotsHasBeenSet =
true;
68 m_snapshots.emplace_back(std::forward<SnapshotsT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
93 bool m_nextTokenHasBeenSet =
false;
94 bool m_snapshotsHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
ListSnapshotsResult & WithNextToken(NextTokenT &&value)
AWS_REDSHIFTSERVERLESS_API ListSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_REDSHIFTSERVERLESS_API ListSnapshotsResult()=default
void SetNextToken(NextTokenT &&value)
AWS_REDSHIFTSERVERLESS_API ListSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetSnapshots(SnapshotsT &&value)
ListSnapshotsResult & WithSnapshots(SnapshotsT &&value)
const Aws::Vector< Snapshot > & GetSnapshots() const
ListSnapshotsResult & WithRequestId(RequestIdT &&value)
ListSnapshotsResult & AddSnapshots(SnapshotsT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue