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

Lexicon object that provides name and the string content of the lexicon.

*/ inline const Lexicon& GetLexicon() const{ return m_lexicon; } /** *

Lexicon object that provides name and the string content of the lexicon.

*/ inline void SetLexicon(const Lexicon& value) { m_lexicon = value; } /** *

Lexicon object that provides name and the string content of the lexicon.

*/ inline void SetLexicon(Lexicon&& value) { m_lexicon = std::move(value); } /** *

Lexicon object that provides name and the string content of the lexicon.

*/ inline GetLexiconResult& WithLexicon(const Lexicon& value) { SetLexicon(value); return *this;} /** *

Lexicon object that provides name and the string content of the lexicon.

*/ inline GetLexiconResult& WithLexicon(Lexicon&& value) { SetLexicon(std::move(value)); return *this;} /** *

Metadata of the lexicon, including phonetic alphabetic used, language code, * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in * bytes.

*/ inline const LexiconAttributes& GetLexiconAttributes() const{ return m_lexiconAttributes; } /** *

Metadata of the lexicon, including phonetic alphabetic used, language code, * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in * bytes.

*/ inline void SetLexiconAttributes(const LexiconAttributes& value) { m_lexiconAttributes = value; } /** *

Metadata of the lexicon, including phonetic alphabetic used, language code, * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in * bytes.

*/ inline void SetLexiconAttributes(LexiconAttributes&& value) { m_lexiconAttributes = std::move(value); } /** *

Metadata of the lexicon, including phonetic alphabetic used, language code, * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in * bytes.

*/ inline GetLexiconResult& WithLexiconAttributes(const LexiconAttributes& value) { SetLexiconAttributes(value); return *this;} /** *

Metadata of the lexicon, including phonetic alphabetic used, language code, * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in * bytes.

*/ inline GetLexiconResult& WithLexiconAttributes(LexiconAttributes&& value) { SetLexiconAttributes(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 GetLexiconResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLexiconResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLexiconResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Lexicon m_lexicon; LexiconAttributes m_lexiconAttributes; Aws::String m_requestId; }; } // namespace Model } // namespace Polly } // namespace Aws