7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/InstanceState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
52 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetInstanceStateResult & WithState(InstanceState &&value)
AWS_LIGHTSAIL_API GetInstanceStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API GetInstanceStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInstanceStateResult & WithRequestId(const char *value)
void SetState(const InstanceState &value)
const InstanceState & GetState() const
GetInstanceStateResult & WithRequestId(Aws::String &&value)
void SetState(InstanceState &&value)
void SetRequestId(Aws::String &&value)
GetInstanceStateResult & WithState(const InstanceState &value)
GetInstanceStateResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API GetInstanceStateResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue