/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace LexModelBuildingService { namespace Model { /** */ class GetUtterancesViewRequest : public LexModelBuildingServiceRequest { public: AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetUtterancesView"; } AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override; AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the bot for which utterance information should be returned.

*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *

The name of the bot for which utterance information should be returned.

*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *

The name of the bot for which utterance information should be returned.

*/ inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; } /** *

The name of the bot for which utterance information should be returned.

*/ inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); } /** *

The name of the bot for which utterance information should be returned.

*/ inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); } /** *

The name of the bot for which utterance information should be returned.

*/ inline GetUtterancesViewRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *

The name of the bot for which utterance information should be returned.

*/ inline GetUtterancesViewRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *

The name of the bot for which utterance information should be returned.

*/ inline GetUtterancesViewRequest& WithBotName(const char* value) { SetBotName(value); return *this;} /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline const Aws::Vector& GetBotVersions() const{ return m_botVersions; } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline bool BotVersionsHasBeenSet() const { return m_botVersionsHasBeenSet; } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline void SetBotVersions(const Aws::Vector& value) { m_botVersionsHasBeenSet = true; m_botVersions = value; } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline void SetBotVersions(Aws::Vector&& value) { m_botVersionsHasBeenSet = true; m_botVersions = std::move(value); } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline GetUtterancesViewRequest& WithBotVersions(const Aws::Vector& value) { SetBotVersions(value); return *this;} /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline GetUtterancesViewRequest& WithBotVersions(Aws::Vector&& value) { SetBotVersions(std::move(value)); return *this;} /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline GetUtterancesViewRequest& AddBotVersions(const Aws::String& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline GetUtterancesViewRequest& AddBotVersions(Aws::String&& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(std::move(value)); return *this; } /** *

An array of bot versions for which utterance information should be returned. * The limit is 5 versions per request.

*/ inline GetUtterancesViewRequest& AddBotVersions(const char* value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; } /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline const StatusType& GetStatusType() const{ return m_statusType; } /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; } /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline void SetStatusType(const StatusType& value) { m_statusTypeHasBeenSet = true; m_statusType = value; } /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline void SetStatusType(StatusType&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); } /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline GetUtterancesViewRequest& WithStatusType(const StatusType& value) { SetStatusType(value); return *this;} /** *

To return utterances that were recognized and handled, use * Detected. To return utterances that were not recognized, use * Missed.

*/ inline GetUtterancesViewRequest& WithStatusType(StatusType&& value) { SetStatusType(std::move(value)); return *this;} private: Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::Vector m_botVersions; bool m_botVersionsHasBeenSet = false; StatusType m_statusType; bool m_statusTypeHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws