/** * 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 EntityResolution { namespace Model { /** *

An object containing InputSourceARN, SchemaName, * and ApplyNormalization.

See Also:

AWS * API Reference

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

Normalizes the attributes defined in the schema in the input data. For * example, if an attribute has an AttributeType of * PHONE_NUMBER, and the data in the input table is in a format of * 1234567890, Entity Resolution will normalize this field in the output to * (123)-456-7890.

*/ inline bool GetApplyNormalization() const{ return m_applyNormalization; } /** *

Normalizes the attributes defined in the schema in the input data. For * example, if an attribute has an AttributeType of * PHONE_NUMBER, and the data in the input table is in a format of * 1234567890, Entity Resolution will normalize this field in the output to * (123)-456-7890.

*/ inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; } /** *

Normalizes the attributes defined in the schema in the input data. For * example, if an attribute has an AttributeType of * PHONE_NUMBER, and the data in the input table is in a format of * 1234567890, Entity Resolution will normalize this field in the output to * (123)-456-7890.

*/ inline void SetApplyNormalization(bool value) { m_applyNormalizationHasBeenSet = true; m_applyNormalization = value; } /** *

Normalizes the attributes defined in the schema in the input data. For * example, if an attribute has an AttributeType of * PHONE_NUMBER, and the data in the input table is in a format of * 1234567890, Entity Resolution will normalize this field in the output to * (123)-456-7890.

*/ inline InputSource& WithApplyNormalization(bool value) { SetApplyNormalization(value); return *this;} /** *

An Glue table ARN for the input source table.

*/ inline const Aws::String& GetInputSourceARN() const{ return m_inputSourceARN; } /** *

An Glue table ARN for the input source table.

*/ inline bool InputSourceARNHasBeenSet() const { return m_inputSourceARNHasBeenSet; } /** *

An Glue table ARN for the input source table.

*/ inline void SetInputSourceARN(const Aws::String& value) { m_inputSourceARNHasBeenSet = true; m_inputSourceARN = value; } /** *

An Glue table ARN for the input source table.

*/ inline void SetInputSourceARN(Aws::String&& value) { m_inputSourceARNHasBeenSet = true; m_inputSourceARN = std::move(value); } /** *

An Glue table ARN for the input source table.

*/ inline void SetInputSourceARN(const char* value) { m_inputSourceARNHasBeenSet = true; m_inputSourceARN.assign(value); } /** *

An Glue table ARN for the input source table.

*/ inline InputSource& WithInputSourceARN(const Aws::String& value) { SetInputSourceARN(value); return *this;} /** *

An Glue table ARN for the input source table.

*/ inline InputSource& WithInputSourceARN(Aws::String&& value) { SetInputSourceARN(std::move(value)); return *this;} /** *

An Glue table ARN for the input source table.

*/ inline InputSource& WithInputSourceARN(const char* value) { SetInputSourceARN(value); return *this;} /** *

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

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

The name of the schema to be retrieved.

*/ inline InputSource& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} private: bool m_applyNormalization; bool m_applyNormalizationHasBeenSet = false; Aws::String m_inputSourceARN; bool m_inputSourceARNHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; }; } // namespace Model } // namespace EntityResolution } // namespace Aws