AWS SDK for C++

AWS SDK for C++ Version 1.11.742

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Braket {
22namespace Model {
23
31 public:
32 AWS_BRAKET_API DeviceQueueInfo() = default;
35 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline QueueName GetQueue() const { return m_queue; }
42 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
43 inline void SetQueue(QueueName value) {
44 m_queueHasBeenSet = true;
45 m_queue = value;
46 }
48 SetQueue(value);
49 return *this;
50 }
52
54
58 inline const Aws::String& GetQueueSize() const { return m_queueSize; }
59 inline bool QueueSizeHasBeenSet() const { return m_queueSizeHasBeenSet; }
60 template <typename QueueSizeT = Aws::String>
61 void SetQueueSize(QueueSizeT&& value) {
62 m_queueSizeHasBeenSet = true;
63 m_queueSize = std::forward<QueueSizeT>(value);
64 }
65 template <typename QueueSizeT = Aws::String>
66 DeviceQueueInfo& WithQueueSize(QueueSizeT&& value) {
67 SetQueueSize(std::forward<QueueSizeT>(value));
68 return *this;
69 }
71
73
77 inline QueuePriority GetQueuePriority() const { return m_queuePriority; }
78 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
79 inline void SetQueuePriority(QueuePriority value) {
80 m_queuePriorityHasBeenSet = true;
81 m_queuePriority = value;
82 }
84 SetQueuePriority(value);
85 return *this;
86 }
88 private:
90
91 Aws::String m_queueSize;
92
94 bool m_queueHasBeenSet = false;
95 bool m_queueSizeHasBeenSet = false;
96 bool m_queuePriorityHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Braket
101} // 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