AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateAnnotationStoreResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/ReferenceItem.h>
12#include <aws/omics/model/StoreFormat.h>
13#include <aws/omics/model/StoreOptions.h>
14#include <aws/omics/model/StoreStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Omics {
28namespace Model {
30 public:
31 AWS_OMICS_API CreateAnnotationStoreResult() = default;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
57 inline const ReferenceItem& GetReference() const { return m_reference; }
58 template <typename ReferenceT = ReferenceItem>
59 void SetReference(ReferenceT&& value) {
60 m_referenceHasBeenSet = true;
61 m_reference = std::forward<ReferenceT>(value);
62 }
63 template <typename ReferenceT = ReferenceItem>
65 SetReference(std::forward<ReferenceT>(value));
66 return *this;
67 }
69
71
74 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
75 inline void SetStoreFormat(StoreFormat value) {
76 m_storeFormatHasBeenSet = true;
77 m_storeFormat = value;
78 }
80 SetStoreFormat(value);
81 return *this;
82 }
84
86
89 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
90 template <typename StoreOptionsT = StoreOptions>
91 void SetStoreOptions(StoreOptionsT&& value) {
92 m_storeOptionsHasBeenSet = true;
93 m_storeOptions = std::forward<StoreOptionsT>(value);
94 }
95 template <typename StoreOptionsT = StoreOptions>
97 SetStoreOptions(std::forward<StoreOptionsT>(value));
98 return *this;
99 }
101
103
106 inline StoreStatus GetStatus() const { return m_status; }
107 inline void SetStatus(StoreStatus value) {
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
121 inline const Aws::String& GetName() const { return m_name; }
122 template <typename NameT = Aws::String>
123 void SetName(NameT&& value) {
124 m_nameHasBeenSet = true;
125 m_name = std::forward<NameT>(value);
126 }
127 template <typename NameT = Aws::String>
129 SetName(std::forward<NameT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetVersionName() const { return m_versionName; }
140 template <typename VersionNameT = Aws::String>
141 void SetVersionName(VersionNameT&& value) {
142 m_versionNameHasBeenSet = true;
143 m_versionName = std::forward<VersionNameT>(value);
144 }
145 template <typename VersionNameT = Aws::String>
147 SetVersionName(std::forward<VersionNameT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
157 template <typename CreationTimeT = Aws::Utils::DateTime>
158 void SetCreationTime(CreationTimeT&& value) {
159 m_creationTimeHasBeenSet = true;
160 m_creationTime = std::forward<CreationTimeT>(value);
161 }
162 template <typename CreationTimeT = Aws::Utils::DateTime>
164 SetCreationTime(std::forward<CreationTimeT>(value));
165 return *this;
166 }
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template <typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) {
174 m_requestIdHasBeenSet = true;
175 m_requestId = std::forward<RequestIdT>(value);
176 }
177 template <typename RequestIdT = Aws::String>
179 SetRequestId(std::forward<RequestIdT>(value));
180 return *this;
181 }
183 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
184
185 private:
186 Aws::String m_id;
187
188 ReferenceItem m_reference;
189
190 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
191
192 StoreOptions m_storeOptions;
193
195
196 Aws::String m_name;
197
198 Aws::String m_versionName;
199
200 Aws::Utils::DateTime m_creationTime{};
201
202 Aws::String m_requestId;
203 Aws::Http::HttpResponseCode m_HttpResponseCode;
204 bool m_idHasBeenSet = false;
205 bool m_referenceHasBeenSet = false;
206 bool m_storeFormatHasBeenSet = false;
207 bool m_storeOptionsHasBeenSet = false;
208 bool m_statusHasBeenSet = false;
209 bool m_nameHasBeenSet = false;
210 bool m_versionNameHasBeenSet = false;
211 bool m_creationTimeHasBeenSet = false;
212 bool m_requestIdHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace Omics
217} // namespace Aws
CreateAnnotationStoreResult & WithName(NameT &&value)
CreateAnnotationStoreResult & WithStatus(StoreStatus value)
CreateAnnotationStoreResult & WithStoreFormat(StoreFormat value)
CreateAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
AWS_OMICS_API CreateAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAnnotationStoreResult & WithVersionName(VersionNameT &&value)
AWS_OMICS_API CreateAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API CreateAnnotationStoreResult()=default
CreateAnnotationStoreResult & WithId(IdT &&value)
CreateAnnotationStoreResult & WithReference(ReferenceT &&value)
CreateAnnotationStoreResult & WithRequestId(RequestIdT &&value)
CreateAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue