/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Polly { namespace Model { /** *

Describes the content of the lexicon.

See Also:

AWS * API Reference

*/ class LexiconDescription { public: AWS_POLLY_API LexiconDescription(); AWS_POLLY_API LexiconDescription(Aws::Utils::Json::JsonView jsonValue); AWS_POLLY_API LexiconDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Name of the lexicon.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name of the lexicon.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of the lexicon.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of the lexicon.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of the lexicon.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name of the lexicon.

*/ inline LexiconDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name of the lexicon.

*/ inline LexiconDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name of the lexicon.

*/ inline LexiconDescription& WithName(const char* value) { SetName(value); return *this;} /** *

Provides lexicon metadata.

*/ inline const LexiconAttributes& GetAttributes() const{ return m_attributes; } /** *

Provides lexicon metadata.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

Provides lexicon metadata.

*/ inline void SetAttributes(const LexiconAttributes& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

Provides lexicon metadata.

*/ inline void SetAttributes(LexiconAttributes&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

Provides lexicon metadata.

*/ inline LexiconDescription& WithAttributes(const LexiconAttributes& value) { SetAttributes(value); return *this;} /** *

Provides lexicon metadata.

*/ inline LexiconDescription& WithAttributes(LexiconAttributes&& value) { SetAttributes(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; LexiconAttributes m_attributes; bool m_attributesHasBeenSet = false; }; } // namespace Model } // namespace Polly } // namespace Aws