AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NotebookSessionSummary.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ATHENA_API NotebookSessionSummary() = default;
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 template<typename SessionIdT = Aws::String>
49 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
50 template<typename SessionIdT = Aws::String>
51 NotebookSessionSummary& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
59 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
60 template<typename CreationTimeT = Aws::Utils::DateTime>
61 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 NotebookSessionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
65 private:
66
67 Aws::String m_sessionId;
68 bool m_sessionIdHasBeenSet = false;
69
70 Aws::Utils::DateTime m_creationTime{};
71 bool m_creationTimeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Athena
76} // namespace Aws
NotebookSessionSummary & WithSessionId(SessionIdT &&value)
AWS_ATHENA_API NotebookSessionSummary()=default
const Aws::Utils::DateTime & GetCreationTime() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookSessionSummary & WithCreationTime(CreationTimeT &&value)
AWS_ATHENA_API NotebookSessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API NotebookSessionSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue