/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Neptune { namespace Model { /** *

Specifies a character set.

See Also:

AWS * API Reference

*/ class CharacterSet { public: AWS_NEPTUNE_API CharacterSet(); AWS_NEPTUNE_API CharacterSet(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API CharacterSet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The name of the character set.

*/ inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; } /** *

The name of the character set.

*/ inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; } /** *

The name of the character set.

*/ inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; } /** *

The name of the character set.

*/ inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); } /** *

The name of the character set.

*/ inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); } /** *

The name of the character set.

*/ inline CharacterSet& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;} /** *

The name of the character set.

*/ inline CharacterSet& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;} /** *

The name of the character set.

*/ inline CharacterSet& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;} /** *

The description of the character set.

*/ inline const Aws::String& GetCharacterSetDescription() const{ return m_characterSetDescription; } /** *

The description of the character set.

*/ inline bool CharacterSetDescriptionHasBeenSet() const { return m_characterSetDescriptionHasBeenSet; } /** *

The description of the character set.

*/ inline void SetCharacterSetDescription(const Aws::String& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = value; } /** *

The description of the character set.

*/ inline void SetCharacterSetDescription(Aws::String&& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = std::move(value); } /** *

The description of the character set.

*/ inline void SetCharacterSetDescription(const char* value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription.assign(value); } /** *

The description of the character set.

*/ inline CharacterSet& WithCharacterSetDescription(const Aws::String& value) { SetCharacterSetDescription(value); return *this;} /** *

The description of the character set.

*/ inline CharacterSet& WithCharacterSetDescription(Aws::String&& value) { SetCharacterSetDescription(std::move(value)); return *this;} /** *

The description of the character set.

*/ inline CharacterSet& WithCharacterSetDescription(const char* value) { SetCharacterSetDescription(value); return *this;} private: Aws::String m_characterSetName; bool m_characterSetNameHasBeenSet = false; Aws::String m_characterSetDescription; bool m_characterSetDescriptionHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws