AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueryStateResult.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lakeformation/model/QueryStateString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LakeFormation
25{
26namespace Model
27{
34 {
35 public:
36 AWS_LAKEFORMATION_API GetQueryStateResult();
39
40
42
45 inline const Aws::String& GetError() const{ return m_error; }
46 inline void SetError(const Aws::String& value) { m_error = value; }
47 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
48 inline void SetError(const char* value) { m_error.assign(value); }
49 inline GetQueryStateResult& WithError(const Aws::String& value) { SetError(value); return *this;}
50 inline GetQueryStateResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
51 inline GetQueryStateResult& WithError(const char* value) { SetError(value); return *this;}
53
55
63 inline const QueryStateString& GetState() const{ return m_state; }
64 inline void SetState(const QueryStateString& value) { m_state = value; }
65 inline void SetState(QueryStateString&& value) { m_state = std::move(value); }
66 inline GetQueryStateResult& WithState(const QueryStateString& value) { SetState(value); return *this;}
67 inline GetQueryStateResult& WithState(QueryStateString&& value) { SetState(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline GetQueryStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline GetQueryStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline GetQueryStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_error;
83
84 QueryStateString m_state;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace LakeFormation
91} // namespace Aws
GetQueryStateResult & WithError(Aws::String &&value)
AWS_LAKEFORMATION_API GetQueryStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(const QueryStateString &value)
GetQueryStateResult & WithRequestId(const char *value)
GetQueryStateResult & WithRequestId(Aws::String &&value)
GetQueryStateResult & WithState(QueryStateString &&value)
GetQueryStateResult & WithError(const char *value)
GetQueryStateResult & WithError(const Aws::String &value)
GetQueryStateResult & WithState(const QueryStateString &value)
AWS_LAKEFORMATION_API GetQueryStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryStateResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue