/** * 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 intents.

See Also:

* AWS * API Reference

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

Specifies whether to group the intent stages by their name or their end * state.

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

Specifies whether to group the intent stages by their name or their end * state.

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

Specifies whether to group the intent stages by their name or their end * state.

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

Specifies whether to group the intent stages by their name or their end * state.

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

Specifies whether to group the intent stages by their name or their end * state.

*/ inline AnalyticsIntentGroupBySpecification& WithName(const AnalyticsIntentField& value) { SetName(value); return *this;} /** *

Specifies whether to group the intent stages by their name or their end * state.

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