7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/DiskSnapshot.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename DiskSnapshotsT = Aws::Vector<DiskSnapshot>>
39 m_diskSnapshotsHasBeenSet =
true;
40 m_diskSnapshots = std::forward<DiskSnapshotsT>(value);
42 template <
typename DiskSnapshotsT = Aws::Vector<DiskSnapshot>>
47 template <
typename DiskSnapshotsT = DiskSnapshot>
49 m_diskSnapshotsHasBeenSet =
true;
50 m_diskSnapshots.emplace_back(std::forward<DiskSnapshotsT>(value));
64 template <
typename NextPageTokenT = Aws::String>
66 m_nextPageTokenHasBeenSet =
true;
67 m_nextPageToken = std::forward<NextPageTokenT>(value);
69 template <
typename NextPageTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
92 bool m_diskSnapshotsHasBeenSet =
false;
95 bool m_nextPageTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
GetDiskSnapshotsResult & AddDiskSnapshots(DiskSnapshotsT &&value)
AWS_LIGHTSAIL_API GetDiskSnapshotsResult()=default
GetDiskSnapshotsResult & WithDiskSnapshots(DiskSnapshotsT &&value)
const Aws::Vector< DiskSnapshot > & GetDiskSnapshots() const
void SetNextPageToken(NextPageTokenT &&value)
const Aws::String & GetRequestId() const
GetDiskSnapshotsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextPageToken() const
void SetDiskSnapshots(DiskSnapshotsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetDiskSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDiskSnapshotsResult & WithNextPageToken(NextPageTokenT &&value)
AWS_LIGHTSAIL_API GetDiskSnapshotsResult & operator=(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