AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReferenceMetadataResult.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/ReferenceStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/omics/model/ReferenceFiles.h>
12#include <aws/omics/model/ReferenceCreationType.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:
37
38
40
43 inline const Aws::String& GetId() const{ return m_id; }
44 inline void SetId(const Aws::String& value) { m_id = value; }
45 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
46 inline void SetId(const char* value) { m_id.assign(value); }
47 inline GetReferenceMetadataResult& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline GetReferenceMetadataResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline GetReferenceMetadataResult& WithId(const char* value) { SetId(value); return *this;}
51
53
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline void SetArn(const Aws::String& value) { m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arn.assign(value); }
60 inline GetReferenceMetadataResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline GetReferenceMetadataResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline GetReferenceMetadataResult& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; }
70 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreId = value; }
71 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreId = std::move(value); }
72 inline void SetReferenceStoreId(const char* value) { m_referenceStoreId.assign(value); }
74 inline GetReferenceMetadataResult& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
75 inline GetReferenceMetadataResult& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
77
79
82 inline const Aws::String& GetMd5() const{ return m_md5; }
83 inline void SetMd5(const Aws::String& value) { m_md5 = value; }
84 inline void SetMd5(Aws::String&& value) { m_md5 = std::move(value); }
85 inline void SetMd5(const char* value) { m_md5.assign(value); }
86 inline GetReferenceMetadataResult& WithMd5(const Aws::String& value) { SetMd5(value); return *this;}
87 inline GetReferenceMetadataResult& WithMd5(Aws::String&& value) { SetMd5(std::move(value)); return *this;}
88 inline GetReferenceMetadataResult& WithMd5(const char* value) { SetMd5(value); return *this;}
90
92
95 inline const ReferenceStatus& GetStatus() const{ return m_status; }
96 inline void SetStatus(const ReferenceStatus& value) { m_status = value; }
97 inline void SetStatus(ReferenceStatus&& value) { m_status = std::move(value); }
98 inline GetReferenceMetadataResult& WithStatus(const ReferenceStatus& value) { SetStatus(value); return *this;}
99 inline GetReferenceMetadataResult& WithStatus(ReferenceStatus&& value) { SetStatus(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetName() const{ return m_name; }
107 inline void SetName(const Aws::String& value) { m_name = value; }
108 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
109 inline void SetName(const char* value) { m_name.assign(value); }
110 inline GetReferenceMetadataResult& WithName(const Aws::String& value) { SetName(value); return *this;}
111 inline GetReferenceMetadataResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 inline GetReferenceMetadataResult& WithName(const char* value) { SetName(value); return *this;}
114
116
119 inline const Aws::String& GetDescription() const{ return m_description; }
120 inline void SetDescription(const Aws::String& value) { m_description = value; }
121 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
122 inline void SetDescription(const char* value) { m_description.assign(value); }
123 inline GetReferenceMetadataResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
124 inline GetReferenceMetadataResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
125 inline GetReferenceMetadataResult& WithDescription(const char* value) { SetDescription(value); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
133 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
134 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
136 inline GetReferenceMetadataResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
144 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
145 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
147 inline GetReferenceMetadataResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
149
151
154 inline const ReferenceFiles& GetFiles() const{ return m_files; }
155 inline void SetFiles(const ReferenceFiles& value) { m_files = value; }
156 inline void SetFiles(ReferenceFiles&& value) { m_files = std::move(value); }
157 inline GetReferenceMetadataResult& WithFiles(const ReferenceFiles& value) { SetFiles(value); return *this;}
158 inline GetReferenceMetadataResult& WithFiles(ReferenceFiles&& value) { SetFiles(std::move(value)); return *this;}
160
162
165 inline const ReferenceCreationType& GetCreationType() const{ return m_creationType; }
166 inline void SetCreationType(const ReferenceCreationType& value) { m_creationType = value; }
167 inline void SetCreationType(ReferenceCreationType&& value) { m_creationType = std::move(value); }
169 inline GetReferenceMetadataResult& WithCreationType(ReferenceCreationType&& value) { SetCreationType(std::move(value)); return *this;}
171
173
176 inline const Aws::String& GetCreationJobId() const{ return m_creationJobId; }
177 inline void SetCreationJobId(const Aws::String& value) { m_creationJobId = value; }
178 inline void SetCreationJobId(Aws::String&& value) { m_creationJobId = std::move(value); }
179 inline void SetCreationJobId(const char* value) { m_creationJobId.assign(value); }
180 inline GetReferenceMetadataResult& WithCreationJobId(const Aws::String& value) { SetCreationJobId(value); return *this;}
181 inline GetReferenceMetadataResult& WithCreationJobId(Aws::String&& value) { SetCreationJobId(std::move(value)); return *this;}
182 inline GetReferenceMetadataResult& WithCreationJobId(const char* value) { SetCreationJobId(value); return *this;}
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline GetReferenceMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline GetReferenceMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline GetReferenceMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_id;
198
199 Aws::String m_arn;
200
201 Aws::String m_referenceStoreId;
202
203 Aws::String m_md5;
204
205 ReferenceStatus m_status;
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 ReferenceFiles m_files;
216
217 ReferenceCreationType m_creationType;
218
219 Aws::String m_creationJobId;
220
221 Aws::String m_requestId;
222 };
223
224} // namespace Model
225} // namespace Omics
226} // namespace Aws
const ReferenceCreationType & GetCreationType() const
GetReferenceMetadataResult & WithId(Aws::String &&value)
GetReferenceMetadataResult & WithCreationJobId(const char *value)
GetReferenceMetadataResult & WithMd5(const char *value)
GetReferenceMetadataResult & WithRequestId(const Aws::String &value)
AWS_OMICS_API GetReferenceMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReferenceMetadataResult & WithId(const char *value)
GetReferenceMetadataResult & WithStatus(const ReferenceStatus &value)
GetReferenceMetadataResult & WithName(Aws::String &&value)
AWS_OMICS_API GetReferenceMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReferenceMetadataResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetReferenceMetadataResult & WithDescription(const char *value)
GetReferenceMetadataResult & WithArn(const Aws::String &value)
GetReferenceMetadataResult & WithRequestId(const char *value)
GetReferenceMetadataResult & WithStatus(ReferenceStatus &&value)
GetReferenceMetadataResult & WithMd5(const Aws::String &value)
GetReferenceMetadataResult & WithReferenceStoreId(Aws::String &&value)
GetReferenceMetadataResult & WithReferenceStoreId(const char *value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
GetReferenceMetadataResult & WithReferenceStoreId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
GetReferenceMetadataResult & WithArn(Aws::String &&value)
GetReferenceMetadataResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationType(const ReferenceCreationType &value)
GetReferenceMetadataResult & WithUpdateTime(Aws::Utils::DateTime &&value)
GetReferenceMetadataResult & WithName(const char *value)
GetReferenceMetadataResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetReferenceMetadataResult & WithCreationJobId(Aws::String &&value)
GetReferenceMetadataResult & WithFiles(ReferenceFiles &&value)
GetReferenceMetadataResult & WithRequestId(Aws::String &&value)
GetReferenceMetadataResult & WithFiles(const ReferenceFiles &value)
GetReferenceMetadataResult & WithName(const Aws::String &value)
GetReferenceMetadataResult & WithDescription(Aws::String &&value)
GetReferenceMetadataResult & WithCreationType(const ReferenceCreationType &value)
GetReferenceMetadataResult & WithArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetReferenceMetadataResult & WithId(const Aws::String &value)
GetReferenceMetadataResult & WithCreationType(ReferenceCreationType &&value)
GetReferenceMetadataResult & WithDescription(const Aws::String &value)
GetReferenceMetadataResult & WithMd5(Aws::String &&value)
GetReferenceMetadataResult & WithCreationJobId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue