7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/model/Snapshot.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace RedshiftServerless
44 template<
typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<
typename NextTokenT = Aws::String>
55 template<
typename SnapshotsT = Aws::Vector<Snapshot>>
56 void SetSnapshots(SnapshotsT&& value) { m_snapshotsHasBeenSet =
true; m_snapshots = std::forward<SnapshotsT>(value); }
57 template<
typename SnapshotsT = Aws::Vector<Snapshot>>
59 template<
typename SnapshotsT = Snapshot>
66 template<
typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
68 template<
typename RequestIdT = Aws::String>
74 bool m_nextTokenHasBeenSet =
false;
77 bool m_snapshotsHasBeenSet =
false;
80 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