AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateAnnotationStoreResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ReferenceItem.h>
11#include <aws/omics/model/StoreFormat.h>
12#include <aws/omics/model/StoreOptions.h>
13#include <aws/omics/model/StoreStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Omics {
27namespace Model {
29 public:
30 AWS_OMICS_API UpdateAnnotationStoreResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const ReferenceItem& GetReference() const { return m_reference; }
56 template <typename ReferenceT = ReferenceItem>
57 void SetReference(ReferenceT&& value) {
58 m_referenceHasBeenSet = true;
59 m_reference = std::forward<ReferenceT>(value);
60 }
61 template <typename ReferenceT = ReferenceItem>
63 SetReference(std::forward<ReferenceT>(value));
64 return *this;
65 }
67
69
72 inline StoreStatus GetStatus() const { return m_status; }
73 inline void SetStatus(StoreStatus value) {
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 template <typename NameT = Aws::String>
89 void SetName(NameT&& value) {
90 m_nameHasBeenSet = true;
91 m_name = std::forward<NameT>(value);
92 }
93 template <typename NameT = Aws::String>
95 SetName(std::forward<NameT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
122 template <typename CreationTimeT = Aws::Utils::DateTime>
123 void SetCreationTime(CreationTimeT&& value) {
124 m_creationTimeHasBeenSet = true;
125 m_creationTime = std::forward<CreationTimeT>(value);
126 }
127 template <typename CreationTimeT = Aws::Utils::DateTime>
129 SetCreationTime(std::forward<CreationTimeT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
139 template <typename UpdateTimeT = Aws::Utils::DateTime>
140 void SetUpdateTime(UpdateTimeT&& value) {
141 m_updateTimeHasBeenSet = true;
142 m_updateTime = std::forward<UpdateTimeT>(value);
143 }
144 template <typename UpdateTimeT = Aws::Utils::DateTime>
146 SetUpdateTime(std::forward<UpdateTimeT>(value));
147 return *this;
148 }
150
152
155 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
156 template <typename StoreOptionsT = StoreOptions>
157 void SetStoreOptions(StoreOptionsT&& value) {
158 m_storeOptionsHasBeenSet = true;
159 m_storeOptions = std::forward<StoreOptionsT>(value);
160 }
161 template <typename StoreOptionsT = StoreOptions>
163 SetStoreOptions(std::forward<StoreOptionsT>(value));
164 return *this;
165 }
167
169
172 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
173 inline void SetStoreFormat(StoreFormat value) {
174 m_storeFormatHasBeenSet = true;
175 m_storeFormat = value;
176 }
178 SetStoreFormat(value);
179 return *this;
180 }
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template <typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) {
188 m_requestIdHasBeenSet = true;
189 m_requestId = std::forward<RequestIdT>(value);
190 }
191 template <typename RequestIdT = Aws::String>
193 SetRequestId(std::forward<RequestIdT>(value));
194 return *this;
195 }
197 private:
198 Aws::String m_id;
199
200 ReferenceItem m_reference;
201
203
204 Aws::String m_name;
205
206 Aws::String m_description;
207
208 Aws::Utils::DateTime m_creationTime{};
209
210 Aws::Utils::DateTime m_updateTime{};
211
212 StoreOptions m_storeOptions;
213
214 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
215
216 Aws::String m_requestId;
217 bool m_idHasBeenSet = false;
218 bool m_referenceHasBeenSet = false;
219 bool m_statusHasBeenSet = false;
220 bool m_nameHasBeenSet = false;
221 bool m_descriptionHasBeenSet = false;
222 bool m_creationTimeHasBeenSet = false;
223 bool m_updateTimeHasBeenSet = false;
224 bool m_storeOptionsHasBeenSet = false;
225 bool m_storeFormatHasBeenSet = false;
226 bool m_requestIdHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace Omics
231} // 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