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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
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>
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>
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>
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>
90 template<
typename EngineConfigurationT = EngineConfiguration>
91 void SetEngineConfiguration(EngineConfigurationT&& value) { m_engineConfigurationHasBeenSet =
true; m_engineConfiguration = std::forward<EngineConfigurationT>(value); }
92 template<
typename EngineConfigurationT = EngineConfiguration>
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>
112 template<
typename SessionConfigurationT = SessionConfiguration>
113 void SetSessionConfiguration(SessionConfigurationT&& value) { m_sessionConfigurationHasBeenSet =
true; m_sessionConfiguration = std::forward<SessionConfigurationT>(value); }
114 template<
typename SessionConfigurationT = SessionConfiguration>
123 template<
typename StatusT = SessionStatus>
124 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
125 template<
typename StatusT = SessionStatus>
134 template<
typename StatisticsT = SessionStatistics>
135 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
136 template<
typename StatisticsT = SessionStatistics>
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>
151 bool m_sessionIdHasBeenSet =
false;
154 bool m_descriptionHasBeenSet =
false;
157 bool m_workGroupHasBeenSet =
false;
160 bool m_engineVersionHasBeenSet =
false;
163 bool m_engineConfigurationHasBeenSet =
false;
166 bool m_notebookVersionHasBeenSet =
false;
169 bool m_sessionConfigurationHasBeenSet =
false;
172 bool m_statusHasBeenSet =
false;
175 bool m_statisticsHasBeenSet =
false;
178 bool m_requestIdHasBeenSet =
false;
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
void SetStatus(StatusT &&value)
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