AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SchemaListItem.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/SchemaStatus.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API SchemaListItem() = default;
40
41
43
46 inline const Aws::String& GetRegistryName() const { return m_registryName; }
47 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
48 template<typename RegistryNameT = Aws::String>
49 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
50 template<typename RegistryNameT = Aws::String>
51 SchemaListItem& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
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) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
62 template<typename SchemaNameT = Aws::String>
63 SchemaListItem& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
71 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
72 template<typename SchemaArnT = Aws::String>
73 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
74 template<typename SchemaArnT = Aws::String>
75 SchemaListItem& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 SchemaListItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
94 inline SchemaStatus GetSchemaStatus() const { return m_schemaStatus; }
95 inline bool SchemaStatusHasBeenSet() const { return m_schemaStatusHasBeenSet; }
96 inline void SetSchemaStatus(SchemaStatus value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = value; }
97 inline SchemaListItem& WithSchemaStatus(SchemaStatus value) { SetSchemaStatus(value); return *this;}
99
101
104 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
105 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
106 template<typename CreatedTimeT = Aws::String>
107 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
108 template<typename CreatedTimeT = Aws::String>
109 SchemaListItem& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
117 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
118 template<typename UpdatedTimeT = Aws::String>
119 void SetUpdatedTime(UpdatedTimeT&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::forward<UpdatedTimeT>(value); }
120 template<typename UpdatedTimeT = Aws::String>
121 SchemaListItem& WithUpdatedTime(UpdatedTimeT&& value) { SetUpdatedTime(std::forward<UpdatedTimeT>(value)); return *this;}
123 private:
124
125 Aws::String m_registryName;
126 bool m_registryNameHasBeenSet = false;
127
128 Aws::String m_schemaName;
129 bool m_schemaNameHasBeenSet = false;
130
131 Aws::String m_schemaArn;
132 bool m_schemaArnHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 SchemaStatus m_schemaStatus{SchemaStatus::NOT_SET};
138 bool m_schemaStatusHasBeenSet = false;
139
140 Aws::String m_createdTime;
141 bool m_createdTimeHasBeenSet = false;
142
143 Aws::String m_updatedTime;
144 bool m_updatedTimeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Glue
149} // 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