AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeviceQueueInfo.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/QueueName.h>
9#include <aws/braket/model/QueuePriority.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Braket
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BRAKET_API DeviceQueueInfo() = default;
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline QueueName GetQueue() const { return m_queue; }
48 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
49 inline void SetQueue(QueueName value) { m_queueHasBeenSet = true; m_queue = value; }
50 inline DeviceQueueInfo& WithQueue(QueueName value) { SetQueue(value); return *this;}
52
54
58 inline QueuePriority GetQueuePriority() const { return m_queuePriority; }
59 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
60 inline void SetQueuePriority(QueuePriority value) { m_queuePriorityHasBeenSet = true; m_queuePriority = value; }
61 inline DeviceQueueInfo& WithQueuePriority(QueuePriority value) { SetQueuePriority(value); return *this;}
63
65
68 inline const Aws::String& GetQueueSize() const { return m_queueSize; }
69 inline bool QueueSizeHasBeenSet() const { return m_queueSizeHasBeenSet; }
70 template<typename QueueSizeT = Aws::String>
71 void SetQueueSize(QueueSizeT&& value) { m_queueSizeHasBeenSet = true; m_queueSize = std::forward<QueueSizeT>(value); }
72 template<typename QueueSizeT = Aws::String>
73 DeviceQueueInfo& WithQueueSize(QueueSizeT&& value) { SetQueueSize(std::forward<QueueSizeT>(value)); return *this;}
75 private:
76
78 bool m_queueHasBeenSet = false;
79
81 bool m_queuePriorityHasBeenSet = false;
82
83 Aws::String m_queueSize;
84 bool m_queueSizeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Braket
89} // namespace Aws
const Aws::String & GetQueueSize() const
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
QueuePriority GetQueuePriority() const
DeviceQueueInfo & WithQueue(QueueName value)
void SetQueuePriority(QueuePriority value)
AWS_BRAKET_API DeviceQueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceQueueInfo & WithQueuePriority(QueuePriority value)
AWS_BRAKET_API DeviceQueueInfo()=default
DeviceQueueInfo & WithQueueSize(QueueSizeT &&value)
AWS_BRAKET_API DeviceQueueInfo(Aws::Utils::Json::JsonView jsonValue)
void SetQueueSize(QueueSizeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue