AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateAnnotationStoreResult.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 CreateAnnotationStoreResult() = 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
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 StoreFormat GetStoreFormat() const { return m_storeFormat; }
74 inline void SetStoreFormat(StoreFormat value) {
75 m_storeFormatHasBeenSet = true;
76 m_storeFormat = value;
77 }
79 SetStoreFormat(value);
80 return *this;
81 }
83
85
88 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
89 template <typename StoreOptionsT = StoreOptions>
90 void SetStoreOptions(StoreOptionsT&& value) {
91 m_storeOptionsHasBeenSet = true;
92 m_storeOptions = std::forward<StoreOptionsT>(value);
93 }
94 template <typename StoreOptionsT = StoreOptions>
96 SetStoreOptions(std::forward<StoreOptionsT>(value));
97 return *this;
98 }
100
102
105 inline StoreStatus GetStatus() const { return m_status; }
106 inline void SetStatus(StoreStatus value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 template <typename NameT = Aws::String>
122 void SetName(NameT&& value) {
123 m_nameHasBeenSet = true;
124 m_name = std::forward<NameT>(value);
125 }
126 template <typename NameT = Aws::String>
128 SetName(std::forward<NameT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetVersionName() const { return m_versionName; }
139 template <typename VersionNameT = Aws::String>
140 void SetVersionName(VersionNameT&& value) {
141 m_versionNameHasBeenSet = true;
142 m_versionName = std::forward<VersionNameT>(value);
143 }
144 template <typename VersionNameT = Aws::String>
146 SetVersionName(std::forward<VersionNameT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
156 template <typename CreationTimeT = Aws::Utils::DateTime>
157 void SetCreationTime(CreationTimeT&& value) {
158 m_creationTimeHasBeenSet = true;
159 m_creationTime = std::forward<CreationTimeT>(value);
160 }
161 template <typename CreationTimeT = Aws::Utils::DateTime>
163 SetCreationTime(std::forward<CreationTimeT>(value));
164 return *this;
165 }
167
169
170 inline const Aws::String& GetRequestId() const { return m_requestId; }
171 template <typename RequestIdT = Aws::String>
172 void SetRequestId(RequestIdT&& value) {
173 m_requestIdHasBeenSet = true;
174 m_requestId = std::forward<RequestIdT>(value);
175 }
176 template <typename RequestIdT = Aws::String>
178 SetRequestId(std::forward<RequestIdT>(value));
179 return *this;
180 }
182 private:
183 Aws::String m_id;
184
185 ReferenceItem m_reference;
186
187 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
188
189 StoreOptions m_storeOptions;
190
192
193 Aws::String m_name;
194
195 Aws::String m_versionName;
196
197 Aws::Utils::DateTime m_creationTime{};
198
199 Aws::String m_requestId;
200 bool m_idHasBeenSet = false;
201 bool m_referenceHasBeenSet = false;
202 bool m_storeFormatHasBeenSet = false;
203 bool m_storeOptionsHasBeenSet = false;
204 bool m_statusHasBeenSet = false;
205 bool m_nameHasBeenSet = false;
206 bool m_versionNameHasBeenSet = false;
207 bool m_creationTimeHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace Omics
213} // 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