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

An object containing SchemaName, SchemaArn, * CreatedAt, andUpdatedAt.

See Also:

AWS * API Reference

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

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 bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The timestamp of when the SchemaMapping was created.

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

The timestamp of when the SchemaMapping was created.

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

The timestamp of when the SchemaMapping was created.

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

The timestamp of when the SchemaMapping was created.

*/ inline SchemaMappingSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(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 bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline SchemaMappingSummary& 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 bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

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

The name of the schema.

*/ inline SchemaMappingSummary& WithSchemaName(const char* value) { SetSchemaName(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 bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp of when the SchemaMapping was last updated.

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

The timestamp of when the SchemaMapping was last updated.

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

The timestamp of when the SchemaMapping was last updated.

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

The timestamp of when the SchemaMapping was last updated.

*/ inline SchemaMappingSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace EntityResolution } // namespace Aws