AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateAnnotationStoreResult.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 UpdateAnnotationStoreResult() = 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
56 inline const ReferenceItem& GetReference() const { return m_reference; }
57 template <typename ReferenceT = ReferenceItem>
58 void SetReference(ReferenceT&& value) {
59 m_referenceHasBeenSet = true;
60 m_reference = std::forward<ReferenceT>(value);
61 }
62 template <typename ReferenceT = ReferenceItem>
64 SetReference(std::forward<ReferenceT>(value));
65 return *this;
66 }
68
70
73 inline StoreStatus GetStatus() const { return m_status; }
74 inline void SetStatus(StoreStatus value) {
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 template <typename NameT = Aws::String>
90 void SetName(NameT&& value) {
91 m_nameHasBeenSet = true;
92 m_name = std::forward<NameT>(value);
93 }
94 template <typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
123 template <typename CreationTimeT = Aws::Utils::DateTime>
124 void SetCreationTime(CreationTimeT&& value) {
125 m_creationTimeHasBeenSet = true;
126 m_creationTime = std::forward<CreationTimeT>(value);
127 }
128 template <typename CreationTimeT = Aws::Utils::DateTime>
130 SetCreationTime(std::forward<CreationTimeT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
140 template <typename UpdateTimeT = Aws::Utils::DateTime>
141 void SetUpdateTime(UpdateTimeT&& value) {
142 m_updateTimeHasBeenSet = true;
143 m_updateTime = std::forward<UpdateTimeT>(value);
144 }
145 template <typename UpdateTimeT = Aws::Utils::DateTime>
147 SetUpdateTime(std::forward<UpdateTimeT>(value));
148 return *this;
149 }
151
153
156 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
157 template <typename StoreOptionsT = StoreOptions>
158 void SetStoreOptions(StoreOptionsT&& value) {
159 m_storeOptionsHasBeenSet = true;
160 m_storeOptions = std::forward<StoreOptionsT>(value);
161 }
162 template <typename StoreOptionsT = StoreOptions>
164 SetStoreOptions(std::forward<StoreOptionsT>(value));
165 return *this;
166 }
168
170
173 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
174 inline void SetStoreFormat(StoreFormat value) {
175 m_storeFormatHasBeenSet = true;
176 m_storeFormat = value;
177 }
179 SetStoreFormat(value);
180 return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template <typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) {
189 m_requestIdHasBeenSet = true;
190 m_requestId = std::forward<RequestIdT>(value);
191 }
192 template <typename RequestIdT = Aws::String>
194 SetRequestId(std::forward<RequestIdT>(value));
195 return *this;
196 }
198 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
199
200 private:
201 Aws::String m_id;
202
203 ReferenceItem m_reference;
204
206
207 Aws::String m_name;
208
209 Aws::String m_description;
210
211 Aws::Utils::DateTime m_creationTime{};
212
213 Aws::Utils::DateTime m_updateTime{};
214
215 StoreOptions m_storeOptions;
216
217 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
218
219 Aws::String m_requestId;
220 Aws::Http::HttpResponseCode m_HttpResponseCode;
221 bool m_idHasBeenSet = false;
222 bool m_referenceHasBeenSet = false;
223 bool m_statusHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_descriptionHasBeenSet = false;
226 bool m_creationTimeHasBeenSet = false;
227 bool m_updateTimeHasBeenSet = false;
228 bool m_storeOptionsHasBeenSet = false;
229 bool m_storeFormatHasBeenSet = false;
230 bool m_requestIdHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace Omics
235} // namespace Aws
UpdateAnnotationStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API UpdateAnnotationStoreResult()=default
AWS_OMICS_API UpdateAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnnotationStoreResult & WithId(IdT &&value)
UpdateAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
UpdateAnnotationStoreResult & WithStoreFormat(StoreFormat value)
UpdateAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
UpdateAnnotationStoreResult & WithUpdateTime(UpdateTimeT &&value)
UpdateAnnotationStoreResult & WithName(NameT &&value)
UpdateAnnotationStoreResult & WithRequestId(RequestIdT &&value)
AWS_OMICS_API UpdateAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnnotationStoreResult & WithStatus(StoreStatus value)
UpdateAnnotationStoreResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue