AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSessionResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/EngineConfiguration.h>
10#include <aws/athena/model/SessionConfiguration.h>
11#include <aws/athena/model/SessionStatus.h>
12#include <aws/athena/model/SessionStatistics.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Athena
28{
29namespace Model
30{
32 {
33 public:
34 AWS_ATHENA_API GetSessionResult();
37
38
40
43 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
44 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
45 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
46 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
47 inline GetSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
48 inline GetSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
49 inline GetSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline void SetDescription(const Aws::String& value) { m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_description.assign(value); }
60 inline GetSessionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline GetSessionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline GetSessionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
70 inline void SetWorkGroup(const Aws::String& value) { m_workGroup = value; }
71 inline void SetWorkGroup(Aws::String&& value) { m_workGroup = std::move(value); }
72 inline void SetWorkGroup(const char* value) { m_workGroup.assign(value); }
73 inline GetSessionResult& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
74 inline GetSessionResult& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
75 inline GetSessionResult& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
77
79
84 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
85 inline void SetEngineVersion(const Aws::String& value) { m_engineVersion = value; }
86 inline void SetEngineVersion(Aws::String&& value) { m_engineVersion = std::move(value); }
87 inline void SetEngineVersion(const char* value) { m_engineVersion.assign(value); }
88 inline GetSessionResult& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
89 inline GetSessionResult& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
90 inline GetSessionResult& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
92
94
97 inline const EngineConfiguration& GetEngineConfiguration() const{ return m_engineConfiguration; }
98 inline void SetEngineConfiguration(const EngineConfiguration& value) { m_engineConfiguration = value; }
99 inline void SetEngineConfiguration(EngineConfiguration&& value) { m_engineConfiguration = std::move(value); }
101 inline GetSessionResult& WithEngineConfiguration(EngineConfiguration&& value) { SetEngineConfiguration(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetNotebookVersion() const{ return m_notebookVersion; }
109 inline void SetNotebookVersion(const Aws::String& value) { m_notebookVersion = value; }
110 inline void SetNotebookVersion(Aws::String&& value) { m_notebookVersion = std::move(value); }
111 inline void SetNotebookVersion(const char* value) { m_notebookVersion.assign(value); }
112 inline GetSessionResult& WithNotebookVersion(const Aws::String& value) { SetNotebookVersion(value); return *this;}
113 inline GetSessionResult& WithNotebookVersion(Aws::String&& value) { SetNotebookVersion(std::move(value)); return *this;}
114 inline GetSessionResult& WithNotebookVersion(const char* value) { SetNotebookVersion(value); return *this;}
116
118
121 inline const SessionConfiguration& GetSessionConfiguration() const{ return m_sessionConfiguration; }
122 inline void SetSessionConfiguration(const SessionConfiguration& value) { m_sessionConfiguration = value; }
123 inline void SetSessionConfiguration(SessionConfiguration&& value) { m_sessionConfiguration = std::move(value); }
127
129
132 inline const SessionStatus& GetStatus() const{ return m_status; }
133 inline void SetStatus(const SessionStatus& value) { m_status = value; }
134 inline void SetStatus(SessionStatus&& value) { m_status = std::move(value); }
135 inline GetSessionResult& WithStatus(const SessionStatus& value) { SetStatus(value); return *this;}
136 inline GetSessionResult& WithStatus(SessionStatus&& value) { SetStatus(std::move(value)); return *this;}
138
140
143 inline const SessionStatistics& GetStatistics() const{ return m_statistics; }
144 inline void SetStatistics(const SessionStatistics& value) { m_statistics = value; }
145 inline void SetStatistics(SessionStatistics&& value) { m_statistics = std::move(value); }
146 inline GetSessionResult& WithStatistics(const SessionStatistics& value) { SetStatistics(value); return *this;}
147 inline GetSessionResult& WithStatistics(SessionStatistics&& value) { SetStatistics(std::move(value)); return *this;}
149
151
152 inline const Aws::String& GetRequestId() const{ return m_requestId; }
153 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
155 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
156 inline GetSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
157 inline GetSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
158 inline GetSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
160 private:
161
162 Aws::String m_sessionId;
163
164 Aws::String m_description;
165
166 Aws::String m_workGroup;
167
168 Aws::String m_engineVersion;
169
170 EngineConfiguration m_engineConfiguration;
171
172 Aws::String m_notebookVersion;
173
174 SessionConfiguration m_sessionConfiguration;
175
176 SessionStatus m_status;
177
178 SessionStatistics m_statistics;
179
180 Aws::String m_requestId;
181 };
182
183} // namespace Model
184} // namespace Athena
185} // namespace Aws
GetSessionResult & WithRequestId(const char *value)
void SetNotebookVersion(const Aws::String &value)
GetSessionResult & WithNotebookVersion(const Aws::String &value)
const SessionStatus & GetStatus() const
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
GetSessionResult & WithStatus(SessionStatus &&value)
void SetStatus(const SessionStatus &value)
void SetWorkGroup(Aws::String &&value)
AWS_ATHENA_API GetSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEngineVersion(const Aws::String &value)
void SetDescription(const char *value)
GetSessionResult & WithRequestId(Aws::String &&value)
void SetSessionConfiguration(SessionConfiguration &&value)
void SetEngineVersion(Aws::String &&value)
GetSessionResult & WithWorkGroup(const Aws::String &value)
GetSessionResult & WithStatistics(const SessionStatistics &value)
void SetStatus(SessionStatus &&value)
void SetRequestId(const Aws::String &value)
GetSessionResult & WithRequestId(const Aws::String &value)
const SessionConfiguration & GetSessionConfiguration() const
void SetStatistics(const SessionStatistics &value)
void SetStatistics(SessionStatistics &&value)
GetSessionResult & WithSessionConfiguration(SessionConfiguration &&value)
void SetSessionConfiguration(const SessionConfiguration &value)
GetSessionResult & WithEngineConfiguration(const EngineConfiguration &value)
void SetNotebookVersion(const char *value)
const SessionStatistics & GetStatistics() const
const Aws::String & GetWorkGroup() const
void SetWorkGroup(const Aws::String &value)
GetSessionResult & WithStatistics(SessionStatistics &&value)
void SetSessionId(const Aws::String &value)
GetSessionResult & WithWorkGroup(Aws::String &&value)
AWS_ATHENA_API GetSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionResult & WithDescription(const Aws::String &value)
void SetEngineVersion(const char *value)
void SetDescription(Aws::String &&value)
void SetEngineConfiguration(EngineConfiguration &&value)
void SetDescription(const Aws::String &value)
GetSessionResult & WithSessionConfiguration(const SessionConfiguration &value)
GetSessionResult & WithEngineVersion(const Aws::String &value)
void SetNotebookVersion(Aws::String &&value)
GetSessionResult & WithEngineVersion(const char *value)
GetSessionResult & WithDescription(const char *value)
const EngineConfiguration & GetEngineConfiguration() const
GetSessionResult & WithStatus(const SessionStatus &value)
GetSessionResult & WithSessionId(Aws::String &&value)
GetSessionResult & WithEngineConfiguration(EngineConfiguration &&value)
void SetEngineConfiguration(const EngineConfiguration &value)
const Aws::String & GetEngineVersion() const
const Aws::String & GetSessionId() const
GetSessionResult & WithDescription(Aws::String &&value)
GetSessionResult & WithSessionId(const char *value)
const Aws::String & GetNotebookVersion() const
GetSessionResult & WithSessionId(const Aws::String &value)
void SetSessionId(Aws::String &&value)
GetSessionResult & WithEngineVersion(Aws::String &&value)
GetSessionResult & WithNotebookVersion(const char *value)
GetSessionResult & WithNotebookVersion(Aws::String &&value)
GetSessionResult & WithWorkGroup(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue