AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
49 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
50 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
51 inline SchemaId& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
52 inline SchemaId& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
53 inline SchemaId& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
55
57
61 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
62 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
63 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
64 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
65 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
66 inline SchemaId& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
67 inline SchemaId& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
68 inline SchemaId& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
70
72
75 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
76 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
77 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
78 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
79 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
80 inline SchemaId& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
81 inline SchemaId& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
82 inline SchemaId& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
84 private:
85
86 Aws::String m_schemaArn;
87 bool m_schemaArnHasBeenSet = false;
88
89 Aws::String m_schemaName;
90 bool m_schemaNameHasBeenSet = false;
91
92 Aws::String m_registryName;
93 bool m_registryNameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
const Aws::String & GetSchemaArn() const
Definition SchemaId.h:46
void SetSchemaArn(Aws::String &&value)
Definition SchemaId.h:49
void SetRegistryName(const Aws::String &value)
Definition SchemaId.h:77
SchemaId & WithRegistryName(Aws::String &&value)
Definition SchemaId.h:81
const Aws::String & GetRegistryName() const
Definition SchemaId.h:75
AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue)
bool SchemaArnHasBeenSet() const
Definition SchemaId.h:47
SchemaId & WithSchemaName(const char *value)
Definition SchemaId.h:68
SchemaId & WithRegistryName(const Aws::String &value)
Definition SchemaId.h:80
SchemaId & WithSchemaName(const Aws::String &value)
Definition SchemaId.h:66
SchemaId & WithSchemaName(Aws::String &&value)
Definition SchemaId.h:67
void SetRegistryName(Aws::String &&value)
Definition SchemaId.h:78
SchemaId & WithSchemaArn(Aws::String &&value)
Definition SchemaId.h:52
void SetSchemaArn(const Aws::String &value)
Definition SchemaId.h:48
SchemaId & WithSchemaArn(const Aws::String &value)
Definition SchemaId.h:51
void SetSchemaName(Aws::String &&value)
Definition SchemaId.h:64
const Aws::String & GetSchemaName() const
Definition SchemaId.h:61
bool SchemaNameHasBeenSet() const
Definition SchemaId.h:62
AWS_GLUE_API SchemaId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegistryName(const char *value)
Definition SchemaId.h:79
void SetSchemaArn(const char *value)
Definition SchemaId.h:50
void SetSchemaName(const Aws::String &value)
Definition SchemaId.h:63
void SetSchemaName(const char *value)
Definition SchemaId.h:65
SchemaId & WithSchemaArn(const char *value)
Definition SchemaId.h:53
bool RegistryNameHasBeenSet() const
Definition SchemaId.h:76
SchemaId & WithRegistryName(const char *value)
Definition SchemaId.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue