7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/InstanceSnapshot.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
42 template<
typename InstanceSnapshotT = InstanceSnapshot>
43 void SetInstanceSnapshot(InstanceSnapshotT&& value) { m_instanceSnapshotHasBeenSet =
true; m_instanceSnapshot = std::forward<InstanceSnapshotT>(value); }
44 template<
typename InstanceSnapshotT = InstanceSnapshot>
51 template<
typename RequestIdT = Aws::String>
52 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
53 template<
typename RequestIdT = Aws::String>
59 bool m_instanceSnapshotHasBeenSet =
false;
62 bool m_requestIdHasBeenSet =
false;
const InstanceSnapshot & GetInstanceSnapshot() const
void SetInstanceSnapshot(InstanceSnapshotT &&value)
void SetRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetInstanceSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInstanceSnapshotResult & WithInstanceSnapshot(InstanceSnapshotT &&value)
GetInstanceSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetInstanceSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API GetInstanceSnapshotResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue