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/InstanceSnapshot.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename InstanceSnapshotsT = Aws::Vector<InstanceSnapshot>>
39 m_instanceSnapshotsHasBeenSet =
true;
40 m_instanceSnapshots = std::forward<InstanceSnapshotsT>(value);
42 template <
typename InstanceSnapshotsT = Aws::Vector<InstanceSnapshot>>
47 template <
typename InstanceSnapshotsT = InstanceSnapshot>
49 m_instanceSnapshotsHasBeenSet =
true;
50 m_instanceSnapshots.emplace_back(std::forward<InstanceSnapshotsT>(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>
96 bool m_instanceSnapshotsHasBeenSet =
false;
97 bool m_nextPageTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
GetInstanceSnapshotsResult & WithNextPageToken(NextPageTokenT &&value)
void SetNextPageToken(NextPageTokenT &&value)
AWS_LIGHTSAIL_API GetInstanceSnapshotsResult()=default
const Aws::Vector< InstanceSnapshot > & GetInstanceSnapshots() const
const Aws::String & GetRequestId() const
const Aws::String & GetNextPageToken() const
GetInstanceSnapshotsResult & AddInstanceSnapshots(InstanceSnapshotsT &&value)
GetInstanceSnapshotsResult & WithInstanceSnapshots(InstanceSnapshotsT &&value)
void SetRequestId(RequestIdT &&value)
GetInstanceSnapshotsResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetInstanceSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInstanceSnapshots(InstanceSnapshotsT &&value)
AWS_LIGHTSAIL_API GetInstanceSnapshotsResult & 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