/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

A summary of the bot recommendation.

See Also:

AWS * API Reference

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

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline const BotRecommendationStatus& GetBotRecommendationStatus() const{ return m_botRecommendationStatus; } /** *

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline bool BotRecommendationStatusHasBeenSet() const { return m_botRecommendationStatusHasBeenSet; } /** *

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline void SetBotRecommendationStatus(const BotRecommendationStatus& value) { m_botRecommendationStatusHasBeenSet = true; m_botRecommendationStatus = value; } /** *

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline void SetBotRecommendationStatus(BotRecommendationStatus&& value) { m_botRecommendationStatusHasBeenSet = true; m_botRecommendationStatus = std::move(value); } /** *

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline BotRecommendationSummary& WithBotRecommendationStatus(const BotRecommendationStatus& value) { SetBotRecommendationStatus(value); return *this;} /** *

The status of the bot recommendation.

If the status is Failed, then * the reasons for the failure are listed in the failureReasons field.

*/ inline BotRecommendationSummary& WithBotRecommendationStatus(BotRecommendationStatus&& value) { SetBotRecommendationStatus(std::move(value)); return *this;} /** *

The unique identifier of the bot recommendation to be updated.

*/ inline const Aws::String& GetBotRecommendationId() const{ return m_botRecommendationId; } /** *

The unique identifier of the bot recommendation to be updated.

*/ inline bool BotRecommendationIdHasBeenSet() const { return m_botRecommendationIdHasBeenSet; } /** *

The unique identifier of the bot recommendation to be updated.

*/ inline void SetBotRecommendationId(const Aws::String& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = value; } /** *

The unique identifier of the bot recommendation to be updated.

*/ inline void SetBotRecommendationId(Aws::String&& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::move(value); } /** *

The unique identifier of the bot recommendation to be updated.

*/ inline void SetBotRecommendationId(const char* value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId.assign(value); } /** *

The unique identifier of the bot recommendation to be updated.

*/ inline BotRecommendationSummary& WithBotRecommendationId(const Aws::String& value) { SetBotRecommendationId(value); return *this;} /** *

The unique identifier of the bot recommendation to be updated.

*/ inline BotRecommendationSummary& WithBotRecommendationId(Aws::String&& value) { SetBotRecommendationId(std::move(value)); return *this;} /** *

The unique identifier of the bot recommendation to be updated.

*/ inline BotRecommendationSummary& WithBotRecommendationId(const char* value) { SetBotRecommendationId(value); return *this;} /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline BotRecommendationSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

A timestamp of the date and time that the bot recommendation was created.

*/ inline BotRecommendationSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline BotRecommendationSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

A timestamp of the date and time that the bot recommendation was last * updated.

*/ inline BotRecommendationSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: BotRecommendationStatus m_botRecommendationStatus; bool m_botRecommendationStatusHasBeenSet = false; Aws::String m_botRecommendationId; bool m_botRecommendationIdHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws