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/ds/DirectoryService_EXPORTS.h>
11#include <aws/ds/model/Snapshot.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DirectoryService {
47 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
49 m_snapshotsHasBeenSet =
true;
50 m_snapshots = std::forward<SnapshotsT>(value);
52 template <
typename SnapshotsT = Aws::Vector<Snapshot>>
57 template <
typename SnapshotsT = Snapshot>
59 m_snapshotsHasBeenSet =
true;
60 m_snapshots.emplace_back(std::forward<SnapshotsT>(value));
71 template <
typename NextTokenT = Aws::String>
73 m_nextTokenHasBeenSet =
true;
74 m_nextToken = std::forward<NextTokenT>(value);
76 template <
typename NextTokenT = Aws::String>
86 template <
typename RequestIdT = Aws::String>
88 m_requestIdHasBeenSet =
true;
89 m_requestId = std::forward<RequestIdT>(value);
91 template <
typename RequestIdT = Aws::String>
106 bool m_snapshotsHasBeenSet =
false;
107 bool m_nextTokenHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
DescribeSnapshotsResult & WithRequestId(RequestIdT &&value)
DescribeSnapshotsResult & AddSnapshots(SnapshotsT &&value)
const Aws::Vector< Snapshot > & GetSnapshots() const
AWS_DIRECTORYSERVICE_API DescribeSnapshotsResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
DescribeSnapshotsResult & WithSnapshots(SnapshotsT &&value)
AWS_DIRECTORYSERVICE_API DescribeSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSnapshotsResult & WithNextToken(NextTokenT &&value)
void SetSnapshots(SnapshotsT &&value)
AWS_DIRECTORYSERVICE_API DescribeSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue