AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SchemaId.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API SchemaId() = default;
36 AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue);
39
40
42
46 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
47 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
48 template<typename SchemaArnT = Aws::String>
49 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
50 template<typename SchemaArnT = Aws::String>
51 SchemaId& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
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) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
63 template<typename SchemaNameT = Aws::String>
64 SchemaId& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetRegistryName() const { return m_registryName; }
72 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
73 template<typename RegistryNameT = Aws::String>
74 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
75 template<typename RegistryNameT = Aws::String>
76 SchemaId& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
78 private:
79
80 Aws::String m_schemaArn;
81 bool m_schemaArnHasBeenSet = false;
82
83 Aws::String m_schemaName;
84 bool m_schemaNameHasBeenSet = false;
85
86 Aws::String m_registryName;
87 bool m_registryNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Glue
92} // namespace Aws
const Aws::String & GetSchemaArn() const
Definition SchemaId.h:46
void SetSchemaArn(SchemaArnT &&value)
Definition SchemaId.h:49
SchemaId & WithRegistryName(RegistryNameT &&value)
Definition SchemaId.h:76
AWS_GLUE_API SchemaId()=default
const Aws::String & GetRegistryName() const
Definition SchemaId.h:71
AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue)
bool SchemaArnHasBeenSet() const
Definition SchemaId.h:47
SchemaId & WithSchemaName(SchemaNameT &&value)
Definition SchemaId.h:64
const Aws::String & GetSchemaName() const
Definition SchemaId.h:59
bool SchemaNameHasBeenSet() const
Definition SchemaId.h:60
SchemaId & WithSchemaArn(SchemaArnT &&value)
Definition SchemaId.h:51
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:72
void SetRegistryName(RegistryNameT &&value)
Definition SchemaId.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue