AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
37
38
40
43 inline const Aws::String& GetSessionId() const { return m_sessionId; }
44 template<typename SessionIdT = Aws::String>
45 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
46 template<typename SessionIdT = Aws::String>
47 GetSessionResult& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 GetSessionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
66 template<typename WorkGroupT = Aws::String>
67 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
68 template<typename WorkGroupT = Aws::String>
69 GetSessionResult& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
71
73
78 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
79 template<typename EngineVersionT = Aws::String>
80 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
81 template<typename EngineVersionT = Aws::String>
82 GetSessionResult& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
84
86
89 inline const EngineConfiguration& GetEngineConfiguration() const { return m_engineConfiguration; }
90 template<typename EngineConfigurationT = EngineConfiguration>
91 void SetEngineConfiguration(EngineConfigurationT&& value) { m_engineConfigurationHasBeenSet = true; m_engineConfiguration = std::forward<EngineConfigurationT>(value); }
92 template<typename EngineConfigurationT = EngineConfiguration>
93 GetSessionResult& WithEngineConfiguration(EngineConfigurationT&& value) { SetEngineConfiguration(std::forward<EngineConfigurationT>(value)); return *this;}
95
97
100 inline const Aws::String& GetNotebookVersion() const { return m_notebookVersion; }
101 template<typename NotebookVersionT = Aws::String>
102 void SetNotebookVersion(NotebookVersionT&& value) { m_notebookVersionHasBeenSet = true; m_notebookVersion = std::forward<NotebookVersionT>(value); }
103 template<typename NotebookVersionT = Aws::String>
104 GetSessionResult& WithNotebookVersion(NotebookVersionT&& value) { SetNotebookVersion(std::forward<NotebookVersionT>(value)); return *this;}
106
108
111 inline const SessionConfiguration& GetSessionConfiguration() const { return m_sessionConfiguration; }
112 template<typename SessionConfigurationT = SessionConfiguration>
113 void SetSessionConfiguration(SessionConfigurationT&& value) { m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration = std::forward<SessionConfigurationT>(value); }
114 template<typename SessionConfigurationT = SessionConfiguration>
115 GetSessionResult& WithSessionConfiguration(SessionConfigurationT&& value) { SetSessionConfiguration(std::forward<SessionConfigurationT>(value)); return *this;}
117
119
122 inline const SessionStatus& GetStatus() const { return m_status; }
123 template<typename StatusT = SessionStatus>
124 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
125 template<typename StatusT = SessionStatus>
126 GetSessionResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
128
130
133 inline const SessionStatistics& GetStatistics() const { return m_statistics; }
134 template<typename StatisticsT = SessionStatistics>
135 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
136 template<typename StatisticsT = SessionStatistics>
137 GetSessionResult& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 GetSessionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::String m_sessionId;
151 bool m_sessionIdHasBeenSet = false;
152
153 Aws::String m_description;
154 bool m_descriptionHasBeenSet = false;
155
156 Aws::String m_workGroup;
157 bool m_workGroupHasBeenSet = false;
158
159 Aws::String m_engineVersion;
160 bool m_engineVersionHasBeenSet = false;
161
162 EngineConfiguration m_engineConfiguration;
163 bool m_engineConfigurationHasBeenSet = false;
164
165 Aws::String m_notebookVersion;
166 bool m_notebookVersionHasBeenSet = false;
167
168 SessionConfiguration m_sessionConfiguration;
169 bool m_sessionConfigurationHasBeenSet = false;
170
171 SessionStatus m_status;
172 bool m_statusHasBeenSet = false;
173
174 SessionStatistics m_statistics;
175 bool m_statisticsHasBeenSet = false;
176
177 Aws::String m_requestId;
178 bool m_requestIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Athena
183} // namespace Aws
const SessionStatus & GetStatus() const
GetSessionResult & WithSessionId(SessionIdT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
GetSessionResult & WithDescription(DescriptionT &&value)
GetSessionResult & WithEngineConfiguration(EngineConfigurationT &&value)
GetSessionResult & WithStatus(StatusT &&value)
GetSessionResult & WithWorkGroup(WorkGroupT &&value)
void SetEngineConfiguration(EngineConfigurationT &&value)
AWS_ATHENA_API GetSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNotebookVersion(NotebookVersionT &&value)
GetSessionResult & WithSessionConfiguration(SessionConfigurationT &&value)
void SetStatistics(StatisticsT &&value)
void SetEngineVersion(EngineVersionT &&value)
const SessionConfiguration & GetSessionConfiguration() const
void SetSessionConfiguration(SessionConfigurationT &&value)
GetSessionResult & WithNotebookVersion(NotebookVersionT &&value)
GetSessionResult & WithStatistics(StatisticsT &&value)
GetSessionResult & WithRequestId(RequestIdT &&value)
const SessionStatistics & GetStatistics() const
const Aws::String & GetWorkGroup() const
AWS_ATHENA_API GetSessionResult()=default
AWS_ATHENA_API GetSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetSessionId(SessionIdT &&value)
GetSessionResult & WithEngineVersion(EngineVersionT &&value)
const EngineConfiguration & GetEngineConfiguration() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetEngineVersion() const
void SetWorkGroup(WorkGroupT &&value)
const Aws::String & GetSessionId() const
const Aws::String & GetNotebookVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue