/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the content of a related item to be created.See
* Also:
AWS
* API Reference
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 RelatedItemInputContent& WithComment(const CommentContent& value) { SetComment(value); return *this;} /** *Represents the content of a comment to be returned to agents.
*/ inline RelatedItemInputContent& WithComment(CommentContent&& value) { SetComment(std::move(value)); return *this;} /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline const Contact& GetContact() const{ return m_contact; } /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline bool ContactHasBeenSet() const { return m_contactHasBeenSet; } /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline void SetContact(const Contact& value) { m_contactHasBeenSet = true; m_contact = value; } /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline void SetContact(Contact&& value) { m_contactHasBeenSet = true; m_contact = std::move(value); } /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline RelatedItemInputContent& WithContact(const Contact& value) { SetContact(value); return *this;} /** *Object representing a contact in Amazon Connect as an API request field.
*/ inline RelatedItemInputContent& WithContact(Contact&& value) { SetContact(std::move(value)); return *this;} private: CommentContent m_comment; bool m_commentHasBeenSet = false; Contact m_contact; bool m_contactHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws