AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionSummary.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/EngineVersion.h>
10#include <aws/athena/model/SessionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Athena
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ATHENA_API SessionSummary();
37 AWS_ATHENA_API SessionSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
47 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
48 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
49 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
50 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
51 inline SessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
52 inline SessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
53 inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline SessionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline SessionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline SessionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
75 inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
76 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
77 inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
78 inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
79 inline SessionSummary& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
80 inline SessionSummary& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetNotebookVersion() const{ return m_notebookVersion; }
88 inline bool NotebookVersionHasBeenSet() const { return m_notebookVersionHasBeenSet; }
89 inline void SetNotebookVersion(const Aws::String& value) { m_notebookVersionHasBeenSet = true; m_notebookVersion = value; }
90 inline void SetNotebookVersion(Aws::String&& value) { m_notebookVersionHasBeenSet = true; m_notebookVersion = std::move(value); }
91 inline void SetNotebookVersion(const char* value) { m_notebookVersionHasBeenSet = true; m_notebookVersion.assign(value); }
92 inline SessionSummary& WithNotebookVersion(const Aws::String& value) { SetNotebookVersion(value); return *this;}
93 inline SessionSummary& WithNotebookVersion(Aws::String&& value) { SetNotebookVersion(std::move(value)); return *this;}
94 inline SessionSummary& WithNotebookVersion(const char* value) { SetNotebookVersion(value); return *this;}
96
98
101 inline const SessionStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const SessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(SessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline SessionSummary& WithStatus(const SessionStatus& value) { SetStatus(value); return *this;}
106 inline SessionSummary& WithStatus(SessionStatus&& value) { SetStatus(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_sessionId;
111 bool m_sessionIdHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 EngineVersion m_engineVersion;
117 bool m_engineVersionHasBeenSet = false;
118
119 Aws::String m_notebookVersion;
120 bool m_notebookVersionHasBeenSet = false;
121
122 SessionStatus m_status;
123 bool m_statusHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Athena
128} // namespace Aws
const Aws::String & GetNotebookVersion() const
const EngineVersion & GetEngineVersion() const
void SetStatus(SessionStatus &&value)
void SetNotebookVersion(const char *value)
void SetEngineVersion(EngineVersion &&value)
void SetSessionId(Aws::String &&value)
AWS_ATHENA_API SessionSummary(Aws::Utils::Json::JsonView jsonValue)
SessionSummary & WithDescription(const char *value)
SessionSummary & WithStatus(const SessionStatus &value)
void SetDescription(const Aws::String &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
SessionSummary & WithEngineVersion(const EngineVersion &value)
AWS_ATHENA_API SessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionSummary & WithNotebookVersion(const Aws::String &value)
SessionSummary & WithNotebookVersion(const char *value)
void SetStatus(const SessionStatus &value)
SessionSummary & WithStatus(SessionStatus &&value)
SessionSummary & WithSessionId(const char *value)
void SetNotebookVersion(const Aws::String &value)
SessionSummary & WithDescription(const Aws::String &value)
SessionSummary & WithSessionId(Aws::String &&value)
SessionSummary & WithSessionId(const Aws::String &value)
void SetEngineVersion(const EngineVersion &value)
void SetSessionId(const char *value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetNotebookVersion(Aws::String &&value)
SessionSummary & WithNotebookVersion(Aws::String &&value)
SessionSummary & WithEngineVersion(EngineVersion &&value)
const SessionStatus & GetStatus() const
SessionSummary & WithDescription(Aws::String &&value)
void SetSessionId(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::String & GetSessionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue