AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
51 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
53 inline HybridJobQueueInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
54 inline HybridJobQueueInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
55 inline HybridJobQueueInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
57
59
62 inline const Aws::String& GetPosition() const{ return m_position; }
63 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
64 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
65 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
66 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
67 inline HybridJobQueueInfo& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
68 inline HybridJobQueueInfo& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
69 inline HybridJobQueueInfo& WithPosition(const char* value) { SetPosition(value); return *this;}
71
73
76 inline const QueueName& GetQueue() const{ return m_queue; }
77 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
78 inline void SetQueue(const QueueName& value) { m_queueHasBeenSet = true; m_queue = value; }
79 inline void SetQueue(QueueName&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
80 inline HybridJobQueueInfo& WithQueue(const QueueName& value) { SetQueue(value); return *this;}
81 inline HybridJobQueueInfo& WithQueue(QueueName&& value) { SetQueue(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_message;
86 bool m_messageHasBeenSet = false;
87
88 Aws::String m_position;
89 bool m_positionHasBeenSet = false;
90
91 QueueName m_queue;
92 bool m_queueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Braket
97} // namespace Aws
void SetQueue(const QueueName &value)
HybridJobQueueInfo & WithQueue(QueueName &&value)
void SetPosition(const Aws::String &value)
HybridJobQueueInfo & WithPosition(const Aws::String &value)
HybridJobQueueInfo & WithMessage(Aws::String &&value)
HybridJobQueueInfo & WithMessage(const Aws::String &value)
HybridJobQueueInfo & WithPosition(const char *value)
AWS_BRAKET_API HybridJobQueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
HybridJobQueueInfo & WithQueue(const QueueName &value)
HybridJobQueueInfo & WithPosition(Aws::String &&value)
void SetMessage(const Aws::String &value)
HybridJobQueueInfo & WithMessage(const char *value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BRAKET_API HybridJobQueueInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPosition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue