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

An object that contains a summary of a recommended intent.

See * Also:

AWS * API Reference

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

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline const Aws::String& GetIntentId() const{ return m_intentId; } /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; } /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline void SetIntentId(const Aws::String& value) { m_intentIdHasBeenSet = true; m_intentId = value; } /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline void SetIntentId(Aws::String&& value) { m_intentIdHasBeenSet = true; m_intentId = std::move(value); } /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline void SetIntentId(const char* value) { m_intentIdHasBeenSet = true; m_intentId.assign(value); } /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline RecommendedIntentSummary& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;} /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline RecommendedIntentSummary& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;} /** *

The unique identifier of a recommended intent associated with the bot * recommendation.

*/ inline RecommendedIntentSummary& WithIntentId(const char* value) { SetIntentId(value); return *this;} /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; } /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; } /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); } /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); } /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline RecommendedIntentSummary& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline RecommendedIntentSummary& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *

The name of a recommended intent associated with the bot recommendation.

*/ inline RecommendedIntentSummary& WithIntentName(const char* value) { SetIntentName(value); return *this;} /** *

The count of sample utterances of a recommended intent that is associated * with a bot recommendation.

*/ inline int GetSampleUtterancesCount() const{ return m_sampleUtterancesCount; } /** *

The count of sample utterances of a recommended intent that is associated * with a bot recommendation.

*/ inline bool SampleUtterancesCountHasBeenSet() const { return m_sampleUtterancesCountHasBeenSet; } /** *

The count of sample utterances of a recommended intent that is associated * with a bot recommendation.

*/ inline void SetSampleUtterancesCount(int value) { m_sampleUtterancesCountHasBeenSet = true; m_sampleUtterancesCount = value; } /** *

The count of sample utterances of a recommended intent that is associated * with a bot recommendation.

*/ inline RecommendedIntentSummary& WithSampleUtterancesCount(int value) { SetSampleUtterancesCount(value); return *this;} private: Aws::String m_intentId; bool m_intentIdHasBeenSet = false; Aws::String m_intentName; bool m_intentNameHasBeenSet = false; int m_sampleUtterancesCount; bool m_sampleUtterancesCountHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws