/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The unique ID of the schema in the Glue schema registry.

See * Also:

AWS API * Reference

*/ class SchemaId { public: AWS_GLUE_API SchemaId(); AWS_GLUE_API SchemaId(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API SchemaId& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline SchemaId& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline SchemaId& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the schema. One of SchemaArn * or SchemaName has to be provided.

*/ inline SchemaId& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline SchemaId& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline SchemaId& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name of the schema. One of SchemaArn or * SchemaName has to be provided.

*/ inline SchemaId& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The name of the schema registry that contains the schema.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name of the schema registry that contains the schema.

*/ inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *

The name of the schema registry that contains the schema.

*/ inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; } /** *

The name of the schema registry that contains the schema.

*/ inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); } /** *

The name of the schema registry that contains the schema.

*/ inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); } /** *

The name of the schema registry that contains the schema.

*/ inline SchemaId& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the schema registry that contains the schema.

*/ inline SchemaId& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name of the schema registry that contains the schema.

*/ inline SchemaId& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} private: Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_registryName; bool m_registryNameHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws