AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutSchemaVersionMetadataResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
40 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
41 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
42 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
43 inline PutSchemaVersionMetadataResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
44 inline PutSchemaVersionMetadataResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
45 inline PutSchemaVersionMetadataResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
47
49
52 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
53 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
54 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
55 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
56 inline PutSchemaVersionMetadataResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
57 inline PutSchemaVersionMetadataResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
58 inline PutSchemaVersionMetadataResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
60
62
65 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
66 inline void SetRegistryName(const Aws::String& value) { m_registryName = value; }
67 inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); }
68 inline void SetRegistryName(const char* value) { m_registryName.assign(value); }
69 inline PutSchemaVersionMetadataResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
70 inline PutSchemaVersionMetadataResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
71 inline PutSchemaVersionMetadataResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
73
75
78 inline bool GetLatestVersion() const{ return m_latestVersion; }
79 inline void SetLatestVersion(bool value) { m_latestVersion = value; }
80 inline PutSchemaVersionMetadataResult& WithLatestVersion(bool value) { SetLatestVersion(value); return *this;}
82
84
87 inline long long GetVersionNumber() const{ return m_versionNumber; }
88 inline void SetVersionNumber(long long value) { m_versionNumber = value; }
89 inline PutSchemaVersionMetadataResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
91
93
96 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
97 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; }
98 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); }
99 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); }
101 inline PutSchemaVersionMetadataResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
102 inline PutSchemaVersionMetadataResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
104
106
109 inline const Aws::String& GetMetadataKey() const{ return m_metadataKey; }
110 inline void SetMetadataKey(const Aws::String& value) { m_metadataKey = value; }
111 inline void SetMetadataKey(Aws::String&& value) { m_metadataKey = std::move(value); }
112 inline void SetMetadataKey(const char* value) { m_metadataKey.assign(value); }
113 inline PutSchemaVersionMetadataResult& WithMetadataKey(const Aws::String& value) { SetMetadataKey(value); return *this;}
114 inline PutSchemaVersionMetadataResult& WithMetadataKey(Aws::String&& value) { SetMetadataKey(std::move(value)); return *this;}
115 inline PutSchemaVersionMetadataResult& WithMetadataKey(const char* value) { SetMetadataKey(value); return *this;}
117
119
122 inline const Aws::String& GetMetadataValue() const{ return m_metadataValue; }
123 inline void SetMetadataValue(const Aws::String& value) { m_metadataValue = value; }
124 inline void SetMetadataValue(Aws::String&& value) { m_metadataValue = std::move(value); }
125 inline void SetMetadataValue(const char* value) { m_metadataValue.assign(value); }
127 inline PutSchemaVersionMetadataResult& WithMetadataValue(Aws::String&& value) { SetMetadataValue(std::move(value)); return *this;}
128 inline PutSchemaVersionMetadataResult& WithMetadataValue(const char* value) { SetMetadataValue(value); return *this;}
130
132
133 inline const Aws::String& GetRequestId() const{ return m_requestId; }
134 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
135 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
136 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
137 inline PutSchemaVersionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
138 inline PutSchemaVersionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
139 inline PutSchemaVersionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
141 private:
142
143 Aws::String m_schemaArn;
144
145 Aws::String m_schemaName;
146
147 Aws::String m_registryName;
148
149 bool m_latestVersion;
150
151 long long m_versionNumber;
152
153 Aws::String m_schemaVersionId;
154
155 Aws::String m_metadataKey;
156
157 Aws::String m_metadataValue;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace Glue
164} // namespace Aws
PutSchemaVersionMetadataResult & WithMetadataValue(Aws::String &&value)
PutSchemaVersionMetadataResult & WithRegistryName(const char *value)
PutSchemaVersionMetadataResult & WithSchemaArn(const char *value)
PutSchemaVersionMetadataResult & WithSchemaVersionId(Aws::String &&value)
PutSchemaVersionMetadataResult & WithRequestId(const Aws::String &value)
PutSchemaVersionMetadataResult & WithRegistryName(const Aws::String &value)
PutSchemaVersionMetadataResult & WithSchemaName(const char *value)
PutSchemaVersionMetadataResult & WithLatestVersion(bool value)
PutSchemaVersionMetadataResult & WithMetadataKey(Aws::String &&value)
PutSchemaVersionMetadataResult & WithSchemaArn(Aws::String &&value)
PutSchemaVersionMetadataResult & WithSchemaName(const Aws::String &value)
PutSchemaVersionMetadataResult & WithMetadataKey(const char *value)
PutSchemaVersionMetadataResult & WithMetadataValue(const Aws::String &value)
PutSchemaVersionMetadataResult & WithSchemaVersionId(const char *value)
AWS_GLUE_API PutSchemaVersionMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API PutSchemaVersionMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSchemaVersionMetadataResult & WithSchemaName(Aws::String &&value)
PutSchemaVersionMetadataResult & WithSchemaArn(const Aws::String &value)
PutSchemaVersionMetadataResult & WithRegistryName(Aws::String &&value)
PutSchemaVersionMetadataResult & WithVersionNumber(long long value)
PutSchemaVersionMetadataResult & WithRequestId(const char *value)
PutSchemaVersionMetadataResult & WithRequestId(Aws::String &&value)
PutSchemaVersionMetadataResult & WithMetadataKey(const Aws::String &value)
PutSchemaVersionMetadataResult & WithSchemaVersionId(const Aws::String &value)
PutSchemaVersionMetadataResult & WithMetadataValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue