AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaReference.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/SchemaId.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SchemaReference();
40
41
43
47 inline const SchemaId& GetSchemaId() const{ return m_schemaId; }
48 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
49 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
50 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
51 inline SchemaReference& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
52 inline SchemaReference& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
61 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
62 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; }
63 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); }
64 inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); }
65 inline SchemaReference& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;}
66 inline SchemaReference& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
67 inline SchemaReference& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
69
71
74 inline long long GetSchemaVersionNumber() const{ return m_schemaVersionNumber; }
75 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
76 inline void SetSchemaVersionNumber(long long value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
77 inline SchemaReference& WithSchemaVersionNumber(long long value) { SetSchemaVersionNumber(value); return *this;}
79 private:
80
81 SchemaId m_schemaId;
82 bool m_schemaIdHasBeenSet = false;
83
84 Aws::String m_schemaVersionId;
85 bool m_schemaVersionIdHasBeenSet = false;
86
87 long long m_schemaVersionNumber;
88 bool m_schemaVersionNumberHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Glue
93} // namespace Aws
SchemaReference & WithSchemaVersionId(Aws::String &&value)
void SetSchemaVersionId(Aws::String &&value)
SchemaReference & WithSchemaId(SchemaId &&value)
void SetSchemaId(SchemaId &&value)
SchemaReference & WithSchemaVersionId(const Aws::String &value)
const Aws::String & GetSchemaVersionId() const
const SchemaId & GetSchemaId() const
AWS_GLUE_API SchemaReference(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaVersionNumber(long long value)
SchemaReference & WithSchemaVersionNumber(long long value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaReference & WithSchemaId(const SchemaId &value)
void SetSchemaId(const SchemaId &value)
void SetSchemaVersionId(const char *value)
void SetSchemaVersionId(const Aws::String &value)
SchemaReference & WithSchemaVersionId(const char *value)
AWS_GLUE_API SchemaReference & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue