AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateSessionResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/SessionState.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Athena
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ATHENA_API TerminateSessionResult();
34
35
37
49 inline const SessionState& GetState() const{ return m_state; }
50 inline void SetState(const SessionState& value) { m_state = value; }
51 inline void SetState(SessionState&& value) { m_state = std::move(value); }
52 inline TerminateSessionResult& WithState(const SessionState& value) { SetState(value); return *this;}
53 inline TerminateSessionResult& WithState(SessionState&& value) { SetState(std::move(value)); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline TerminateSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline TerminateSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline TerminateSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 SessionState m_state;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace Athena
75} // namespace Aws
TerminateSessionResult & WithState(SessionState &&value)
TerminateSessionResult & WithRequestId(const Aws::String &value)
TerminateSessionResult & WithRequestId(const char *value)
TerminateSessionResult & WithRequestId(Aws::String &&value)
TerminateSessionResult & WithState(const SessionState &value)
AWS_ATHENA_API TerminateSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ATHENA_API TerminateSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue