AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNotebookId(const Aws::String& value) { m_notebookIdHasBeenSet = true; m_notebookId = value; }
50 inline void SetNotebookId(Aws::String&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::move(value); }
51 inline void SetNotebookId(const char* value) { m_notebookIdHasBeenSet = true; m_notebookId.assign(value); }
52 inline NotebookMetadata& WithNotebookId(const Aws::String& value) { SetNotebookId(value); return *this;}
53 inline NotebookMetadata& WithNotebookId(Aws::String&& value) { SetNotebookId(std::move(value)); return *this;}
54 inline NotebookMetadata& WithNotebookId(const char* value) { SetNotebookId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline NotebookMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline NotebookMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline NotebookMetadata& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
76 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
77 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
78 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
79 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
80 inline NotebookMetadata& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
81 inline NotebookMetadata& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
82 inline NotebookMetadata& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
90 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline NotebookMetadata& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline NotebookMetadata& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
102 inline const NotebookType& GetType() const{ return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(const NotebookType& value) { m_typeHasBeenSet = true; m_type = value; }
105 inline void SetType(NotebookType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
106 inline NotebookMetadata& WithType(const NotebookType& value) { SetType(value); return *this;}
107 inline NotebookMetadata& WithType(NotebookType&& value) { SetType(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
117 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
119 inline NotebookMetadata& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_notebookId;
124 bool m_notebookIdHasBeenSet = false;
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_workGroup;
130 bool m_workGroupHasBeenSet = false;
131
132 Aws::Utils::DateTime m_creationTime;
133 bool m_creationTimeHasBeenSet = false;
134
135 NotebookType m_type;
136 bool m_typeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139 bool m_lastModifiedTimeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Athena
144} // namespace Aws
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetNotebookId() const
void SetNotebookId(const char *value)
void SetNotebookId(Aws::String &&value)
NotebookMetadata & WithNotebookId(const Aws::String &value)
AWS_ATHENA_API NotebookMetadata(Aws::Utils::Json::JsonView jsonValue)
NotebookMetadata & WithWorkGroup(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetWorkGroup(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
NotebookMetadata & WithLastModifiedTime(const Aws::Utils::DateTime &value)
NotebookMetadata & WithName(Aws::String &&value)
NotebookMetadata & WithCreationTime(const Aws::Utils::DateTime &value)
void SetNotebookId(const Aws::String &value)
NotebookMetadata & WithWorkGroup(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetWorkGroup(const Aws::String &value)
const Aws::String & GetWorkGroup() const
NotebookMetadata & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
NotebookMetadata & WithNotebookId(const char *value)
const NotebookType & GetType() const
void SetName(Aws::String &&value)
NotebookMetadata & WithType(NotebookType &&value)
AWS_ATHENA_API NotebookMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
NotebookMetadata & WithWorkGroup(const Aws::String &value)
NotebookMetadata & WithNotebookId(Aws::String &&value)
NotebookMetadata & WithType(const NotebookType &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetType(NotebookType &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
NotebookMetadata & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetType(const NotebookType &value)
NotebookMetadata & WithName(const Aws::String &value)
NotebookMetadata & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue