/** * 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 ConnectCases { namespace Model { /** *

Represents the content of a particular type of related item.

See * Also:

AWS * API Reference

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

Represents the content of a comment to be returned to agents.

*/ inline const CommentContent& GetComment() const{ return m_comment; } /** *

Represents the content of a comment to be returned to agents.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

Represents the content of a comment to be returned to agents.

*/ inline void SetComment(const CommentContent& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

Represents the content of a comment to be returned to agents.

*/ inline void SetComment(CommentContent&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

Represents the content of a comment to be returned to agents.

*/ inline RelatedItemContent& WithComment(const CommentContent& value) { SetComment(value); return *this;} /** *

Represents the content of a comment to be returned to agents.

*/ inline RelatedItemContent& WithComment(CommentContent&& value) { SetComment(std::move(value)); return *this;} /** *

Represents the content of a contact to be returned to agents.

*/ inline const ContactContent& GetContact() const{ return m_contact; } /** *

Represents the content of a contact to be returned to agents.

*/ inline bool ContactHasBeenSet() const { return m_contactHasBeenSet; } /** *

Represents the content of a contact to be returned to agents.

*/ inline void SetContact(const ContactContent& value) { m_contactHasBeenSet = true; m_contact = value; } /** *

Represents the content of a contact to be returned to agents.

*/ inline void SetContact(ContactContent&& value) { m_contactHasBeenSet = true; m_contact = std::move(value); } /** *

Represents the content of a contact to be returned to agents.

*/ inline RelatedItemContent& WithContact(const ContactContent& value) { SetContact(value); return *this;} /** *

Represents the content of a contact to be returned to agents.

*/ inline RelatedItemContent& WithContact(ContactContent&& value) { SetContact(std::move(value)); return *this;} private: CommentContent m_comment; bool m_commentHasBeenSet = false; ContactContent m_contact; bool m_contactHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws