1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/glue/Glue_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace Glue 24 { 25 namespace Model 26 { 27 class AWS_GLUE_API RemoveSchemaVersionMetadataResult 28 { 29 public: 30 RemoveSchemaVersionMetadataResult(); 31 RemoveSchemaVersionMetadataResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 RemoveSchemaVersionMetadataResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The Amazon Resource Name (ARN) of the schema.</p> 37 */ GetSchemaArn()38 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } 39 40 /** 41 * <p>The Amazon Resource Name (ARN) of the schema.</p> 42 */ SetSchemaArn(const Aws::String & value)43 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; } 44 45 /** 46 * <p>The Amazon Resource Name (ARN) of the schema.</p> 47 */ SetSchemaArn(Aws::String && value)48 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); } 49 50 /** 51 * <p>The Amazon Resource Name (ARN) of the schema.</p> 52 */ SetSchemaArn(const char * value)53 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); } 54 55 /** 56 * <p>The Amazon Resource Name (ARN) of the schema.</p> 57 */ WithSchemaArn(const Aws::String & value)58 inline RemoveSchemaVersionMetadataResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} 59 60 /** 61 * <p>The Amazon Resource Name (ARN) of the schema.</p> 62 */ WithSchemaArn(Aws::String && value)63 inline RemoveSchemaVersionMetadataResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} 64 65 /** 66 * <p>The Amazon Resource Name (ARN) of the schema.</p> 67 */ WithSchemaArn(const char * value)68 inline RemoveSchemaVersionMetadataResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} 69 70 71 /** 72 * <p>The name of the schema.</p> 73 */ GetSchemaName()74 inline const Aws::String& GetSchemaName() const{ return m_schemaName; } 75 76 /** 77 * <p>The name of the schema.</p> 78 */ SetSchemaName(const Aws::String & value)79 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; } 80 81 /** 82 * <p>The name of the schema.</p> 83 */ SetSchemaName(Aws::String && value)84 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); } 85 86 /** 87 * <p>The name of the schema.</p> 88 */ SetSchemaName(const char * value)89 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); } 90 91 /** 92 * <p>The name of the schema.</p> 93 */ WithSchemaName(const Aws::String & value)94 inline RemoveSchemaVersionMetadataResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} 95 96 /** 97 * <p>The name of the schema.</p> 98 */ WithSchemaName(Aws::String && value)99 inline RemoveSchemaVersionMetadataResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} 100 101 /** 102 * <p>The name of the schema.</p> 103 */ WithSchemaName(const char * value)104 inline RemoveSchemaVersionMetadataResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} 105 106 107 /** 108 * <p>The name of the registry.</p> 109 */ GetRegistryName()110 inline const Aws::String& GetRegistryName() const{ return m_registryName; } 111 112 /** 113 * <p>The name of the registry.</p> 114 */ SetRegistryName(const Aws::String & value)115 inline void SetRegistryName(const Aws::String& value) { m_registryName = value; } 116 117 /** 118 * <p>The name of the registry.</p> 119 */ SetRegistryName(Aws::String && value)120 inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); } 121 122 /** 123 * <p>The name of the registry.</p> 124 */ SetRegistryName(const char * value)125 inline void SetRegistryName(const char* value) { m_registryName.assign(value); } 126 127 /** 128 * <p>The name of the registry.</p> 129 */ WithRegistryName(const Aws::String & value)130 inline RemoveSchemaVersionMetadataResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} 131 132 /** 133 * <p>The name of the registry.</p> 134 */ WithRegistryName(Aws::String && value)135 inline RemoveSchemaVersionMetadataResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} 136 137 /** 138 * <p>The name of the registry.</p> 139 */ WithRegistryName(const char * value)140 inline RemoveSchemaVersionMetadataResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} 141 142 143 /** 144 * <p>The latest version of the schema.</p> 145 */ GetLatestVersion()146 inline bool GetLatestVersion() const{ return m_latestVersion; } 147 148 /** 149 * <p>The latest version of the schema.</p> 150 */ SetLatestVersion(bool value)151 inline void SetLatestVersion(bool value) { m_latestVersion = value; } 152 153 /** 154 * <p>The latest version of the schema.</p> 155 */ WithLatestVersion(bool value)156 inline RemoveSchemaVersionMetadataResult& WithLatestVersion(bool value) { SetLatestVersion(value); return *this;} 157 158 159 /** 160 * <p>The version number of the schema.</p> 161 */ GetVersionNumber()162 inline long long GetVersionNumber() const{ return m_versionNumber; } 163 164 /** 165 * <p>The version number of the schema.</p> 166 */ SetVersionNumber(long long value)167 inline void SetVersionNumber(long long value) { m_versionNumber = value; } 168 169 /** 170 * <p>The version number of the schema.</p> 171 */ WithVersionNumber(long long value)172 inline RemoveSchemaVersionMetadataResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} 173 174 175 /** 176 * <p>The version ID for the schema version.</p> 177 */ GetSchemaVersionId()178 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; } 179 180 /** 181 * <p>The version ID for the schema version.</p> 182 */ SetSchemaVersionId(const Aws::String & value)183 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; } 184 185 /** 186 * <p>The version ID for the schema version.</p> 187 */ SetSchemaVersionId(Aws::String && value)188 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); } 189 190 /** 191 * <p>The version ID for the schema version.</p> 192 */ SetSchemaVersionId(const char * value)193 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); } 194 195 /** 196 * <p>The version ID for the schema version.</p> 197 */ WithSchemaVersionId(const Aws::String & value)198 inline RemoveSchemaVersionMetadataResult& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;} 199 200 /** 201 * <p>The version ID for the schema version.</p> 202 */ WithSchemaVersionId(Aws::String && value)203 inline RemoveSchemaVersionMetadataResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;} 204 205 /** 206 * <p>The version ID for the schema version.</p> 207 */ WithSchemaVersionId(const char * value)208 inline RemoveSchemaVersionMetadataResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;} 209 210 211 /** 212 * <p>The metadata key.</p> 213 */ GetMetadataKey()214 inline const Aws::String& GetMetadataKey() const{ return m_metadataKey; } 215 216 /** 217 * <p>The metadata key.</p> 218 */ SetMetadataKey(const Aws::String & value)219 inline void SetMetadataKey(const Aws::String& value) { m_metadataKey = value; } 220 221 /** 222 * <p>The metadata key.</p> 223 */ SetMetadataKey(Aws::String && value)224 inline void SetMetadataKey(Aws::String&& value) { m_metadataKey = std::move(value); } 225 226 /** 227 * <p>The metadata key.</p> 228 */ SetMetadataKey(const char * value)229 inline void SetMetadataKey(const char* value) { m_metadataKey.assign(value); } 230 231 /** 232 * <p>The metadata key.</p> 233 */ WithMetadataKey(const Aws::String & value)234 inline RemoveSchemaVersionMetadataResult& WithMetadataKey(const Aws::String& value) { SetMetadataKey(value); return *this;} 235 236 /** 237 * <p>The metadata key.</p> 238 */ WithMetadataKey(Aws::String && value)239 inline RemoveSchemaVersionMetadataResult& WithMetadataKey(Aws::String&& value) { SetMetadataKey(std::move(value)); return *this;} 240 241 /** 242 * <p>The metadata key.</p> 243 */ WithMetadataKey(const char * value)244 inline RemoveSchemaVersionMetadataResult& WithMetadataKey(const char* value) { SetMetadataKey(value); return *this;} 245 246 247 /** 248 * <p>The value of the metadata key.</p> 249 */ GetMetadataValue()250 inline const Aws::String& GetMetadataValue() const{ return m_metadataValue; } 251 252 /** 253 * <p>The value of the metadata key.</p> 254 */ SetMetadataValue(const Aws::String & value)255 inline void SetMetadataValue(const Aws::String& value) { m_metadataValue = value; } 256 257 /** 258 * <p>The value of the metadata key.</p> 259 */ SetMetadataValue(Aws::String && value)260 inline void SetMetadataValue(Aws::String&& value) { m_metadataValue = std::move(value); } 261 262 /** 263 * <p>The value of the metadata key.</p> 264 */ SetMetadataValue(const char * value)265 inline void SetMetadataValue(const char* value) { m_metadataValue.assign(value); } 266 267 /** 268 * <p>The value of the metadata key.</p> 269 */ WithMetadataValue(const Aws::String & value)270 inline RemoveSchemaVersionMetadataResult& WithMetadataValue(const Aws::String& value) { SetMetadataValue(value); return *this;} 271 272 /** 273 * <p>The value of the metadata key.</p> 274 */ WithMetadataValue(Aws::String && value)275 inline RemoveSchemaVersionMetadataResult& WithMetadataValue(Aws::String&& value) { SetMetadataValue(std::move(value)); return *this;} 276 277 /** 278 * <p>The value of the metadata key.</p> 279 */ WithMetadataValue(const char * value)280 inline RemoveSchemaVersionMetadataResult& WithMetadataValue(const char* value) { SetMetadataValue(value); return *this;} 281 282 private: 283 284 Aws::String m_schemaArn; 285 286 Aws::String m_schemaName; 287 288 Aws::String m_registryName; 289 290 bool m_latestVersion; 291 292 long long m_versionNumber; 293 294 Aws::String m_schemaVersionId; 295 296 Aws::String m_metadataKey; 297 298 Aws::String m_metadataValue; 299 }; 300 301 } // namespace Model 302 } // namespace Glue 303 } // namespace Aws 304