AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
SchemaId.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28class SchemaId {
29 public:
30 AWS_GLUE_API SchemaId() = default;
31 AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue);
34
36
40 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
41 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
42 template <typename SchemaArnT = Aws::String>
43 void SetSchemaArn(SchemaArnT&& value) {
44 m_schemaArnHasBeenSet = true;
45 m_schemaArn = std::forward<SchemaArnT>(value);
46 }
47 template <typename SchemaArnT = Aws::String>
48 SchemaId& WithSchemaArn(SchemaArnT&& value) {
49 SetSchemaArn(std::forward<SchemaArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
60 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
61 template <typename SchemaNameT = Aws::String>
62 void SetSchemaName(SchemaNameT&& value) {
63 m_schemaNameHasBeenSet = true;
64 m_schemaName = std::forward<SchemaNameT>(value);
65 }
66 template <typename SchemaNameT = Aws::String>
67 SchemaId& WithSchemaName(SchemaNameT&& value) {
68 SetSchemaName(std::forward<SchemaNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRegistryName() const { return m_registryName; }
78 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
79 template <typename RegistryNameT = Aws::String>
80 void SetRegistryName(RegistryNameT&& value) {
81 m_registryNameHasBeenSet = true;
82 m_registryName = std::forward<RegistryNameT>(value);
83 }
84 template <typename RegistryNameT = Aws::String>
85 SchemaId& WithRegistryName(RegistryNameT&& value) {
86 SetRegistryName(std::forward<RegistryNameT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_schemaArn;
92 bool m_schemaArnHasBeenSet = false;
93
94 Aws::String m_schemaName;
95 bool m_schemaNameHasBeenSet = false;
96
97 Aws::String m_registryName;
98 bool m_registryNameHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Glue
103} // namespace Aws
const Aws::String & GetSchemaArn() const
Definition SchemaId.h:40
void SetSchemaArn(SchemaArnT &&value)
Definition SchemaId.h:43
SchemaId & WithRegistryName(RegistryNameT &&value)
Definition SchemaId.h:85
AWS_GLUE_API SchemaId()=default
const Aws::String & GetRegistryName() const
Definition SchemaId.h:77
AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue)
bool SchemaArnHasBeenSet() const
Definition SchemaId.h:41
SchemaId & WithSchemaName(SchemaNameT &&value)
Definition SchemaId.h:67
const Aws::String & GetSchemaName() const
Definition SchemaId.h:59
bool SchemaNameHasBeenSet() const
Definition SchemaId.h:60
SchemaId & WithSchemaArn(SchemaArnT &&value)
Definition SchemaId.h:48
AWS_GLUE_API SchemaId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemaName(SchemaNameT &&value)
Definition SchemaId.h:62
bool RegistryNameHasBeenSet() const
Definition SchemaId.h:78
void SetRegistryName(RegistryNameT &&value)
Definition SchemaId.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue