AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuantumTaskSummary.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/braket/model/QuantumTaskStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Braket
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BRAKET_API QuantumTaskSummary();
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline QuantumTaskSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline QuantumTaskSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
60 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
61 inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
62 inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
63 inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
64 inline QuantumTaskSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
65 inline QuantumTaskSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
66 inline QuantumTaskSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
74 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
75 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
76 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
77 inline QuantumTaskSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
78 inline QuantumTaskSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetOutputS3Bucket() const{ return m_outputS3Bucket; }
86 inline bool OutputS3BucketHasBeenSet() const { return m_outputS3BucketHasBeenSet; }
87 inline void SetOutputS3Bucket(const Aws::String& value) { m_outputS3BucketHasBeenSet = true; m_outputS3Bucket = value; }
88 inline void SetOutputS3Bucket(Aws::String&& value) { m_outputS3BucketHasBeenSet = true; m_outputS3Bucket = std::move(value); }
89 inline void SetOutputS3Bucket(const char* value) { m_outputS3BucketHasBeenSet = true; m_outputS3Bucket.assign(value); }
90 inline QuantumTaskSummary& WithOutputS3Bucket(const Aws::String& value) { SetOutputS3Bucket(value); return *this;}
91 inline QuantumTaskSummary& WithOutputS3Bucket(Aws::String&& value) { SetOutputS3Bucket(std::move(value)); return *this;}
92 inline QuantumTaskSummary& WithOutputS3Bucket(const char* value) { SetOutputS3Bucket(value); return *this;}
94
96
99 inline const Aws::String& GetOutputS3Directory() const{ return m_outputS3Directory; }
100 inline bool OutputS3DirectoryHasBeenSet() const { return m_outputS3DirectoryHasBeenSet; }
101 inline void SetOutputS3Directory(const Aws::String& value) { m_outputS3DirectoryHasBeenSet = true; m_outputS3Directory = value; }
102 inline void SetOutputS3Directory(Aws::String&& value) { m_outputS3DirectoryHasBeenSet = true; m_outputS3Directory = std::move(value); }
103 inline void SetOutputS3Directory(const char* value) { m_outputS3DirectoryHasBeenSet = true; m_outputS3Directory.assign(value); }
104 inline QuantumTaskSummary& WithOutputS3Directory(const Aws::String& value) { SetOutputS3Directory(value); return *this;}
105 inline QuantumTaskSummary& WithOutputS3Directory(Aws::String&& value) { SetOutputS3Directory(std::move(value)); return *this;}
106 inline QuantumTaskSummary& WithOutputS3Directory(const char* value) { SetOutputS3Directory(value); return *this;}
108
110
113 inline const Aws::String& GetQuantumTaskArn() const{ return m_quantumTaskArn; }
114 inline bool QuantumTaskArnHasBeenSet() const { return m_quantumTaskArnHasBeenSet; }
115 inline void SetQuantumTaskArn(const Aws::String& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = value; }
116 inline void SetQuantumTaskArn(Aws::String&& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = std::move(value); }
117 inline void SetQuantumTaskArn(const char* value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn.assign(value); }
118 inline QuantumTaskSummary& WithQuantumTaskArn(const Aws::String& value) { SetQuantumTaskArn(value); return *this;}
119 inline QuantumTaskSummary& WithQuantumTaskArn(Aws::String&& value) { SetQuantumTaskArn(std::move(value)); return *this;}
120 inline QuantumTaskSummary& WithQuantumTaskArn(const char* value) { SetQuantumTaskArn(value); return *this;}
122
124
127 inline long long GetShots() const{ return m_shots; }
128 inline bool ShotsHasBeenSet() const { return m_shotsHasBeenSet; }
129 inline void SetShots(long long value) { m_shotsHasBeenSet = true; m_shots = value; }
130 inline QuantumTaskSummary& WithShots(long long value) { SetShots(value); return *this;}
132
134
137 inline const QuantumTaskStatus& GetStatus() const{ return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 inline void SetStatus(const QuantumTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 inline void SetStatus(QuantumTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 inline QuantumTaskSummary& WithStatus(const QuantumTaskStatus& value) { SetStatus(value); return *this;}
142 inline QuantumTaskSummary& WithStatus(QuantumTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
153 inline QuantumTaskSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
154 inline QuantumTaskSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
155 inline QuantumTaskSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
156 inline QuantumTaskSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
157 inline QuantumTaskSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
158 inline QuantumTaskSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
159 inline QuantumTaskSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
160 inline QuantumTaskSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
161 inline QuantumTaskSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
163 private:
164
165 Aws::Utils::DateTime m_createdAt;
166 bool m_createdAtHasBeenSet = false;
167
168 Aws::String m_deviceArn;
169 bool m_deviceArnHasBeenSet = false;
170
171 Aws::Utils::DateTime m_endedAt;
172 bool m_endedAtHasBeenSet = false;
173
174 Aws::String m_outputS3Bucket;
175 bool m_outputS3BucketHasBeenSet = false;
176
177 Aws::String m_outputS3Directory;
178 bool m_outputS3DirectoryHasBeenSet = false;
179
180 Aws::String m_quantumTaskArn;
181 bool m_quantumTaskArnHasBeenSet = false;
182
183 long long m_shots;
184 bool m_shotsHasBeenSet = false;
185
186 QuantumTaskStatus m_status;
187 bool m_statusHasBeenSet = false;
188
190 bool m_tagsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Braket
195} // namespace Aws
QuantumTaskSummary & AddTags(const Aws::String &key, Aws::String &&value)
QuantumTaskSummary & WithQuantumTaskArn(const Aws::String &value)
const Aws::String & GetOutputS3Bucket() const
QuantumTaskSummary & WithQuantumTaskArn(Aws::String &&value)
void SetStatus(const QuantumTaskStatus &value)
void SetOutputS3Directory(const Aws::String &value)
QuantumTaskSummary & AddTags(Aws::String &&key, const char *value)
void SetOutputS3Bucket(const Aws::String &value)
QuantumTaskSummary & WithShots(long long value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetQuantumTaskArn(const Aws::String &value)
const Aws::String & GetDeviceArn() const
void SetOutputS3Directory(Aws::String &&value)
void SetOutputS3Bucket(Aws::String &&value)
QuantumTaskSummary & WithOutputS3Bucket(const Aws::String &value)
void SetDeviceArn(const Aws::String &value)
AWS_BRAKET_API QuantumTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QuantumTaskSummary & WithDeviceArn(Aws::String &&value)
void SetStatus(QuantumTaskStatus &&value)
const QuantumTaskStatus & GetStatus() const
const Aws::Utils::DateTime & GetCreatedAt() const
QuantumTaskSummary & WithDeviceArn(const char *value)
QuantumTaskSummary & WithStatus(const QuantumTaskStatus &value)
QuantumTaskSummary & WithStatus(QuantumTaskStatus &&value)
QuantumTaskSummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
QuantumTaskSummary & WithOutputS3Directory(Aws::String &&value)
const Aws::Utils::DateTime & GetEndedAt() const
QuantumTaskSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
QuantumTaskSummary & AddTags(const char *key, Aws::String &&value)
void SetQuantumTaskArn(Aws::String &&value)
QuantumTaskSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetEndedAt(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
QuantumTaskSummary & AddTags(const char *key, const char *value)
QuantumTaskSummary & WithDeviceArn(const Aws::String &value)
QuantumTaskSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
QuantumTaskSummary & WithQuantumTaskArn(const char *value)
QuantumTaskSummary & WithOutputS3Bucket(const char *value)
QuantumTaskSummary & WithOutputS3Bucket(Aws::String &&value)
QuantumTaskSummary & AddTags(const Aws::String &key, const Aws::String &value)
QuantumTaskSummary & WithOutputS3Directory(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
QuantumTaskSummary & WithOutputS3Directory(const Aws::String &value)
QuantumTaskSummary & AddTags(Aws::String &&key, Aws::String &&value)
QuantumTaskSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetOutputS3Directory() const
const Aws::String & GetQuantumTaskArn() const
AWS_BRAKET_API QuantumTaskSummary(Aws::Utils::Json::JsonView jsonValue)
QuantumTaskSummary & WithEndedAt(Aws::Utils::DateTime &&value)
QuantumTaskSummary & WithEndedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(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
Aws::Utils::Json::JsonValue JsonValue