AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReferenceListItem.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 <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 ReferenceListItem() = default;
39 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ReferenceListItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 ReferenceListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetReferenceStoreId() const { return m_referenceStoreId; }
71 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
72 template<typename ReferenceStoreIdT = Aws::String>
73 void SetReferenceStoreId(ReferenceStoreIdT&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::forward<ReferenceStoreIdT>(value); }
74 template<typename ReferenceStoreIdT = Aws::String>
75 ReferenceListItem& WithReferenceStoreId(ReferenceStoreIdT&& value) { SetReferenceStoreId(std::forward<ReferenceStoreIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetMd5() const { return m_md5; }
83 inline bool Md5HasBeenSet() const { return m_md5HasBeenSet; }
84 template<typename Md5T = Aws::String>
85 void SetMd5(Md5T&& value) { m_md5HasBeenSet = true; m_md5 = std::forward<Md5T>(value); }
86 template<typename Md5T = Aws::String>
87 ReferenceListItem& WithMd5(Md5T&& value) { SetMd5(std::forward<Md5T>(value)); return *this;}
89
91
94 inline ReferenceStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(ReferenceStatus value) { m_statusHasBeenSet = true; m_status = value; }
97 inline ReferenceListItem& WithStatus(ReferenceStatus value) { SetStatus(value); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 ReferenceListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
118 template<typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
120 template<typename DescriptionT = Aws::String>
121 ReferenceListItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
129 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
130 template<typename CreationTimeT = Aws::Utils::DateTime>
131 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
132 template<typename CreationTimeT = Aws::Utils::DateTime>
133 ReferenceListItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
141 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
142 template<typename UpdateTimeT = Aws::Utils::DateTime>
143 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
144 template<typename UpdateTimeT = Aws::Utils::DateTime>
145 ReferenceListItem& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
147 private:
148
149 Aws::String m_id;
150 bool m_idHasBeenSet = false;
151
152 Aws::String m_arn;
153 bool m_arnHasBeenSet = false;
154
155 Aws::String m_referenceStoreId;
156 bool m_referenceStoreIdHasBeenSet = false;
157
158 Aws::String m_md5;
159 bool m_md5HasBeenSet = false;
160
162 bool m_statusHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_description;
168 bool m_descriptionHasBeenSet = false;
169
170 Aws::Utils::DateTime m_creationTime{};
171 bool m_creationTimeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_updateTime{};
174 bool m_updateTimeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Omics
179} // namespace Aws
void SetReferenceStoreId(ReferenceStoreIdT &&value)
ReferenceListItem & WithReferenceStoreId(ReferenceStoreIdT &&value)
void SetCreationTime(CreationTimeT &&value)
ReferenceListItem & WithStatus(ReferenceStatus value)
AWS_OMICS_API ReferenceListItem(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(UpdateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_OMICS_API ReferenceListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReferenceStoreId() const
const Aws::String & GetMd5() const
const Aws::String & GetId() const
void SetDescription(DescriptionT &&value)
void SetStatus(ReferenceStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceListItem & WithMd5(Md5T &&value)
ReferenceListItem & WithName(NameT &&value)
ReferenceListItem & WithArn(ArnT &&value)
AWS_OMICS_API ReferenceListItem()=default
const Aws::String & GetArn() const
const Aws::String & GetDescription() const
ReferenceListItem & WithDescription(DescriptionT &&value)
ReferenceListItem & WithId(IdT &&value)
const Aws::String & GetName() const
ReferenceListItem & WithCreationTime(CreationTimeT &&value)
ReferenceListItem & WithUpdateTime(UpdateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue