AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NotebookMetadata.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 <aws/athena/model/NotebookType.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
35 {
36 public:
37 AWS_ATHENA_API NotebookMetadata() = default;
40 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
48 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
49 template<typename NotebookIdT = Aws::String>
50 void SetNotebookId(NotebookIdT&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::forward<NotebookIdT>(value); }
51 template<typename NotebookIdT = Aws::String>
52 NotebookMetadata& WithNotebookId(NotebookIdT&& value) { SetNotebookId(std::forward<NotebookIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 NotebookMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
72 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
73 template<typename WorkGroupT = Aws::String>
74 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
75 template<typename WorkGroupT = Aws::String>
76 NotebookMetadata& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 NotebookMetadata& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
96 inline NotebookType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(NotebookType value) { m_typeHasBeenSet = true; m_type = value; }
99 inline NotebookMetadata& WithType(NotebookType value) { SetType(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 NotebookMetadata& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
113 private:
114
115 Aws::String m_notebookId;
116 bool m_notebookIdHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_workGroup;
122 bool m_workGroupHasBeenSet = false;
123
124 Aws::Utils::DateTime m_creationTime{};
125 bool m_creationTimeHasBeenSet = false;
126
128 bool m_typeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastModifiedTime{};
131 bool m_lastModifiedTimeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Athena
136} // namespace Aws
const Aws::String & GetNotebookId() const
NotebookMetadata & WithWorkGroup(WorkGroupT &&value)
NotebookMetadata & WithName(NameT &&value)
AWS_ATHENA_API NotebookMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
NotebookMetadata & WithNotebookId(NotebookIdT &&value)
NotebookMetadata & WithType(NotebookType value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_ATHENA_API NotebookMetadata()=default
const Aws::String & GetWorkGroup() const
NotebookMetadata & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetName() const
void SetWorkGroup(WorkGroupT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetNotebookId(NotebookIdT &&value)
AWS_ATHENA_API NotebookMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookMetadata & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue