AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 NotebookSessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
52 inline NotebookSessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
53 inline NotebookSessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
61 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
62 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
63 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
64 inline NotebookSessionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
65 inline NotebookSessionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_sessionId;
70 bool m_sessionIdHasBeenSet = false;
71
72 Aws::Utils::DateTime m_creationTime;
73 bool m_creationTimeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Athena
78} // namespace Aws
NotebookSessionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
NotebookSessionSummary & WithSessionId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(const Aws::Utils::DateTime &value)
NotebookSessionSummary & WithSessionId(const char *value)
NotebookSessionSummary & WithSessionId(const Aws::String &value)
AWS_ATHENA_API NotebookSessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API NotebookSessionSummary(Aws::Utils::Json::JsonView jsonValue)
NotebookSessionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue