AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 GetAnnotationStoreResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const ReferenceItem& GetReference() const { return m_reference; }
58 template<typename ReferenceT = ReferenceItem>
59 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
60 template<typename ReferenceT = ReferenceItem>
61 GetAnnotationStoreResult& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
63
65
68 inline StoreStatus GetStatus() const { return m_status; }
69 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
70 inline GetAnnotationStoreResult& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
72
74
77 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
78 template<typename StoreArnT = Aws::String>
79 void SetStoreArn(StoreArnT&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::forward<StoreArnT>(value); }
80 template<typename StoreArnT = Aws::String>
81 GetAnnotationStoreResult& WithStoreArn(StoreArnT&& value) { SetStoreArn(std::forward<StoreArnT>(value)); return *this;}
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 template<typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
91 template<typename NameT = Aws::String>
92 GetAnnotationStoreResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 GetAnnotationStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
110 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
111 template<typename SseConfigT = SseConfig>
112 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
113 template<typename SseConfigT = SseConfig>
114 GetAnnotationStoreResult& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
124 template<typename CreationTimeT = Aws::Utils::DateTime>
125 GetAnnotationStoreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
133 template<typename UpdateTimeT = Aws::Utils::DateTime>
134 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
135 template<typename UpdateTimeT = Aws::Utils::DateTime>
136 GetAnnotationStoreResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
138
140
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
146 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 GetAnnotationStoreResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
148 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
149 GetAnnotationStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
150 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
151 }
153
155
158 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
159 template<typename StoreOptionsT = StoreOptions>
160 void SetStoreOptions(StoreOptionsT&& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = std::forward<StoreOptionsT>(value); }
161 template<typename StoreOptionsT = StoreOptions>
162 GetAnnotationStoreResult& WithStoreOptions(StoreOptionsT&& value) { SetStoreOptions(std::forward<StoreOptionsT>(value)); return *this;}
164
166
169 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
170 inline void SetStoreFormat(StoreFormat value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
173
175
178 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
179 template<typename StatusMessageT = Aws::String>
180 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
181 template<typename StatusMessageT = Aws::String>
182 GetAnnotationStoreResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
184
186
189 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
190 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
191 inline GetAnnotationStoreResult& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
193
195
198 inline int GetNumVersions() const { return m_numVersions; }
199 inline void SetNumVersions(int value) { m_numVersionsHasBeenSet = true; m_numVersions = value; }
200 inline GetAnnotationStoreResult& WithNumVersions(int value) { SetNumVersions(value); return *this;}
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template<typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
208 template<typename RequestIdT = Aws::String>
209 GetAnnotationStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
211 private:
212
213 Aws::String m_id;
214 bool m_idHasBeenSet = false;
215
216 ReferenceItem m_reference;
217 bool m_referenceHasBeenSet = false;
218
220 bool m_statusHasBeenSet = false;
221
222 Aws::String m_storeArn;
223 bool m_storeArnHasBeenSet = false;
224
225 Aws::String m_name;
226 bool m_nameHasBeenSet = false;
227
228 Aws::String m_description;
229 bool m_descriptionHasBeenSet = false;
230
231 SseConfig m_sseConfig;
232 bool m_sseConfigHasBeenSet = false;
233
234 Aws::Utils::DateTime m_creationTime{};
235 bool m_creationTimeHasBeenSet = false;
236
237 Aws::Utils::DateTime m_updateTime{};
238 bool m_updateTimeHasBeenSet = false;
239
241 bool m_tagsHasBeenSet = false;
242
243 StoreOptions m_storeOptions;
244 bool m_storeOptionsHasBeenSet = false;
245
246 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
247 bool m_storeFormatHasBeenSet = false;
248
249 Aws::String m_statusMessage;
250 bool m_statusMessageHasBeenSet = false;
251
252 long long m_storeSizeBytes{0};
253 bool m_storeSizeBytesHasBeenSet = false;
254
255 int m_numVersions{0};
256 bool m_numVersionsHasBeenSet = false;
257
258 Aws::String m_requestId;
259 bool m_requestIdHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace Omics
264} // namespace Aws
GetAnnotationStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API GetAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
GetAnnotationStoreResult & WithStoreSizeBytes(long long value)
GetAnnotationStoreResult & WithSseConfig(SseConfigT &&value)
GetAnnotationStoreResult & WithStoreArn(StoreArnT &&value)
GetAnnotationStoreResult & WithStatusMessage(StatusMessageT &&value)
GetAnnotationStoreResult & WithTags(TagsT &&value)
GetAnnotationStoreResult & WithNumVersions(int value)
GetAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
GetAnnotationStoreResult & WithStatus(StoreStatus value)
GetAnnotationStoreResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAnnotationStoreResult & WithDescription(DescriptionT &&value)
GetAnnotationStoreResult & WithName(NameT &&value)
AWS_OMICS_API GetAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API GetAnnotationStoreResult()=default
GetAnnotationStoreResult & WithId(IdT &&value)
GetAnnotationStoreResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAnnotationStoreResult & WithStoreFormat(StoreFormat value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
GetAnnotationStoreResult & WithUpdateTime(UpdateTimeT &&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