/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the agent who accepted the contact.See
* Also:
AWS
* API Reference
The identifier of the agent who accepted the contact.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the agent who accepted the contact.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the agent who accepted the contact.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the agent who accepted the contact.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the agent who accepted the contact.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the agent who accepted the contact.
*/ inline AgentInfo& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the agent who accepted the contact.
*/ inline AgentInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the agent who accepted the contact.
*/ inline AgentInfo& WithId(const char* value) { SetId(value); return *this;} /** *The timestamp when the contact was connected to the agent.
*/ inline const Aws::Utils::DateTime& GetConnectedToAgentTimestamp() const{ return m_connectedToAgentTimestamp; } /** *The timestamp when the contact was connected to the agent.
*/ inline bool ConnectedToAgentTimestampHasBeenSet() const { return m_connectedToAgentTimestampHasBeenSet; } /** *The timestamp when the contact was connected to the agent.
*/ inline void SetConnectedToAgentTimestamp(const Aws::Utils::DateTime& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = value; } /** *The timestamp when the contact was connected to the agent.
*/ inline void SetConnectedToAgentTimestamp(Aws::Utils::DateTime&& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = std::move(value); } /** *The timestamp when the contact was connected to the agent.
*/ inline AgentInfo& WithConnectedToAgentTimestamp(const Aws::Utils::DateTime& value) { SetConnectedToAgentTimestamp(value); return *this;} /** *The timestamp when the contact was connected to the agent.
*/ inline AgentInfo& WithConnectedToAgentTimestamp(Aws::Utils::DateTime&& value) { SetConnectedToAgentTimestamp(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_connectedToAgentTimestamp; bool m_connectedToAgentTimestampHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws