/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class CreateVocabularyResult { public: AWS_CONNECT_API CreateVocabularyResult(); AWS_CONNECT_API CreateVocabularyResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API CreateVocabularyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline const Aws::String& GetVocabularyArn() const{ return m_vocabularyArn; } /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline void SetVocabularyArn(const Aws::String& value) { m_vocabularyArn = value; } /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline void SetVocabularyArn(Aws::String&& value) { m_vocabularyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline void SetVocabularyArn(const char* value) { m_vocabularyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyArn(const Aws::String& value) { SetVocabularyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyArn(Aws::String&& value) { SetVocabularyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyArn(const char* value) { SetVocabularyArn(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 void SetVocabularyId(const Aws::String& value) { m_vocabularyId = value; } /** *

The identifier of the custom vocabulary.

*/ inline void SetVocabularyId(Aws::String&& value) { m_vocabularyId = std::move(value); } /** *

The identifier of the custom vocabulary.

*/ inline void SetVocabularyId(const char* value) { m_vocabularyId.assign(value); } /** *

The identifier of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyId(const Aws::String& value) { SetVocabularyId(value); return *this;} /** *

The identifier of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyId(Aws::String&& value) { SetVocabularyId(std::move(value)); return *this;} /** *

The identifier of the custom vocabulary.

*/ inline CreateVocabularyResult& WithVocabularyId(const char* value) { SetVocabularyId(value); return *this;} /** *

The current state of the custom vocabulary.

*/ inline const VocabularyState& GetState() const{ return m_state; } /** *

The current state of the custom vocabulary.

*/ inline void SetState(const VocabularyState& value) { m_state = value; } /** *

The current state of the custom vocabulary.

*/ inline void SetState(VocabularyState&& value) { m_state = std::move(value); } /** *

The current state of the custom vocabulary.

*/ inline CreateVocabularyResult& WithState(const VocabularyState& value) { SetState(value); return *this;} /** *

The current state of the custom vocabulary.

*/ inline CreateVocabularyResult& WithState(VocabularyState&& value) { SetState(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_vocabularyArn; Aws::String m_vocabularyId; VocabularyState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws