/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EntityResolution { namespace Model { class CreateSchemaMappingResult { public: AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult(); AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult(const Aws::AmazonWebServiceResult& result); AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A description of the schema.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the schema.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

A description of the schema.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

A description of the schema.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A description of the schema.

*/ inline CreateSchemaMappingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the schema.

*/ inline CreateSchemaMappingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the schema.

*/ inline CreateSchemaMappingResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline const Aws::Vector& GetMappedInputFields() const{ return m_mappedInputFields; } /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline void SetMappedInputFields(const Aws::Vector& value) { m_mappedInputFields = value; } /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline void SetMappedInputFields(Aws::Vector&& value) { m_mappedInputFields = std::move(value); } /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline CreateSchemaMappingResult& WithMappedInputFields(const Aws::Vector& value) { SetMappedInputFields(value); return *this;} /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline CreateSchemaMappingResult& WithMappedInputFields(Aws::Vector&& value) { SetMappedInputFields(std::move(value)); return *this;} /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline CreateSchemaMappingResult& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFields.push_back(value); return *this; } /** *

A list of MappedInputFields. Each MappedInputField * corresponds to a column the source data table, and contains column name plus * additional information that Entity Resolution uses for matching.

*/ inline CreateSchemaMappingResult& AddMappedInputFields(SchemaInputAttribute&& value) { m_mappedInputFields.push_back(std::move(value)); return *this; } /** *

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The ARN (Amazon Resource Name) that Entity Resolution generated for the * SchemaMapping.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

*/ inline CreateSchemaMappingResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateSchemaMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSchemaMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSchemaMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_description; Aws::Vector m_mappedInputFields; Aws::String m_schemaArn; Aws::String m_schemaName; Aws::String m_requestId; }; } // namespace Model } // namespace EntityResolution } // namespace Aws