AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
47 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
48 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
49 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
50 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
51 inline SchemaListItem& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
52 inline SchemaListItem& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
53 inline SchemaListItem& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
55
57
60 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
61 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
62 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
63 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
64 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
65 inline SchemaListItem& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
66 inline SchemaListItem& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
67 inline SchemaListItem& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
69
71
74 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
75 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
76 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
77 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
78 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
79 inline SchemaListItem& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
80 inline SchemaListItem& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
81 inline SchemaListItem& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline SchemaListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline SchemaListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline SchemaListItem& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const SchemaStatus& GetSchemaStatus() const{ return m_schemaStatus; }
103 inline bool SchemaStatusHasBeenSet() const { return m_schemaStatusHasBeenSet; }
104 inline void SetSchemaStatus(const SchemaStatus& value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = value; }
105 inline void SetSchemaStatus(SchemaStatus&& value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = std::move(value); }
106 inline SchemaListItem& WithSchemaStatus(const SchemaStatus& value) { SetSchemaStatus(value); return *this;}
107 inline SchemaListItem& WithSchemaStatus(SchemaStatus&& value) { SetSchemaStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
115 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
116 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
117 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
118 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
119 inline SchemaListItem& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
120 inline SchemaListItem& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
121 inline SchemaListItem& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
123
125
128 inline const Aws::String& GetUpdatedTime() const{ return m_updatedTime; }
129 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
130 inline void SetUpdatedTime(const Aws::String& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = value; }
131 inline void SetUpdatedTime(Aws::String&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::move(value); }
132 inline void SetUpdatedTime(const char* value) { m_updatedTimeHasBeenSet = true; m_updatedTime.assign(value); }
133 inline SchemaListItem& WithUpdatedTime(const Aws::String& value) { SetUpdatedTime(value); return *this;}
134 inline SchemaListItem& WithUpdatedTime(Aws::String&& value) { SetUpdatedTime(std::move(value)); return *this;}
135 inline SchemaListItem& WithUpdatedTime(const char* value) { SetUpdatedTime(value); return *this;}
137 private:
138
139 Aws::String m_registryName;
140 bool m_registryNameHasBeenSet = false;
141
142 Aws::String m_schemaName;
143 bool m_schemaNameHasBeenSet = false;
144
145 Aws::String m_schemaArn;
146 bool m_schemaArnHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 SchemaStatus m_schemaStatus;
152 bool m_schemaStatusHasBeenSet = false;
153
154 Aws::String m_createdTime;
155 bool m_createdTimeHasBeenSet = false;
156
157 Aws::String m_updatedTime;
158 bool m_updatedTimeHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Glue
163} // namespace Aws
SchemaListItem & WithSchemaStatus(SchemaStatus &&value)
SchemaListItem & WithDescription(const char *value)
const Aws::String & GetCreatedTime() const
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
SchemaListItem & WithRegistryName(const char *value)
SchemaListItem & WithUpdatedTime(Aws::String &&value)
SchemaListItem & WithRegistryName(const Aws::String &value)
void SetUpdatedTime(const Aws::String &value)
void SetSchemaArn(const Aws::String &value)
SchemaListItem & WithSchemaName(const Aws::String &value)
void SetSchemaStatus(const SchemaStatus &value)
SchemaListItem & WithDescription(Aws::String &&value)
void SetUpdatedTime(Aws::String &&value)
void SetSchemaStatus(SchemaStatus &&value)
const Aws::String & GetSchemaName() const
void SetRegistryName(const Aws::String &value)
SchemaListItem & WithUpdatedTime(const Aws::String &value)
const Aws::String & GetDescription() const
SchemaListItem & WithRegistryName(Aws::String &&value)
SchemaListItem & WithSchemaArn(const Aws::String &value)
SchemaListItem & WithSchemaStatus(const SchemaStatus &value)
void SetCreatedTime(const Aws::String &value)
void SetSchemaArn(const char *value)
void SetCreatedTime(Aws::String &&value)
SchemaListItem & WithSchemaName(const char *value)
void SetSchemaName(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegistryName(Aws::String &&value)
SchemaListItem & WithCreatedTime(const Aws::String &value)
const Aws::String & GetUpdatedTime() const
void SetCreatedTime(const char *value)
SchemaListItem & WithUpdatedTime(const char *value)
SchemaListItem & WithSchemaName(Aws::String &&value)
void SetSchemaName(Aws::String &&value)
void SetSchemaName(const char *value)
AWS_GLUE_API SchemaListItem(Aws::Utils::Json::JsonView jsonValue)
SchemaListItem & WithDescription(const Aws::String &value)
void SetRegistryName(const char *value)
void SetUpdatedTime(const char *value)
const SchemaStatus & GetSchemaStatus() const
const Aws::String & GetRegistryName() const
SchemaListItem & WithCreatedTime(const char *value)
void SetSchemaArn(Aws::String &&value)
const Aws::String & GetSchemaArn() const
SchemaListItem & WithSchemaArn(const char *value)
SchemaListItem & WithCreatedTime(Aws::String &&value)
AWS_GLUE_API SchemaListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaListItem & WithSchemaArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue