/** * 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 { /** *

An object that represents a content of an Amazon Connect contact * object.

See Also:

AWS * API Reference

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

A list of channels to filter on for related items of type * Contact.

*/ inline const Aws::String& GetChannel() const{ return m_channel; } /** *

A list of channels to filter on for related items of type * Contact.

*/ inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } /** *

A list of channels to filter on for related items of type * Contact.

*/ inline void SetChannel(const Aws::String& value) { m_channelHasBeenSet = true; m_channel = value; } /** *

A list of channels to filter on for related items of type * Contact.

*/ inline void SetChannel(Aws::String&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } /** *

A list of channels to filter on for related items of type * Contact.

*/ inline void SetChannel(const char* value) { m_channelHasBeenSet = true; m_channel.assign(value); } /** *

A list of channels to filter on for related items of type * Contact.

*/ inline ContactContent& WithChannel(const Aws::String& value) { SetChannel(value); return *this;} /** *

A list of channels to filter on for related items of type * Contact.

*/ inline ContactContent& WithChannel(Aws::String&& value) { SetChannel(std::move(value)); return *this;} /** *

A list of channels to filter on for related items of type * Contact.

*/ inline ContactContent& WithChannel(const char* value) { SetChannel(value); return *this;} /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline const Aws::Utils::DateTime& GetConnectedToSystemTime() const{ return m_connectedToSystemTime; } /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline bool ConnectedToSystemTimeHasBeenSet() const { return m_connectedToSystemTimeHasBeenSet; } /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline void SetConnectedToSystemTime(const Aws::Utils::DateTime& value) { m_connectedToSystemTimeHasBeenSet = true; m_connectedToSystemTime = value; } /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline void SetConnectedToSystemTime(Aws::Utils::DateTime&& value) { m_connectedToSystemTimeHasBeenSet = true; m_connectedToSystemTime = std::move(value); } /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline ContactContent& WithConnectedToSystemTime(const Aws::Utils::DateTime& value) { SetConnectedToSystemTime(value); return *this;} /** *

The difference between the InitiationTimestamp and the * DisconnectTimestamp of the contact.

*/ inline ContactContent& WithConnectedToSystemTime(Aws::Utils::DateTime&& value) { SetConnectedToSystemTime(std::move(value)); return *this;} /** *

A unique identifier of a contact in Amazon Connect.

*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } /** *

A unique identifier of a contact in Amazon Connect.

*/ inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; } /** *

A unique identifier of a contact in Amazon Connect.

*/ inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; } /** *

A unique identifier of a contact in Amazon Connect.

*/ inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); } /** *

A unique identifier of a contact in Amazon Connect.

*/ inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); } /** *

A unique identifier of a contact in Amazon Connect.

*/ inline ContactContent& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;} /** *

A unique identifier of a contact in Amazon Connect.

*/ inline ContactContent& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;} /** *

A unique identifier of a contact in Amazon Connect.

*/ inline ContactContent& WithContactArn(const char* value) { SetContactArn(value); return *this;} private: Aws::String m_channel; bool m_channelHasBeenSet = false; Aws::Utils::DateTime m_connectedToSystemTime; bool m_connectedToSystemTimeHasBeenSet = false; Aws::String m_contactArn; bool m_contactArnHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws