AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAnnotationStoreVersionResult.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/VersionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/omics/model/VersionOptions.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Omics
28{
29namespace Model
30{
32 {
33 public:
34 AWS_OMICS_API GetAnnotationStoreVersionResult() = default;
37
38
40
43 inline const Aws::String& GetStoreId() const { return m_storeId; }
44 template<typename StoreIdT = Aws::String>
45 void SetStoreId(StoreIdT&& value) { m_storeIdHasBeenSet = true; m_storeId = std::forward<StoreIdT>(value); }
46 template<typename StoreIdT = Aws::String>
47 GetAnnotationStoreVersionResult& WithStoreId(StoreIdT&& value) { SetStoreId(std::forward<StoreIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 GetAnnotationStoreVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline VersionStatus GetStatus() const { return m_status; }
66 inline void SetStatus(VersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
67 inline GetAnnotationStoreVersionResult& WithStatus(VersionStatus value) { SetStatus(value); return *this;}
69
71
74 inline const Aws::String& GetVersionArn() const { return m_versionArn; }
75 template<typename VersionArnT = Aws::String>
76 void SetVersionArn(VersionArnT&& value) { m_versionArnHasBeenSet = true; m_versionArn = std::forward<VersionArnT>(value); }
77 template<typename VersionArnT = Aws::String>
78 GetAnnotationStoreVersionResult& WithVersionArn(VersionArnT&& value) { SetVersionArn(std::forward<VersionArnT>(value)); return *this;}
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 template<typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
88 template<typename NameT = Aws::String>
89 GetAnnotationStoreVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
91
93
97 inline const Aws::String& GetVersionName() const { return m_versionName; }
98 template<typename VersionNameT = Aws::String>
99 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
100 template<typename VersionNameT = Aws::String>
101 GetAnnotationStoreVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
103
105
108 inline const Aws::String& GetDescription() const { return m_description; }
109 template<typename DescriptionT = Aws::String>
110 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
111 template<typename DescriptionT = Aws::String>
112 GetAnnotationStoreVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(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 GetAnnotationStoreVersionResult& 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 GetAnnotationStoreVersionResult& 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 GetAnnotationStoreVersionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 GetAnnotationStoreVersionResult& 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 VersionOptions& GetVersionOptions() const { return m_versionOptions; }
157 template<typename VersionOptionsT = VersionOptions>
158 void SetVersionOptions(VersionOptionsT&& value) { m_versionOptionsHasBeenSet = true; m_versionOptions = std::forward<VersionOptionsT>(value); }
159 template<typename VersionOptionsT = VersionOptions>
160 GetAnnotationStoreVersionResult& WithVersionOptions(VersionOptionsT&& value) { SetVersionOptions(std::forward<VersionOptionsT>(value)); return *this;}
162
164
167 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
168 template<typename StatusMessageT = Aws::String>
169 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
170 template<typename StatusMessageT = Aws::String>
171 GetAnnotationStoreVersionResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
173
175
178 inline long long GetVersionSizeBytes() const { return m_versionSizeBytes; }
179 inline void SetVersionSizeBytes(long long value) { m_versionSizeBytesHasBeenSet = true; m_versionSizeBytes = value; }
180 inline GetAnnotationStoreVersionResult& WithVersionSizeBytes(long long value) { SetVersionSizeBytes(value); return *this;}
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template<typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
188 template<typename RequestIdT = Aws::String>
189 GetAnnotationStoreVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
191 private:
192
193 Aws::String m_storeId;
194 bool m_storeIdHasBeenSet = false;
195
196 Aws::String m_id;
197 bool m_idHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
202 Aws::String m_versionArn;
203 bool m_versionArnHasBeenSet = false;
204
205 Aws::String m_name;
206 bool m_nameHasBeenSet = false;
207
208 Aws::String m_versionName;
209 bool m_versionNameHasBeenSet = false;
210
211 Aws::String m_description;
212 bool m_descriptionHasBeenSet = false;
213
214 Aws::Utils::DateTime m_creationTime{};
215 bool m_creationTimeHasBeenSet = false;
216
217 Aws::Utils::DateTime m_updateTime{};
218 bool m_updateTimeHasBeenSet = false;
219
221 bool m_tagsHasBeenSet = false;
222
223 VersionOptions m_versionOptions;
224 bool m_versionOptionsHasBeenSet = false;
225
226 Aws::String m_statusMessage;
227 bool m_statusMessageHasBeenSet = false;
228
229 long long m_versionSizeBytes{0};
230 bool m_versionSizeBytesHasBeenSet = false;
231
232 Aws::String m_requestId;
233 bool m_requestIdHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace Omics
238} // namespace Aws
GetAnnotationStoreVersionResult & WithName(NameT &&value)
GetAnnotationStoreVersionResult & WithVersionArn(VersionArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAnnotationStoreVersionResult & WithRequestId(RequestIdT &&value)
GetAnnotationStoreVersionResult & WithVersionOptions(VersionOptionsT &&value)
AWS_OMICS_API GetAnnotationStoreVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreVersionResult & WithStoreId(StoreIdT &&value)
GetAnnotationStoreVersionResult & WithStatus(VersionStatus value)
AWS_OMICS_API GetAnnotationStoreVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreVersionResult & WithCreationTime(CreationTimeT &&value)
GetAnnotationStoreVersionResult & WithUpdateTime(UpdateTimeT &&value)
GetAnnotationStoreVersionResult & WithVersionSizeBytes(long long value)
GetAnnotationStoreVersionResult & WithVersionName(VersionNameT &&value)
GetAnnotationStoreVersionResult & WithTags(TagsT &&value)
GetAnnotationStoreVersionResult & WithStatusMessage(StatusMessageT &&value)
GetAnnotationStoreVersionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAnnotationStoreVersionResult & WithId(IdT &&value)
GetAnnotationStoreVersionResult & 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