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

Contains the category by which the utterance analytics were grouped and the * values for that category.

See Also:

AWS * API Reference

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

The category by which the utterance analytics were grouped.

*/ inline const AnalyticsUtteranceField& GetName() const{ return m_name; } /** *

The category by which the utterance analytics were grouped.

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

The category by which the utterance analytics were grouped.

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

The category by which the utterance analytics were grouped.

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

The category by which the utterance analytics were grouped.

*/ inline AnalyticsUtteranceGroupByKey& WithName(const AnalyticsUtteranceField& value) { SetName(value); return *this;} /** *

The category by which the utterance analytics were grouped.

*/ inline AnalyticsUtteranceGroupByKey& WithName(AnalyticsUtteranceField&& value) { SetName(std::move(value)); return *this;} /** *

A member of the category by which the utterance analytics were grouped.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

A member of the category by which the utterance analytics were grouped.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

A member of the category by which the utterance analytics were grouped.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

A member of the category by which the utterance analytics were grouped.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

A member of the category by which the utterance analytics were grouped.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

A member of the category by which the utterance analytics were grouped.

*/ inline AnalyticsUtteranceGroupByKey& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

A member of the category by which the utterance analytics were grouped.

*/ inline AnalyticsUtteranceGroupByKey& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

A member of the category by which the utterance analytics were grouped.

*/ inline AnalyticsUtteranceGroupByKey& WithValue(const char* value) { SetValue(value); return *this;} private: AnalyticsUtteranceField m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws