7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/InstanceState.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename StateT = InstanceState>
37 m_stateHasBeenSet =
true;
38 m_state = std::forward<StateT>(value);
40 template <
typename StateT = InstanceState>
42 SetState(std::forward<StateT>(value));
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_stateHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
void SetState(StateT &&value)
AWS_LIGHTSAIL_API GetInstanceStateResult()=default
void SetRequestId(RequestIdT &&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)
const InstanceState & GetState() const
GetInstanceStateResult & WithRequestId(RequestIdT &&value)
GetInstanceStateResult & WithState(StateT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue