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/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/Snapshot.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace RedshiftServerless {
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
56 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
58 m_snapshotsHasBeenSet =
true;
59 m_snapshots = std::forward<SnapshotsT>(value);
61 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
66 template <
typename SnapshotsT = Snapshot>
68 m_snapshotsHasBeenSet =
true;
69 m_snapshots.emplace_back(std::forward<SnapshotsT>(value));
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_snapshotsHasBeenSet =
false;
99 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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