/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Keyspaces { namespace Model { /** *

An optional comment that describes the table.

See Also:

AWS * API Reference

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

An optional description of the table.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

An optional description of the table.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

An optional description of the table.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

An optional description of the table.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

An optional description of the table.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

An optional description of the table.

*/ inline Comment& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

An optional description of the table.

*/ inline Comment& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

An optional description of the table.

*/ inline Comment& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws