AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQuantumTaskResult.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/braket/model/QuantumTaskQueueInfo.h>
12#include <aws/braket/model/QuantumTaskStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/braket/model/Association.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Braket
30{
31namespace Model
32{
34 {
35 public:
36 AWS_BRAKET_API GetQuantumTaskResult();
39
40
42
45 inline const Aws::Vector<Association>& GetAssociations() const{ return m_associations; }
46 inline void SetAssociations(const Aws::Vector<Association>& value) { m_associations = value; }
47 inline void SetAssociations(Aws::Vector<Association>&& value) { m_associations = std::move(value); }
49 inline GetQuantumTaskResult& WithAssociations(Aws::Vector<Association>&& value) { SetAssociations(std::move(value)); return *this;}
50 inline GetQuantumTaskResult& AddAssociations(const Association& value) { m_associations.push_back(value); return *this; }
51 inline GetQuantumTaskResult& AddAssociations(Association&& value) { m_associations.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
59 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
60 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
61 inline GetQuantumTaskResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
62 inline GetQuantumTaskResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
70 inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; }
71 inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); }
72 inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); }
73 inline GetQuantumTaskResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
74 inline GetQuantumTaskResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
75 inline GetQuantumTaskResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
77
79
82 inline const Aws::String& GetDeviceParameters() const{ return m_deviceParameters; }
83 inline void SetDeviceParameters(const Aws::String& value) { m_deviceParameters = value; }
84 inline void SetDeviceParameters(Aws::String&& value) { m_deviceParameters = std::move(value); }
85 inline void SetDeviceParameters(const char* value) { m_deviceParameters.assign(value); }
86 inline GetQuantumTaskResult& WithDeviceParameters(const Aws::String& value) { SetDeviceParameters(value); return *this;}
87 inline GetQuantumTaskResult& WithDeviceParameters(Aws::String&& value) { SetDeviceParameters(std::move(value)); return *this;}
88 inline GetQuantumTaskResult& WithDeviceParameters(const char* value) { SetDeviceParameters(value); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
96 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; }
97 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); }
98 inline GetQuantumTaskResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
99 inline GetQuantumTaskResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
107 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
108 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
109 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
110 inline GetQuantumTaskResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
111 inline GetQuantumTaskResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
112 inline GetQuantumTaskResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
114
116
119 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
120 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
121 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
122 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
123 inline GetQuantumTaskResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
124 inline GetQuantumTaskResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
125 inline GetQuantumTaskResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
127
129
132 inline const Aws::String& GetOutputS3Bucket() const{ return m_outputS3Bucket; }
133 inline void SetOutputS3Bucket(const Aws::String& value) { m_outputS3Bucket = value; }
134 inline void SetOutputS3Bucket(Aws::String&& value) { m_outputS3Bucket = std::move(value); }
135 inline void SetOutputS3Bucket(const char* value) { m_outputS3Bucket.assign(value); }
136 inline GetQuantumTaskResult& WithOutputS3Bucket(const Aws::String& value) { SetOutputS3Bucket(value); return *this;}
137 inline GetQuantumTaskResult& WithOutputS3Bucket(Aws::String&& value) { SetOutputS3Bucket(std::move(value)); return *this;}
138 inline GetQuantumTaskResult& WithOutputS3Bucket(const char* value) { SetOutputS3Bucket(value); return *this;}
140
142
145 inline const Aws::String& GetOutputS3Directory() const{ return m_outputS3Directory; }
146 inline void SetOutputS3Directory(const Aws::String& value) { m_outputS3Directory = value; }
147 inline void SetOutputS3Directory(Aws::String&& value) { m_outputS3Directory = std::move(value); }
148 inline void SetOutputS3Directory(const char* value) { m_outputS3Directory.assign(value); }
149 inline GetQuantumTaskResult& WithOutputS3Directory(const Aws::String& value) { SetOutputS3Directory(value); return *this;}
150 inline GetQuantumTaskResult& WithOutputS3Directory(Aws::String&& value) { SetOutputS3Directory(std::move(value)); return *this;}
151 inline GetQuantumTaskResult& WithOutputS3Directory(const char* value) { SetOutputS3Directory(value); return *this;}
153
155
158 inline const Aws::String& GetQuantumTaskArn() const{ return m_quantumTaskArn; }
159 inline void SetQuantumTaskArn(const Aws::String& value) { m_quantumTaskArn = value; }
160 inline void SetQuantumTaskArn(Aws::String&& value) { m_quantumTaskArn = std::move(value); }
161 inline void SetQuantumTaskArn(const char* value) { m_quantumTaskArn.assign(value); }
162 inline GetQuantumTaskResult& WithQuantumTaskArn(const Aws::String& value) { SetQuantumTaskArn(value); return *this;}
163 inline GetQuantumTaskResult& WithQuantumTaskArn(Aws::String&& value) { SetQuantumTaskArn(std::move(value)); return *this;}
164 inline GetQuantumTaskResult& WithQuantumTaskArn(const char* value) { SetQuantumTaskArn(value); return *this;}
166
168
174 inline const QuantumTaskQueueInfo& GetQueueInfo() const{ return m_queueInfo; }
175 inline void SetQueueInfo(const QuantumTaskQueueInfo& value) { m_queueInfo = value; }
176 inline void SetQueueInfo(QuantumTaskQueueInfo&& value) { m_queueInfo = std::move(value); }
177 inline GetQuantumTaskResult& WithQueueInfo(const QuantumTaskQueueInfo& value) { SetQueueInfo(value); return *this;}
178 inline GetQuantumTaskResult& WithQueueInfo(QuantumTaskQueueInfo&& value) { SetQueueInfo(std::move(value)); return *this;}
180
182
185 inline long long GetShots() const{ return m_shots; }
186 inline void SetShots(long long value) { m_shots = value; }
187 inline GetQuantumTaskResult& WithShots(long long value) { SetShots(value); return *this;}
189
191
194 inline const QuantumTaskStatus& GetStatus() const{ return m_status; }
195 inline void SetStatus(const QuantumTaskStatus& value) { m_status = value; }
196 inline void SetStatus(QuantumTaskStatus&& value) { m_status = std::move(value); }
197 inline GetQuantumTaskResult& WithStatus(const QuantumTaskStatus& value) { SetStatus(value); return *this;}
198 inline GetQuantumTaskResult& WithStatus(QuantumTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
200
202
205 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
206 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
207 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
208 inline GetQuantumTaskResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
209 inline GetQuantumTaskResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
210 inline GetQuantumTaskResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
211 inline GetQuantumTaskResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
212 inline GetQuantumTaskResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
213 inline GetQuantumTaskResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
214 inline GetQuantumTaskResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
215 inline GetQuantumTaskResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
216 inline GetQuantumTaskResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
218
220
221 inline const Aws::String& GetRequestId() const{ return m_requestId; }
222 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
223 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
224 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
225 inline GetQuantumTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
226 inline GetQuantumTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
227 inline GetQuantumTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
229 private:
230
231 Aws::Vector<Association> m_associations;
232
233 Aws::Utils::DateTime m_createdAt;
234
235 Aws::String m_deviceArn;
236
237 Aws::String m_deviceParameters;
238
239 Aws::Utils::DateTime m_endedAt;
240
241 Aws::String m_failureReason;
242
243 Aws::String m_jobArn;
244
245 Aws::String m_outputS3Bucket;
246
247 Aws::String m_outputS3Directory;
248
249 Aws::String m_quantumTaskArn;
250
251 QuantumTaskQueueInfo m_queueInfo;
252
253 long long m_shots;
254
255 QuantumTaskStatus m_status;
256
258
259 Aws::String m_requestId;
260 };
261
262} // namespace Model
263} // namespace Braket
264} // namespace Aws
GetQuantumTaskResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetDeviceParameters() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetQuantumTaskResult & WithOutputS3Bucket(const Aws::String &value)
GetQuantumTaskResult & WithEndedAt(Aws::Utils::DateTime &&value)
GetQuantumTaskResult & WithQueueInfo(QuantumTaskQueueInfo &&value)
GetQuantumTaskResult & WithJobArn(Aws::String &&value)
GetQuantumTaskResult & WithDeviceArn(const Aws::String &value)
GetQuantumTaskResult & WithAssociations(const Aws::Vector< Association > &value)
void SetQueueInfo(const QuantumTaskQueueInfo &value)
void SetAssociations(const Aws::Vector< Association > &value)
GetQuantumTaskResult & AddTags(Aws::String &&key, const Aws::String &value)
const QuantumTaskStatus & GetStatus() const
GetQuantumTaskResult & WithDeviceParameters(const char *value)
void SetOutputS3Bucket(const Aws::String &value)
void SetQueueInfo(QuantumTaskQueueInfo &&value)
GetQuantumTaskResult & WithDeviceArn(const char *value)
AWS_BRAKET_API GetQuantumTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOutputS3Directory(const Aws::String &value)
GetQuantumTaskResult & WithShots(long long value)
void SetAssociations(Aws::Vector< Association > &&value)
GetQuantumTaskResult & WithAssociations(Aws::Vector< Association > &&value)
GetQuantumTaskResult & WithDeviceArn(Aws::String &&value)
const Aws::Utils::DateTime & GetEndedAt() const
GetQuantumTaskResult & AddAssociations(Association &&value)
GetQuantumTaskResult & AddAssociations(const Association &value)
GetQuantumTaskResult & WithFailureReason(Aws::String &&value)
GetQuantumTaskResult & WithOutputS3Directory(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_BRAKET_API GetQuantumTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailureReason(const Aws::String &value)
GetQuantumTaskResult & WithStatus(QuantumTaskStatus &&value)
GetQuantumTaskResult & WithFailureReason(const char *value)
GetQuantumTaskResult & WithQueueInfo(const QuantumTaskQueueInfo &value)
GetQuantumTaskResult & WithFailureReason(const Aws::String &value)
const Aws::Vector< Association > & GetAssociations() const
GetQuantumTaskResult & AddTags(Aws::String &&key, const char *value)
GetQuantumTaskResult & WithStatus(const QuantumTaskStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetQuantumTaskResult & AddTags(const char *key, const char *value)
GetQuantumTaskResult & WithQuantumTaskArn(const char *value)
GetQuantumTaskResult & AddTags(const Aws::String &key, const Aws::String &value)
GetQuantumTaskResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetQuantumTaskResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetQuantumTaskResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetQuantumTaskResult & WithJobArn(const char *value)
GetQuantumTaskResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetQuantumTaskResult & AddTags(const char *key, Aws::String &&value)
void SetEndedAt(const Aws::Utils::DateTime &value)
GetQuantumTaskResult & WithOutputS3Directory(const Aws::String &value)
void SetEndedAt(Aws::Utils::DateTime &&value)
GetQuantumTaskResult & WithOutputS3Bucket(const char *value)
GetQuantumTaskResult & WithJobArn(const Aws::String &value)
GetQuantumTaskResult & WithDeviceParameters(Aws::String &&value)
void SetDeviceArn(const Aws::String &value)
void SetStatus(QuantumTaskStatus &&value)
GetQuantumTaskResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetOutputS3Directory() const
void SetDeviceParameters(const Aws::String &value)
void SetQuantumTaskArn(const Aws::String &value)
GetQuantumTaskResult & WithOutputS3Bucket(Aws::String &&value)
GetQuantumTaskResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetQuantumTaskResult & WithQuantumTaskArn(Aws::String &&value)
GetQuantumTaskResult & WithDeviceParameters(const Aws::String &value)
GetQuantumTaskResult & WithRequestId(Aws::String &&value)
const QuantumTaskQueueInfo & GetQueueInfo() const
GetQuantumTaskResult & WithQuantumTaskArn(const Aws::String &value)
void SetStatus(const QuantumTaskStatus &value)
GetQuantumTaskResult & WithOutputS3Directory(const char *value)
GetQuantumTaskResult & WithRequestId(const Aws::String &value)
GetQuantumTaskResult & WithEndedAt(const Aws::Utils::DateTime &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue