/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a default vocabulary.See Also:
* AWS
* API Reference
The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline DefaultVocabulary& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline DefaultVocabulary& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.
*/ inline DefaultVocabulary& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline const VocabularyLanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline void SetLanguageCode(const VocabularyLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline void SetLanguageCode(VocabularyLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline DefaultVocabulary& WithLanguageCode(const VocabularyLanguageCode& value) { SetLanguageCode(value); return *this;} /** *The language code of the vocabulary entries. For a list of languages and * their corresponding language codes, see What * is Amazon Transcribe?
*/ inline DefaultVocabulary& WithLanguageCode(VocabularyLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *The identifier of the custom vocabulary.
*/ inline const Aws::String& GetVocabularyId() const{ return m_vocabularyId; } /** *The identifier of the custom vocabulary.
*/ inline bool VocabularyIdHasBeenSet() const { return m_vocabularyIdHasBeenSet; } /** *The identifier of the custom vocabulary.
*/ inline void SetVocabularyId(const Aws::String& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = value; } /** *The identifier of the custom vocabulary.
*/ inline void SetVocabularyId(Aws::String&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::move(value); } /** *The identifier of the custom vocabulary.
*/ inline void SetVocabularyId(const char* value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId.assign(value); } /** *The identifier of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyId(const Aws::String& value) { SetVocabularyId(value); return *this;} /** *The identifier of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyId(Aws::String&& value) { SetVocabularyId(std::move(value)); return *this;} /** *The identifier of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyId(const char* value) { SetVocabularyId(value); return *this;} /** *A unique name of the custom vocabulary.
*/ inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; } /** *A unique name of the custom vocabulary.
*/ inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; } /** *A unique name of the custom vocabulary.
*/ inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; } /** *A unique name of the custom vocabulary.
*/ inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); } /** *A unique name of the custom vocabulary.
*/ inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); } /** *A unique name of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;} /** *A unique name of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;} /** *A unique name of the custom vocabulary.
*/ inline DefaultVocabulary& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; VocabularyLanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; Aws::String m_vocabularyId; bool m_vocabularyIdHasBeenSet = false; Aws::String m_vocabularyName; bool m_vocabularyNameHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws