AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
SchemaListItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/SchemaStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API SchemaListItem() = default;
35
37
40 inline const Aws::String& GetRegistryName() const { return m_registryName; }
41 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
42 template <typename RegistryNameT = Aws::String>
43 void SetRegistryName(RegistryNameT&& value) {
44 m_registryNameHasBeenSet = true;
45 m_registryName = std::forward<RegistryNameT>(value);
46 }
47 template <typename RegistryNameT = Aws::String>
48 SchemaListItem& WithRegistryName(RegistryNameT&& value) {
49 SetRegistryName(std::forward<RegistryNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
59 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
60 template <typename SchemaNameT = Aws::String>
61 void SetSchemaName(SchemaNameT&& value) {
62 m_schemaNameHasBeenSet = true;
63 m_schemaName = std::forward<SchemaNameT>(value);
64 }
65 template <typename SchemaNameT = Aws::String>
66 SchemaListItem& WithSchemaName(SchemaNameT&& value) {
67 SetSchemaName(std::forward<SchemaNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
77 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
78 template <typename SchemaArnT = Aws::String>
79 void SetSchemaArn(SchemaArnT&& value) {
80 m_schemaArnHasBeenSet = true;
81 m_schemaArn = std::forward<SchemaArnT>(value);
82 }
83 template <typename SchemaArnT = Aws::String>
84 SchemaListItem& WithSchemaArn(SchemaArnT&& value) {
85 SetSchemaArn(std::forward<SchemaArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 SchemaListItem& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline SchemaStatus GetSchemaStatus() const { return m_schemaStatus; }
113 inline bool SchemaStatusHasBeenSet() const { return m_schemaStatusHasBeenSet; }
114 inline void SetSchemaStatus(SchemaStatus value) {
115 m_schemaStatusHasBeenSet = true;
116 m_schemaStatus = value;
117 }
119 SetSchemaStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
129 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
130 template <typename CreatedTimeT = Aws::String>
131 void SetCreatedTime(CreatedTimeT&& value) {
132 m_createdTimeHasBeenSet = true;
133 m_createdTime = std::forward<CreatedTimeT>(value);
134 }
135 template <typename CreatedTimeT = Aws::String>
136 SchemaListItem& WithCreatedTime(CreatedTimeT&& value) {
137 SetCreatedTime(std::forward<CreatedTimeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
147 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
148 template <typename UpdatedTimeT = Aws::String>
149 void SetUpdatedTime(UpdatedTimeT&& value) {
150 m_updatedTimeHasBeenSet = true;
151 m_updatedTime = std::forward<UpdatedTimeT>(value);
152 }
153 template <typename UpdatedTimeT = Aws::String>
154 SchemaListItem& WithUpdatedTime(UpdatedTimeT&& value) {
155 SetUpdatedTime(std::forward<UpdatedTimeT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_registryName;
161 bool m_registryNameHasBeenSet = false;
162
163 Aws::String m_schemaName;
164 bool m_schemaNameHasBeenSet = false;
165
166 Aws::String m_schemaArn;
167 bool m_schemaArnHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
172 SchemaStatus m_schemaStatus{SchemaStatus::NOT_SET};
173 bool m_schemaStatusHasBeenSet = false;
174
175 Aws::String m_createdTime;
176 bool m_createdTimeHasBeenSet = false;
177
178 Aws::String m_updatedTime;
179 bool m_updatedTimeHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace Glue
184} // namespace Aws
SchemaListItem & WithDescription(DescriptionT &&value)
void SetCreatedTime(CreatedTimeT &&value)
AWS_GLUE_API SchemaListItem()=default
const Aws::String & GetCreatedTime() const
void SetSchemaStatus(SchemaStatus value)
SchemaListItem & WithRegistryName(RegistryNameT &&value)
SchemaListItem & WithSchemaName(SchemaNameT &&value)
SchemaListItem & WithUpdatedTime(UpdatedTimeT &&value)
void SetSchemaArn(SchemaArnT &&value)
const Aws::String & GetSchemaName() const
const Aws::String & GetDescription() const
void SetUpdatedTime(UpdatedTimeT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUpdatedTime() const
AWS_GLUE_API SchemaListItem(Aws::Utils::Json::JsonView jsonValue)
SchemaListItem & WithSchemaArn(SchemaArnT &&value)
SchemaListItem & WithSchemaStatus(SchemaStatus value)
void SetRegistryName(RegistryNameT &&value)
SchemaListItem & WithCreatedTime(CreatedTimeT &&value)
SchemaStatus GetSchemaStatus() const
void SetSchemaName(SchemaNameT &&value)
const Aws::String & GetRegistryName() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetSchemaArn() const
AWS_GLUE_API SchemaListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue