AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VariantStoreItem.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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_OMICS_API VariantStoreItem() = default;
41 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 VariantStoreItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const ReferenceItem& GetReference() const { return m_reference; }
61 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
62 template<typename ReferenceT = ReferenceItem>
63 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
64 template<typename ReferenceT = ReferenceItem>
65 VariantStoreItem& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
67
69
72 inline StoreStatus GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
75 inline VariantStoreItem& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
77
79
82 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
83 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
84 template<typename StoreArnT = Aws::String>
85 void SetStoreArn(StoreArnT&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::forward<StoreArnT>(value); }
86 template<typename StoreArnT = Aws::String>
87 VariantStoreItem& WithStoreArn(StoreArnT&& value) { SetStoreArn(std::forward<StoreArnT>(value)); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 VariantStoreItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 template<typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
110 template<typename DescriptionT = Aws::String>
111 VariantStoreItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
113
115
118 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
119 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
120 template<typename SseConfigT = SseConfig>
121 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
122 template<typename SseConfigT = SseConfig>
123 VariantStoreItem& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
131 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
132 template<typename CreationTimeT = Aws::Utils::DateTime>
133 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
134 template<typename CreationTimeT = Aws::Utils::DateTime>
135 VariantStoreItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
143 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
144 template<typename UpdateTimeT = Aws::Utils::DateTime>
145 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
146 template<typename UpdateTimeT = Aws::Utils::DateTime>
147 VariantStoreItem& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
149
151
154 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
155 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
156 template<typename StatusMessageT = Aws::String>
157 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
158 template<typename StatusMessageT = Aws::String>
159 VariantStoreItem& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
161
163
166 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
167 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
168 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
169 inline VariantStoreItem& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
171 private:
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 ReferenceItem m_reference;
177 bool m_referenceHasBeenSet = false;
178
180 bool m_statusHasBeenSet = false;
181
182 Aws::String m_storeArn;
183 bool m_storeArnHasBeenSet = false;
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
191 SseConfig m_sseConfig;
192 bool m_sseConfigHasBeenSet = false;
193
194 Aws::Utils::DateTime m_creationTime{};
195 bool m_creationTimeHasBeenSet = false;
196
197 Aws::Utils::DateTime m_updateTime{};
198 bool m_updateTimeHasBeenSet = false;
199
200 Aws::String m_statusMessage;
201 bool m_statusMessageHasBeenSet = false;
202
203 long long m_storeSizeBytes{0};
204 bool m_storeSizeBytesHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace Omics
209} // namespace Aws
AWS_OMICS_API VariantStoreItem(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithStatus(StoreStatus value)
VariantStoreItem & WithStatusMessage(StatusMessageT &&value)
void SetSseConfig(SseConfigT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetStoreArn() const
VariantStoreItem & WithId(IdT &&value)
void SetStoreArn(StoreArnT &&value)
const Aws::String & GetName() const
VariantStoreItem & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const SseConfig & GetSseConfig() const
void SetCreationTime(CreationTimeT &&value)
void SetStatusMessage(StatusMessageT &&value)
void SetDescription(DescriptionT &&value)
VariantStoreItem & WithName(NameT &&value)
VariantStoreItem & WithStoreArn(StoreArnT &&value)
const ReferenceItem & GetReference() const
AWS_OMICS_API VariantStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithCreationTime(CreationTimeT &&value)
void SetReference(ReferenceT &&value)
const Aws::String & GetStatusMessage() const
VariantStoreItem & WithReference(ReferenceT &&value)
VariantStoreItem & WithUpdateTime(UpdateTimeT &&value)
void SetUpdateTime(UpdateTimeT &&value)
VariantStoreItem & WithStoreSizeBytes(long long value)
AWS_OMICS_API VariantStoreItem()=default
VariantStoreItem & WithSseConfig(SseConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue