AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HybridJobQueueInfo.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Braket
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BRAKET_API HybridJobQueueInfo() = default;
39 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetMessage() const { return m_message; }
49 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
50 template<typename MessageT = Aws::String>
51 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
52 template<typename MessageT = Aws::String>
53 HybridJobQueueInfo& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPosition() const { return m_position; }
61 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
62 template<typename PositionT = Aws::String>
63 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
64 template<typename PositionT = Aws::String>
65 HybridJobQueueInfo& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
67
69
72 inline QueueName GetQueue() const { return m_queue; }
73 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
74 inline void SetQueue(QueueName value) { m_queueHasBeenSet = true; m_queue = value; }
75 inline HybridJobQueueInfo& WithQueue(QueueName value) { SetQueue(value); return *this;}
77 private:
78
79 Aws::String m_message;
80 bool m_messageHasBeenSet = false;
81
82 Aws::String m_position;
83 bool m_positionHasBeenSet = false;
84
86 bool m_queueHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Braket
91} // 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