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

If this contact was queued, this contains information about the queue. *

See Also:

AWS * API Reference

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

The unique identifier for the queue.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the queue.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the queue.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the queue.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the queue.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the queue.

*/ inline QueueInfo& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the queue.

*/ inline QueueInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the queue.

*/ inline QueueInfo& WithId(const char* value) { SetId(value); return *this;} /** *

The timestamp when the contact was added to the queue.

*/ inline const Aws::Utils::DateTime& GetEnqueueTimestamp() const{ return m_enqueueTimestamp; } /** *

The timestamp when the contact was added to the queue.

*/ inline bool EnqueueTimestampHasBeenSet() const { return m_enqueueTimestampHasBeenSet; } /** *

The timestamp when the contact was added to the queue.

*/ inline void SetEnqueueTimestamp(const Aws::Utils::DateTime& value) { m_enqueueTimestampHasBeenSet = true; m_enqueueTimestamp = value; } /** *

The timestamp when the contact was added to the queue.

*/ inline void SetEnqueueTimestamp(Aws::Utils::DateTime&& value) { m_enqueueTimestampHasBeenSet = true; m_enqueueTimestamp = std::move(value); } /** *

The timestamp when the contact was added to the queue.

*/ inline QueueInfo& WithEnqueueTimestamp(const Aws::Utils::DateTime& value) { SetEnqueueTimestamp(value); return *this;} /** *

The timestamp when the contact was added to the queue.

*/ inline QueueInfo& WithEnqueueTimestamp(Aws::Utils::DateTime&& value) { SetEnqueueTimestamp(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_enqueueTimestamp; bool m_enqueueTimestampHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws