AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_OMICS_API AnnotationStoreVersionItem() = default;
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 template<typename StoreIdT = Aws::String>
49 void SetStoreId(StoreIdT&& value) { m_storeIdHasBeenSet = true; m_storeId = std::forward<StoreIdT>(value); }
50 template<typename StoreIdT = Aws::String>
51 AnnotationStoreVersionItem& WithStoreId(StoreIdT&& value) { SetStoreId(std::forward<StoreIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 AnnotationStoreVersionItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65
67
70 inline VersionStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(VersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline AnnotationStoreVersionItem& WithStatus(VersionStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::String& GetVersionArn() const { return m_versionArn; }
81 inline bool VersionArnHasBeenSet() const { return m_versionArnHasBeenSet; }
82 template<typename VersionArnT = Aws::String>
83 void SetVersionArn(VersionArnT&& value) { m_versionArnHasBeenSet = true; m_versionArn = std::forward<VersionArnT>(value); }
84 template<typename VersionArnT = Aws::String>
85 AnnotationStoreVersionItem& WithVersionArn(VersionArnT&& value) { SetVersionArn(std::forward<VersionArnT>(value)); return *this;}
87
89
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template<typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
97 template<typename NameT = Aws::String>
98 AnnotationStoreVersionItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
100
102
105 inline const Aws::String& GetVersionName() const { return m_versionName; }
106 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
107 template<typename VersionNameT = Aws::String>
108 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
109 template<typename VersionNameT = Aws::String>
110 AnnotationStoreVersionItem& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 AnnotationStoreVersionItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
130 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
131 template<typename CreationTimeT = Aws::Utils::DateTime>
132 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
133 template<typename CreationTimeT = Aws::Utils::DateTime>
134 AnnotationStoreVersionItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
142 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
143 template<typename UpdateTimeT = Aws::Utils::DateTime>
144 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
145 template<typename UpdateTimeT = Aws::Utils::DateTime>
146 AnnotationStoreVersionItem& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
148
150
153 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
154 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
155 template<typename StatusMessageT = Aws::String>
156 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
157 template<typename StatusMessageT = Aws::String>
158 AnnotationStoreVersionItem& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
160
162
165 inline long long GetVersionSizeBytes() const { return m_versionSizeBytes; }
166 inline bool VersionSizeBytesHasBeenSet() const { return m_versionSizeBytesHasBeenSet; }
167 inline void SetVersionSizeBytes(long long value) { m_versionSizeBytesHasBeenSet = true; m_versionSizeBytes = value; }
168 inline AnnotationStoreVersionItem& WithVersionSizeBytes(long long value) { SetVersionSizeBytes(value); return *this;}
170 private:
171
172 Aws::String m_storeId;
173 bool m_storeIdHasBeenSet = false;
174
175 Aws::String m_id;
176 bool m_idHasBeenSet = false;
177
179 bool m_statusHasBeenSet = false;
180
181 Aws::String m_versionArn;
182 bool m_versionArnHasBeenSet = false;
183
184 Aws::String m_name;
185 bool m_nameHasBeenSet = false;
186
187 Aws::String m_versionName;
188 bool m_versionNameHasBeenSet = false;
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 Aws::Utils::DateTime m_creationTime{};
194 bool m_creationTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_updateTime{};
197 bool m_updateTimeHasBeenSet = false;
198
199 Aws::String m_statusMessage;
200 bool m_statusMessageHasBeenSet = false;
201
202 long long m_versionSizeBytes{0};
203 bool m_versionSizeBytesHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace Omics
208} // namespace Aws
AnnotationStoreVersionItem & WithName(NameT &&value)
AWS_OMICS_API AnnotationStoreVersionItem()=default
const Aws::Utils::DateTime & GetCreationTime() const
AnnotationStoreVersionItem & WithVersionSizeBytes(long long value)
AnnotationStoreVersionItem & WithCreationTime(CreationTimeT &&value)
AnnotationStoreVersionItem & WithId(IdT &&value)
AnnotationStoreVersionItem & WithStoreId(StoreIdT &&value)
AWS_OMICS_API AnnotationStoreVersionItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AnnotationStoreVersionItem & WithStatus(VersionStatus value)
AnnotationStoreVersionItem & WithVersionArn(VersionArnT &&value)
AnnotationStoreVersionItem & WithDescription(DescriptionT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnnotationStoreVersionItem & WithStatusMessage(StatusMessageT &&value)
AnnotationStoreVersionItem & WithVersionName(VersionNameT &&value)
AnnotationStoreVersionItem & WithUpdateTime(UpdateTimeT &&value)
AWS_OMICS_API AnnotationStoreVersionItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue