AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
40
41
43
47 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
48 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
49 template<typename SchemaIdT = SchemaId>
50 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
51 template<typename SchemaIdT = SchemaId>
52 SchemaReference& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
61 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
62 template<typename SchemaVersionIdT = Aws::String>
63 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
64 template<typename SchemaVersionIdT = Aws::String>
65 SchemaReference& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
67
69
72 inline long long GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
73 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
74 inline void SetSchemaVersionNumber(long long value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
75 inline SchemaReference& WithSchemaVersionNumber(long long value) { SetSchemaVersionNumber(value); return *this;}
77 private:
78
79 SchemaId m_schemaId;
80 bool m_schemaIdHasBeenSet = false;
81
82 Aws::String m_schemaVersionId;
83 bool m_schemaVersionIdHasBeenSet = false;
84
85 long long m_schemaVersionNumber{0};
86 bool m_schemaVersionNumberHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // namespace Aws
void SetSchemaVersionId(SchemaVersionIdT &&value)
SchemaReference & WithSchemaVersionId(SchemaVersionIdT &&value)
const Aws::String & GetSchemaVersionId() const
void SetSchemaId(SchemaIdT &&value)
SchemaReference & WithSchemaId(SchemaIdT &&value)
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
AWS_GLUE_API SchemaReference()=default
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