AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetVariantStoreResult.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 <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Omics
29{
30namespace Model
31{
33 {
34 public:
35 AWS_OMICS_API GetVariantStoreResult() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 GetVariantStoreResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const ReferenceItem& GetReference() const { return m_reference; }
56 template<typename ReferenceT = ReferenceItem>
57 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
58 template<typename ReferenceT = ReferenceItem>
59 GetVariantStoreResult& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
61
63
66 inline StoreStatus GetStatus() const { return m_status; }
67 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
68 inline GetVariantStoreResult& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
70
72
75 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
76 template<typename StoreArnT = Aws::String>
77 void SetStoreArn(StoreArnT&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::forward<StoreArnT>(value); }
78 template<typename StoreArnT = Aws::String>
79 GetVariantStoreResult& WithStoreArn(StoreArnT&& value) { SetStoreArn(std::forward<StoreArnT>(value)); return *this;}
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 GetVariantStoreResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
97 inline const Aws::String& GetDescription() const { return m_description; }
98 template<typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
100 template<typename DescriptionT = Aws::String>
101 GetVariantStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
103
105
108 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
109 template<typename SseConfigT = SseConfig>
110 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
111 template<typename SseConfigT = SseConfig>
112 GetVariantStoreResult& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 GetVariantStoreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
131 template<typename UpdateTimeT = Aws::Utils::DateTime>
132 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
133 template<typename UpdateTimeT = Aws::Utils::DateTime>
134 GetVariantStoreResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
142 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 GetVariantStoreResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 GetVariantStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
149 }
151
153
156 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
157 template<typename StatusMessageT = Aws::String>
158 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
159 template<typename StatusMessageT = Aws::String>
160 GetVariantStoreResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
162
164
167 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
168 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
169 inline GetVariantStoreResult& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template<typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
177 template<typename RequestIdT = Aws::String>
178 GetVariantStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
180 private:
181
182 Aws::String m_id;
183 bool m_idHasBeenSet = false;
184
185 ReferenceItem m_reference;
186 bool m_referenceHasBeenSet = false;
187
189 bool m_statusHasBeenSet = false;
190
191 Aws::String m_storeArn;
192 bool m_storeArnHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 SseConfig m_sseConfig;
201 bool m_sseConfigHasBeenSet = false;
202
203 Aws::Utils::DateTime m_creationTime{};
204 bool m_creationTimeHasBeenSet = false;
205
206 Aws::Utils::DateTime m_updateTime{};
207 bool m_updateTimeHasBeenSet = false;
208
210 bool m_tagsHasBeenSet = false;
211
212 Aws::String m_statusMessage;
213 bool m_statusMessageHasBeenSet = false;
214
215 long long m_storeSizeBytes{0};
216 bool m_storeSizeBytesHasBeenSet = false;
217
218 Aws::String m_requestId;
219 bool m_requestIdHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace Omics
224} // namespace Aws
GetVariantStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API GetVariantStoreResult()=default
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
GetVariantStoreResult & WithTags(TagsT &&value)
GetVariantStoreResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetVariantStoreResult & WithName(NameT &&value)
GetVariantStoreResult & WithStoreSizeBytes(long long value)
GetVariantStoreResult & WithCreationTime(CreationTimeT &&value)
GetVariantStoreResult & WithId(IdT &&value)
GetVariantStoreResult & WithStatus(StoreStatus value)
GetVariantStoreResult & WithStatusMessage(StatusMessageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_OMICS_API GetVariantStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantStoreResult & WithUpdateTime(UpdateTimeT &&value)
GetVariantStoreResult & WithStoreArn(StoreArnT &&value)
GetVariantStoreResult & WithSseConfig(SseConfigT &&value)
AWS_OMICS_API GetVariantStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantStoreResult & WithRequestId(RequestIdT &&value)
GetVariantStoreResult & WithDescription(DescriptionT &&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