AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnnotationStoreItem.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/StoreFormat.h>
12#include <aws/omics/model/SseConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Omics
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_OMICS_API AnnotationStoreItem() = default;
42 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 AnnotationStoreItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
61 inline const ReferenceItem& GetReference() const { return m_reference; }
62 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
63 template<typename ReferenceT = ReferenceItem>
64 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
65 template<typename ReferenceT = ReferenceItem>
66 AnnotationStoreItem& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
68
70
73 inline StoreStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline AnnotationStoreItem& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
78
80
83 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
84 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
85 template<typename StoreArnT = Aws::String>
86 void SetStoreArn(StoreArnT&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::forward<StoreArnT>(value); }
87 template<typename StoreArnT = Aws::String>
88 AnnotationStoreItem& WithStoreArn(StoreArnT&& value) { SetStoreArn(std::forward<StoreArnT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 template<typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
99 template<typename NameT = Aws::String>
100 AnnotationStoreItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
107 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
108 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
109 inline void SetStoreFormat(StoreFormat value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
110 inline AnnotationStoreItem& WithStoreFormat(StoreFormat value) { SetStoreFormat(value); return *this;}
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 AnnotationStoreItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124
126
129 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
130 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
131 template<typename SseConfigT = SseConfig>
132 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
133 template<typename SseConfigT = SseConfig>
134 AnnotationStoreItem& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
142 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
143 template<typename CreationTimeT = Aws::Utils::DateTime>
144 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
145 template<typename CreationTimeT = Aws::Utils::DateTime>
146 AnnotationStoreItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
154 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
155 template<typename UpdateTimeT = Aws::Utils::DateTime>
156 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
157 template<typename UpdateTimeT = Aws::Utils::DateTime>
158 AnnotationStoreItem& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
160
162
165 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
166 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
167 template<typename StatusMessageT = Aws::String>
168 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
169 template<typename StatusMessageT = Aws::String>
170 AnnotationStoreItem& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
172
174
177 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
178 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
179 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
180 inline AnnotationStoreItem& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
182 private:
183
184 Aws::String m_id;
185 bool m_idHasBeenSet = false;
186
187 ReferenceItem m_reference;
188 bool m_referenceHasBeenSet = false;
189
191 bool m_statusHasBeenSet = false;
192
193 Aws::String m_storeArn;
194 bool m_storeArnHasBeenSet = false;
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198
199 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
200 bool m_storeFormatHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
205 SseConfig m_sseConfig;
206 bool m_sseConfigHasBeenSet = false;
207
208 Aws::Utils::DateTime m_creationTime{};
209 bool m_creationTimeHasBeenSet = false;
210
211 Aws::Utils::DateTime m_updateTime{};
212 bool m_updateTimeHasBeenSet = false;
213
214 Aws::String m_statusMessage;
215 bool m_statusMessageHasBeenSet = false;
216
217 long long m_storeSizeBytes{0};
218 bool m_storeSizeBytesHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace Omics
223} // namespace Aws
AWS_OMICS_API AnnotationStoreItem(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API AnnotationStoreItem()=default
AnnotationStoreItem & WithStoreSizeBytes(long long value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnnotationStoreItem & WithStatus(StoreStatus value)
const Aws::String & GetStatusMessage() const
AnnotationStoreItem & WithStoreFormat(StoreFormat value)
AnnotationStoreItem & WithId(IdT &&value)
AnnotationStoreItem & WithCreationTime(CreationTimeT &&value)
const ReferenceItem & GetReference() const
AnnotationStoreItem & WithName(NameT &&value)
AnnotationStoreItem & WithDescription(DescriptionT &&value)
AnnotationStoreItem & WithStoreArn(StoreArnT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetDescription() const
AnnotationStoreItem & WithUpdateTime(UpdateTimeT &&value)
AWS_OMICS_API AnnotationStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdateTime() const
AnnotationStoreItem & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetStoreArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetStatusMessage(StatusMessageT &&value)
AnnotationStoreItem & WithSseConfig(SseConfigT &&value)
AnnotationStoreItem & WithReference(ReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue