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

Override of a particular evaluation for a profile job.

See * Also:

AWS * API Reference

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

The name of an evaluation

*/ inline const Aws::String& GetStatistic() const{ return m_statistic; } /** *

The name of an evaluation

*/ inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; } /** *

The name of an evaluation

*/ inline void SetStatistic(const Aws::String& value) { m_statisticHasBeenSet = true; m_statistic = value; } /** *

The name of an evaluation

*/ inline void SetStatistic(Aws::String&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); } /** *

The name of an evaluation

*/ inline void SetStatistic(const char* value) { m_statisticHasBeenSet = true; m_statistic.assign(value); } /** *

The name of an evaluation

*/ inline StatisticOverride& WithStatistic(const Aws::String& value) { SetStatistic(value); return *this;} /** *

The name of an evaluation

*/ inline StatisticOverride& WithStatistic(Aws::String&& value) { SetStatistic(std::move(value)); return *this;} /** *

The name of an evaluation

*/ inline StatisticOverride& WithStatistic(const char* value) { SetStatistic(value); return *this;} /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline const Aws::Map& GetParameters() const{ return m_parameters; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

A map that includes overrides of an evaluation’s parameters.

*/ inline StatisticOverride& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } private: Aws::String m_statistic; bool m_statisticHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws