AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAnnotationStoreResult.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/ReferenceItem.h>
10#include <aws/omics/model/StoreStatus.h>
11#include <aws/omics/model/SseConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/omics/model/StoreOptions.h>
15#include <aws/omics/model/StoreFormat.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Omics
31{
32namespace Model
33{
35 {
36 public:
37 AWS_OMICS_API GetAnnotationStoreResult();
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline void SetId(const Aws::String& value) { m_id = value; }
48 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
49 inline void SetId(const char* value) { m_id.assign(value); }
50 inline GetAnnotationStoreResult& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline GetAnnotationStoreResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline GetAnnotationStoreResult& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const ReferenceItem& GetReference() const{ return m_reference; }
60 inline void SetReference(const ReferenceItem& value) { m_reference = value; }
61 inline void SetReference(ReferenceItem&& value) { m_reference = std::move(value); }
62 inline GetAnnotationStoreResult& WithReference(const ReferenceItem& value) { SetReference(value); return *this;}
63 inline GetAnnotationStoreResult& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;}
65
67
70 inline const StoreStatus& GetStatus() const{ return m_status; }
71 inline void SetStatus(const StoreStatus& value) { m_status = value; }
72 inline void SetStatus(StoreStatus&& value) { m_status = std::move(value); }
73 inline GetAnnotationStoreResult& WithStatus(const StoreStatus& value) { SetStatus(value); return *this;}
74 inline GetAnnotationStoreResult& WithStatus(StoreStatus&& value) { SetStatus(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetStoreArn() const{ return m_storeArn; }
82 inline void SetStoreArn(const Aws::String& value) { m_storeArn = value; }
83 inline void SetStoreArn(Aws::String&& value) { m_storeArn = std::move(value); }
84 inline void SetStoreArn(const char* value) { m_storeArn.assign(value); }
85 inline GetAnnotationStoreResult& WithStoreArn(const Aws::String& value) { SetStoreArn(value); return *this;}
86 inline GetAnnotationStoreResult& WithStoreArn(Aws::String&& value) { SetStoreArn(std::move(value)); return *this;}
87 inline GetAnnotationStoreResult& WithStoreArn(const char* value) { SetStoreArn(value); return *this;}
89
91
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline void SetName(const Aws::String& value) { m_name = value; }
96 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
97 inline void SetName(const char* value) { m_name.assign(value); }
98 inline GetAnnotationStoreResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 inline GetAnnotationStoreResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 inline GetAnnotationStoreResult& WithName(const char* value) { SetName(value); return *this;}
102
104
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline void SetDescription(const Aws::String& value) { m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_description.assign(value); }
111 inline GetAnnotationStoreResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline GetAnnotationStoreResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline GetAnnotationStoreResult& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
121 inline void SetSseConfig(const SseConfig& value) { m_sseConfig = value; }
122 inline void SetSseConfig(SseConfig&& value) { m_sseConfig = std::move(value); }
123 inline GetAnnotationStoreResult& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
124 inline GetAnnotationStoreResult& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
132 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
133 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
135 inline GetAnnotationStoreResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
143 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
144 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
145 inline GetAnnotationStoreResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
146 inline GetAnnotationStoreResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
154 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
155 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
157 inline GetAnnotationStoreResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
158 inline GetAnnotationStoreResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
159 inline GetAnnotationStoreResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
160 inline GetAnnotationStoreResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
161 inline GetAnnotationStoreResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
162 inline GetAnnotationStoreResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
163 inline GetAnnotationStoreResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
164 inline GetAnnotationStoreResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
166
168
171 inline const StoreOptions& GetStoreOptions() const{ return m_storeOptions; }
172 inline void SetStoreOptions(const StoreOptions& value) { m_storeOptions = value; }
173 inline void SetStoreOptions(StoreOptions&& value) { m_storeOptions = std::move(value); }
174 inline GetAnnotationStoreResult& WithStoreOptions(const StoreOptions& value) { SetStoreOptions(value); return *this;}
175 inline GetAnnotationStoreResult& WithStoreOptions(StoreOptions&& value) { SetStoreOptions(std::move(value)); return *this;}
177
179
182 inline const StoreFormat& GetStoreFormat() const{ return m_storeFormat; }
183 inline void SetStoreFormat(const StoreFormat& value) { m_storeFormat = value; }
184 inline void SetStoreFormat(StoreFormat&& value) { m_storeFormat = std::move(value); }
185 inline GetAnnotationStoreResult& WithStoreFormat(const StoreFormat& value) { SetStoreFormat(value); return *this;}
186 inline GetAnnotationStoreResult& WithStoreFormat(StoreFormat&& value) { SetStoreFormat(std::move(value)); return *this;}
188
190
193 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
194 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
195 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
196 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
197 inline GetAnnotationStoreResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
198 inline GetAnnotationStoreResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
199 inline GetAnnotationStoreResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
201
203
206 inline long long GetStoreSizeBytes() const{ return m_storeSizeBytes; }
207 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytes = value; }
208 inline GetAnnotationStoreResult& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
210
212
215 inline int GetNumVersions() const{ return m_numVersions; }
216 inline void SetNumVersions(int value) { m_numVersions = value; }
217 inline GetAnnotationStoreResult& WithNumVersions(int value) { SetNumVersions(value); return *this;}
219
221
222 inline const Aws::String& GetRequestId() const{ return m_requestId; }
223 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
224 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
225 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
226 inline GetAnnotationStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
227 inline GetAnnotationStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
228 inline GetAnnotationStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
230 private:
231
232 Aws::String m_id;
233
234 ReferenceItem m_reference;
235
236 StoreStatus m_status;
237
238 Aws::String m_storeArn;
239
240 Aws::String m_name;
241
242 Aws::String m_description;
243
244 SseConfig m_sseConfig;
245
246 Aws::Utils::DateTime m_creationTime;
247
248 Aws::Utils::DateTime m_updateTime;
249
251
252 StoreOptions m_storeOptions;
253
254 StoreFormat m_storeFormat;
255
256 Aws::String m_statusMessage;
257
258 long long m_storeSizeBytes;
259
260 int m_numVersions;
261
262 Aws::String m_requestId;
263 };
264
265} // namespace Model
266} // namespace Omics
267} // namespace Aws
GetAnnotationStoreResult & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetAnnotationStoreResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_OMICS_API GetAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreResult & WithStoreOptions(const StoreOptions &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
GetAnnotationStoreResult & WithStoreArn(Aws::String &&value)
GetAnnotationStoreResult & WithId(const char *value)
GetAnnotationStoreResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetAnnotationStoreResult & WithSseConfig(SseConfig &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
GetAnnotationStoreResult & WithSseConfig(const SseConfig &value)
GetAnnotationStoreResult & WithId(const Aws::String &value)
GetAnnotationStoreResult & WithStatusMessage(const Aws::String &value)
GetAnnotationStoreResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAnnotationStoreResult & WithStoreFormat(const StoreFormat &value)
GetAnnotationStoreResult & WithStoreOptions(StoreOptions &&value)
GetAnnotationStoreResult & WithReference(ReferenceItem &&value)
GetAnnotationStoreResult & WithStoreArn(const Aws::String &value)
GetAnnotationStoreResult & WithStoreSizeBytes(long long value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAnnotationStoreResult & WithRequestId(Aws::String &&value)
GetAnnotationStoreResult & WithStatus(StoreStatus &&value)
GetAnnotationStoreResult & WithDescription(Aws::String &&value)
GetAnnotationStoreResult & WithNumVersions(int value)
GetAnnotationStoreResult & WithReference(const ReferenceItem &value)
GetAnnotationStoreResult & WithName(Aws::String &&value)
GetAnnotationStoreResult & WithDescription(const char *value)
GetAnnotationStoreResult & WithName(const char *value)
GetAnnotationStoreResult & WithStoreFormat(StoreFormat &&value)
GetAnnotationStoreResult & WithStatusMessage(const char *value)
GetAnnotationStoreResult & WithStatus(const StoreStatus &value)
GetAnnotationStoreResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetAnnotationStoreResult & WithDescription(const Aws::String &value)
GetAnnotationStoreResult & AddTags(const char *key, const char *value)
GetAnnotationStoreResult & WithRequestId(const Aws::String &value)
AWS_OMICS_API GetAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreResult & AddTags(const char *key, Aws::String &&value)
GetAnnotationStoreResult & WithName(const Aws::String &value)
GetAnnotationStoreResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetAnnotationStoreResult & AddTags(const Aws::String &key, const Aws::String &value)
GetAnnotationStoreResult & WithStoreArn(const char *value)
GetAnnotationStoreResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetAnnotationStoreResult & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAnnotationStoreResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAnnotationStoreResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
GetAnnotationStoreResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetAnnotationStoreResult & WithStatusMessage(Aws::String &&value)
GetAnnotationStoreResult & WithId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&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