/** * 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 { /** *

A list of OutputAttribute objects, each of which have the fields * Name and Hashed. Each of these objects selects a column to be included in the * output table, and whether the values of the column should be * hashed.

See Also:

AWS * API Reference

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

Enables the ability to hash the column values in the output.

*/ inline bool GetHashed() const{ return m_hashed; } /** *

Enables the ability to hash the column values in the output.

*/ inline bool HashedHasBeenSet() const { return m_hashedHasBeenSet; } /** *

Enables the ability to hash the column values in the output.

*/ inline void SetHashed(bool value) { m_hashedHasBeenSet = true; m_hashed = value; } /** *

Enables the ability to hash the column values in the output.

*/ inline OutputAttribute& WithHashed(bool value) { SetHashed(value); return *this;} /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline OutputAttribute& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline OutputAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name of a column to be written to the output. This must be an * InputField name in the schema mapping.

*/ inline OutputAttribute& WithName(const char* value) { SetName(value); return *this;} private: bool m_hashed; bool m_hashedHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace EntityResolution } // namespace Aws