AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuantumTaskQueueInfo.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/braket/model/QueueName.h>
10#include <aws/braket/model/QueuePriority.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 QuantumTaskQueueInfo();
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetMessage() const{ return m_message; }
50 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
51 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
52 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
53 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54 inline QuantumTaskQueueInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
55 inline QuantumTaskQueueInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
56 inline QuantumTaskQueueInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
58
60
63 inline const Aws::String& GetPosition() const{ return m_position; }
64 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
65 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
66 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
67 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
68 inline QuantumTaskQueueInfo& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
69 inline QuantumTaskQueueInfo& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
70 inline QuantumTaskQueueInfo& WithPosition(const char* value) { SetPosition(value); return *this;}
72
74
77 inline const QueueName& GetQueue() const{ return m_queue; }
78 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
79 inline void SetQueue(const QueueName& value) { m_queueHasBeenSet = true; m_queue = value; }
80 inline void SetQueue(QueueName&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
81 inline QuantumTaskQueueInfo& WithQueue(const QueueName& value) { SetQueue(value); return *this;}
82 inline QuantumTaskQueueInfo& WithQueue(QueueName&& value) { SetQueue(std::move(value)); return *this;}
84
86
90 inline const QueuePriority& GetQueuePriority() const{ return m_queuePriority; }
91 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
92 inline void SetQueuePriority(const QueuePriority& value) { m_queuePriorityHasBeenSet = true; m_queuePriority = value; }
93 inline void SetQueuePriority(QueuePriority&& value) { m_queuePriorityHasBeenSet = true; m_queuePriority = std::move(value); }
94 inline QuantumTaskQueueInfo& WithQueuePriority(const QueuePriority& value) { SetQueuePriority(value); return *this;}
95 inline QuantumTaskQueueInfo& WithQueuePriority(QueuePriority&& value) { SetQueuePriority(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_message;
100 bool m_messageHasBeenSet = false;
101
102 Aws::String m_position;
103 bool m_positionHasBeenSet = false;
104
105 QueueName m_queue;
106 bool m_queueHasBeenSet = false;
107
108 QueuePriority m_queuePriority;
109 bool m_queuePriorityHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Braket
114} // namespace Aws
QuantumTaskQueueInfo & WithQueuePriority(const QueuePriority &value)
QuantumTaskQueueInfo & WithPosition(const Aws::String &value)
QuantumTaskQueueInfo & WithPosition(const char *value)
QuantumTaskQueueInfo & WithPosition(Aws::String &&value)
const QueuePriority & GetQueuePriority() const
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BRAKET_API QuantumTaskQueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueuePriority(const QueuePriority &value)
void SetMessage(const Aws::String &value)
void SetPosition(const Aws::String &value)
QuantumTaskQueueInfo & WithMessage(Aws::String &&value)
QuantumTaskQueueInfo & WithMessage(const char *value)
QuantumTaskQueueInfo & WithQueue(QueueName &&value)
QuantumTaskQueueInfo & WithMessage(const Aws::String &value)
QuantumTaskQueueInfo & WithQueue(const QueueName &value)
QuantumTaskQueueInfo & WithQueuePriority(QueuePriority &&value)
AWS_BRAKET_API QuantumTaskQueueInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue