/** * 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 TranscribeService { namespace Model { /** */ class GetVocabularyRequest : public TranscribeServiceRequest { public: AWS_TRANSCRIBESERVICE_API GetVocabularyRequest(); // 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 "GetVocabulary"; } AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override; AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; } /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; } /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; } /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); } /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); } /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline GetVocabularyRequest& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;} /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline GetVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;} /** *

The name of the custom vocabulary you want information about. Custom * vocabulary names are case sensitive.

*/ inline GetVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;} private: Aws::String m_vocabularyName; bool m_vocabularyNameHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws