AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
HybridJobQueueInfo.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/QueueName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Braket {
21namespace Model {
22
30 public:
31 AWS_BRAKET_API HybridJobQueueInfo() = default;
34 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline QueueName GetQueue() const { return m_queue; }
41 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
42 inline void SetQueue(QueueName value) {
43 m_queueHasBeenSet = true;
44 m_queue = value;
45 }
47 SetQueue(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPosition() const { return m_position; }
57 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
58 template <typename PositionT = Aws::String>
59 void SetPosition(PositionT&& value) {
60 m_positionHasBeenSet = true;
61 m_position = std::forward<PositionT>(value);
62 }
63 template <typename PositionT = Aws::String>
64 HybridJobQueueInfo& WithPosition(PositionT&& value) {
65 SetPosition(std::forward<PositionT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetMessage() const { return m_message; }
77 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
78 template <typename MessageT = Aws::String>
79 void SetMessage(MessageT&& value) {
80 m_messageHasBeenSet = true;
81 m_message = std::forward<MessageT>(value);
82 }
83 template <typename MessageT = Aws::String>
84 HybridJobQueueInfo& WithMessage(MessageT&& value) {
85 SetMessage(std::forward<MessageT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::String m_position;
93
94 Aws::String m_message;
95 bool m_queueHasBeenSet = false;
96 bool m_positionHasBeenSet = false;
97 bool m_messageHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Braket
102} // namespace Aws
HybridJobQueueInfo & WithPosition(PositionT &&value)
AWS_BRAKET_API HybridJobQueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
HybridJobQueueInfo & WithMessage(MessageT &&value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
HybridJobQueueInfo & WithQueue(QueueName value)
AWS_BRAKET_API HybridJobQueueInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API HybridJobQueueInfo()=default
const Aws::String & GetPosition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue