/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If this contact was queued, this contains information about the queue.
* See Also:
AWS
* API Reference
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