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

Contains the category by which to group the utterances.

See * Also:

AWS * API Reference

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

Specifies whether to group the utterances by their text or their state.

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

Specifies whether to group the utterances by their text or their state.

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

Specifies whether to group the utterances by their text or their state.

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

Specifies whether to group the utterances by their text or their state.

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

Specifies whether to group the utterances by their text or their state.

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

Specifies whether to group the utterances by their text or their state.

*/ inline AnalyticsUtteranceGroupBySpecification& WithName(AnalyticsUtteranceField&& value) { SetName(std::move(value)); return *this;} private: AnalyticsUtteranceField m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws