7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/Instance.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
42 template<
typename InstanceT = Instance>
43 void SetInstance(InstanceT&& value) { m_instanceHasBeenSet =
true; m_instance = std::forward<InstanceT>(value); }
44 template<
typename InstanceT = Instance>
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_instanceHasBeenSet =
false;
62 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
GetInstanceResult & WithInstance(InstanceT &&value)
const Instance & GetInstance() const
AWS_LIGHTSAIL_API GetInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInstanceResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInstance(InstanceT &&value)
AWS_LIGHTSAIL_API GetInstanceResult()=default
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue