/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 GetSchemaMappingResult { public: AWS_ENTITYRESOLUTION_API GetSchemaMappingResult(); AWS_ENTITYRESOLUTION_API GetSchemaMappingResult(const Aws::AmazonWebServiceResult& result); AWS_ENTITYRESOLUTION_API GetSchemaMappingResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The timestamp of when the SchemaMapping was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the SchemaMapping was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp of when the SchemaMapping was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The timestamp of when the SchemaMapping was created.

*/ inline GetSchemaMappingResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the SchemaMapping was created.

*/ inline GetSchemaMappingResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

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 GetSchemaMappingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the schema.

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

A description of the schema.

*/ inline GetSchemaMappingResult& 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 Venice 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 Venice 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 Venice 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 Venice uses for matching.

*/ inline GetSchemaMappingResult& 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 Venice uses for matching.

*/ inline GetSchemaMappingResult& 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 Venice uses for matching.

*/ inline GetSchemaMappingResult& 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 Venice uses for matching.

*/ inline GetSchemaMappingResult& 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 GetSchemaMappingResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

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

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

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

*/ inline GetSchemaMappingResult& 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 GetSchemaMappingResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

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

The name of the schema.

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

The tags used to organize, track, or control access for this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetSchemaMappingResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The timestamp of when the SchemaMapping was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp of when the SchemaMapping was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } /** *

The timestamp of when the SchemaMapping was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } /** *

The timestamp of when the SchemaMapping was last updated.

*/ inline GetSchemaMappingResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp of when the SchemaMapping was last updated.

*/ inline GetSchemaMappingResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(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 GetSchemaMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSchemaMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSchemaMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createdAt; Aws::String m_description; Aws::Vector m_mappedInputFields; Aws::String m_schemaArn; Aws::String m_schemaName; Aws::Map m_tags; Aws::Utils::DateTime m_updatedAt; Aws::String m_requestId; }; } // namespace Model } // namespace EntityResolution } // namespace Aws