AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnnotationStoreVersionItem.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/VersionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Omics
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetStoreId() const{ return m_storeId; }
47 inline bool StoreIdHasBeenSet() const { return m_storeIdHasBeenSet; }
48 inline void SetStoreId(const Aws::String& value) { m_storeIdHasBeenSet = true; m_storeId = value; }
49 inline void SetStoreId(Aws::String&& value) { m_storeIdHasBeenSet = true; m_storeId = std::move(value); }
50 inline void SetStoreId(const char* value) { m_storeIdHasBeenSet = true; m_storeId.assign(value); }
51 inline AnnotationStoreVersionItem& WithStoreId(const Aws::String& value) { SetStoreId(value); return *this;}
52 inline AnnotationStoreVersionItem& WithStoreId(Aws::String&& value) { SetStoreId(std::move(value)); return *this;}
53 inline AnnotationStoreVersionItem& WithStoreId(const char* value) { SetStoreId(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline AnnotationStoreVersionItem& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline AnnotationStoreVersionItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline AnnotationStoreVersionItem& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const VersionStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const VersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(VersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline AnnotationStoreVersionItem& WithStatus(const VersionStatus& value) { SetStatus(value); return *this;}
79 inline AnnotationStoreVersionItem& WithStatus(VersionStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
87 inline bool VersionArnHasBeenSet() const { return m_versionArnHasBeenSet; }
88 inline void SetVersionArn(const Aws::String& value) { m_versionArnHasBeenSet = true; m_versionArn = value; }
89 inline void SetVersionArn(Aws::String&& value) { m_versionArnHasBeenSet = true; m_versionArn = std::move(value); }
90 inline void SetVersionArn(const char* value) { m_versionArnHasBeenSet = true; m_versionArn.assign(value); }
91 inline AnnotationStoreVersionItem& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
92 inline AnnotationStoreVersionItem& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
93 inline AnnotationStoreVersionItem& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
95
97
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline AnnotationStoreVersionItem& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline AnnotationStoreVersionItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline AnnotationStoreVersionItem& WithName(const char* value) { SetName(value); return *this;}
110
112
115 inline const Aws::String& GetVersionName() const{ return m_versionName; }
116 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
117 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
118 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
119 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
120 inline AnnotationStoreVersionItem& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
121 inline AnnotationStoreVersionItem& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
122 inline AnnotationStoreVersionItem& WithVersionName(const char* value) { SetVersionName(value); return *this;}
124
126
129 inline const Aws::String& GetDescription() const{ return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
132 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
133 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
134 inline AnnotationStoreVersionItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
135 inline AnnotationStoreVersionItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
136 inline AnnotationStoreVersionItem& WithDescription(const char* value) { SetDescription(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
144 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
145 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
146 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
148 inline AnnotationStoreVersionItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
156 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
157 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
158 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
160 inline AnnotationStoreVersionItem& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
168 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
169 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
170 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
171 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
172 inline AnnotationStoreVersionItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
173 inline AnnotationStoreVersionItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
174 inline AnnotationStoreVersionItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
176
178
181 inline long long GetVersionSizeBytes() const{ return m_versionSizeBytes; }
182 inline bool VersionSizeBytesHasBeenSet() const { return m_versionSizeBytesHasBeenSet; }
183 inline void SetVersionSizeBytes(long long value) { m_versionSizeBytesHasBeenSet = true; m_versionSizeBytes = value; }
184 inline AnnotationStoreVersionItem& WithVersionSizeBytes(long long value) { SetVersionSizeBytes(value); return *this;}
186 private:
187
188 Aws::String m_storeId;
189 bool m_storeIdHasBeenSet = false;
190
191 Aws::String m_id;
192 bool m_idHasBeenSet = false;
193
194 VersionStatus m_status;
195 bool m_statusHasBeenSet = false;
196
197 Aws::String m_versionArn;
198 bool m_versionArnHasBeenSet = false;
199
200 Aws::String m_name;
201 bool m_nameHasBeenSet = false;
202
203 Aws::String m_versionName;
204 bool m_versionNameHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 Aws::Utils::DateTime m_creationTime;
210 bool m_creationTimeHasBeenSet = false;
211
212 Aws::Utils::DateTime m_updateTime;
213 bool m_updateTimeHasBeenSet = false;
214
215 Aws::String m_statusMessage;
216 bool m_statusMessageHasBeenSet = false;
217
218 long long m_versionSizeBytes;
219 bool m_versionSizeBytesHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace Omics
224} // namespace Aws
AnnotationStoreVersionItem & WithId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AnnotationStoreVersionItem & WithStoreId(Aws::String &&value)
AnnotationStoreVersionItem & WithName(Aws::String &&value)
AnnotationStoreVersionItem & WithStatus(const VersionStatus &value)
AnnotationStoreVersionItem & WithCreationTime(Aws::Utils::DateTime &&value)
AnnotationStoreVersionItem & WithStoreId(const char *value)
AnnotationStoreVersionItem & WithVersionName(Aws::String &&value)
AnnotationStoreVersionItem & WithVersionArn(Aws::String &&value)
AnnotationStoreVersionItem & WithVersionName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
AnnotationStoreVersionItem & WithVersionArn(const Aws::String &value)
AnnotationStoreVersionItem & WithVersionSizeBytes(long long value)
AnnotationStoreVersionItem & WithDescription(Aws::String &&value)
AnnotationStoreVersionItem & WithVersionArn(const char *value)
AWS_OMICS_API AnnotationStoreVersionItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AnnotationStoreVersionItem & WithName(const char *value)
AnnotationStoreVersionItem & WithUpdateTime(const Aws::Utils::DateTime &value)
AnnotationStoreVersionItem & WithId(const char *value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnnotationStoreVersionItem & WithName(const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
AnnotationStoreVersionItem & WithStatusMessage(const Aws::String &value)
AnnotationStoreVersionItem & WithDescription(const Aws::String &value)
AnnotationStoreVersionItem & WithDescription(const char *value)
AnnotationStoreVersionItem & WithVersionName(const Aws::String &value)
AnnotationStoreVersionItem & WithStatusMessage(Aws::String &&value)
AnnotationStoreVersionItem & WithCreationTime(const Aws::Utils::DateTime &value)
AnnotationStoreVersionItem & WithId(const Aws::String &value)
AnnotationStoreVersionItem & WithStatus(VersionStatus &&value)
AnnotationStoreVersionItem & WithStatusMessage(const char *value)
AnnotationStoreVersionItem & WithStoreId(const Aws::String &value)
AWS_OMICS_API AnnotationStoreVersionItem(Aws::Utils::Json::JsonView jsonValue)
AnnotationStoreVersionItem & WithUpdateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue