/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace LexModelsV2 { namespace Model { /** */ class DeleteUtterancesRequest : public LexModelsV2Request { public: AWS_LEXMODELSV2_API DeleteUtterancesRequest(); // 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 "DeleteUtterances"; } AWS_LEXMODELSV2_API Aws::String SerializePayload() const override; AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique identifier of the bot that contains the utterances.

*/ inline const Aws::String& GetBotId() const{ return m_botId; } /** *

The unique identifier of the bot that contains the utterances.

*/ inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; } /** *

The unique identifier of the bot that contains the utterances.

*/ inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; } /** *

The unique identifier of the bot that contains the utterances.

*/ inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); } /** *

The unique identifier of the bot that contains the utterances.

*/ inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); } /** *

The unique identifier of the bot that contains the utterances.

*/ inline DeleteUtterancesRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The unique identifier of the bot that contains the utterances.

*/ inline DeleteUtterancesRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} /** *

The unique identifier of the bot that contains the utterances.

*/ inline DeleteUtterancesRequest& WithBotId(const char* value) { SetBotId(value); return *this;} /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; } /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; } /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); } /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); } /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline DeleteUtterancesRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;} /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline DeleteUtterancesRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;} /** *

The identifier of the language and locale where the utterances were * collected. The string must match one of the supported locales. For more * information, see Supported * languages.

*/ inline DeleteUtterancesRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline DeleteUtterancesRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline DeleteUtterancesRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *

The unique identifier of the session with the user. The ID is returned in the * response from the RecognizeText * and RecognizeUtterance * operations.

*/ inline DeleteUtterancesRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} private: Aws::String m_botId; bool m_botIdHasBeenSet = false; Aws::String m_localeId; bool m_localeIdHasBeenSet = false; Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws