AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const QueueName& GetQueue() const{ return m_queue; }
48 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
49 inline void SetQueue(const QueueName& value) { m_queueHasBeenSet = true; m_queue = value; }
50 inline void SetQueue(QueueName&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
51 inline DeviceQueueInfo& WithQueue(const QueueName& value) { SetQueue(value); return *this;}
52 inline DeviceQueueInfo& WithQueue(QueueName&& value) { SetQueue(std::move(value)); return *this;}
54
56
60 inline const QueuePriority& GetQueuePriority() const{ return m_queuePriority; }
61 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
62 inline void SetQueuePriority(const QueuePriority& value) { m_queuePriorityHasBeenSet = true; m_queuePriority = value; }
63 inline void SetQueuePriority(QueuePriority&& value) { m_queuePriorityHasBeenSet = true; m_queuePriority = std::move(value); }
64 inline DeviceQueueInfo& WithQueuePriority(const QueuePriority& value) { SetQueuePriority(value); return *this;}
65 inline DeviceQueueInfo& WithQueuePriority(QueuePriority&& value) { SetQueuePriority(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetQueueSize() const{ return m_queueSize; }
73 inline bool QueueSizeHasBeenSet() const { return m_queueSizeHasBeenSet; }
74 inline void SetQueueSize(const Aws::String& value) { m_queueSizeHasBeenSet = true; m_queueSize = value; }
75 inline void SetQueueSize(Aws::String&& value) { m_queueSizeHasBeenSet = true; m_queueSize = std::move(value); }
76 inline void SetQueueSize(const char* value) { m_queueSizeHasBeenSet = true; m_queueSize.assign(value); }
77 inline DeviceQueueInfo& WithQueueSize(const Aws::String& value) { SetQueueSize(value); return *this;}
78 inline DeviceQueueInfo& WithQueueSize(Aws::String&& value) { SetQueueSize(std::move(value)); return *this;}
79 inline DeviceQueueInfo& WithQueueSize(const char* value) { SetQueueSize(value); return *this;}
81 private:
82
83 QueueName m_queue;
84 bool m_queueHasBeenSet = false;
85
86 QueuePriority m_queuePriority;
87 bool m_queuePriorityHasBeenSet = false;
88
89 Aws::String m_queueSize;
90 bool m_queueSizeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Braket
95} // namespace Aws
DeviceQueueInfo & WithQueue(QueueName &&value)
const Aws::String & GetQueueSize() const
const QueuePriority & GetQueuePriority() const
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueue(const QueueName &value)
AWS_BRAKET_API DeviceQueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceQueueInfo & WithQueuePriority(const QueuePriority &value)
void SetQueuePriority(const QueuePriority &value)
DeviceQueueInfo & WithQueueSize(const Aws::String &value)
const QueueName & GetQueue() const
DeviceQueueInfo & WithQueueSize(const char *value)
void SetQueuePriority(QueuePriority &&value)
DeviceQueueInfo & WithQueueSize(Aws::String &&value)
DeviceQueueInfo & WithQueue(const QueueName &value)
DeviceQueueInfo & WithQueuePriority(QueuePriority &&value)
void SetQueueSize(const char *value)
AWS_BRAKET_API DeviceQueueInfo(Aws::Utils::Json::JsonView jsonValue)
void SetQueueSize(const Aws::String &value)
void SetQueueSize(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue