AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ReferenceListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ReferenceListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ReferenceListItem& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline ReferenceListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline ReferenceListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline ReferenceListItem& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; }
75 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
76 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; }
77 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); }
78 inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); }
79 inline ReferenceListItem& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;}
80 inline ReferenceListItem& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
81 inline ReferenceListItem& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
83
85
88 inline const Aws::String& GetMd5() const{ return m_md5; }
89 inline bool Md5HasBeenSet() const { return m_md5HasBeenSet; }
90 inline void SetMd5(const Aws::String& value) { m_md5HasBeenSet = true; m_md5 = value; }
91 inline void SetMd5(Aws::String&& value) { m_md5HasBeenSet = true; m_md5 = std::move(value); }
92 inline void SetMd5(const char* value) { m_md5HasBeenSet = true; m_md5.assign(value); }
93 inline ReferenceListItem& WithMd5(const Aws::String& value) { SetMd5(value); return *this;}
94 inline ReferenceListItem& WithMd5(Aws::String&& value) { SetMd5(std::move(value)); return *this;}
95 inline ReferenceListItem& WithMd5(const char* value) { SetMd5(value); return *this;}
97
99
102 inline const ReferenceStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const ReferenceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(ReferenceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline ReferenceListItem& WithStatus(const ReferenceStatus& value) { SetStatus(value); return *this;}
107 inline ReferenceListItem& WithStatus(ReferenceStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetName() const{ return m_name; }
115 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
117 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
118 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
119 inline ReferenceListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
120 inline ReferenceListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
121 inline ReferenceListItem& WithName(const char* value) { SetName(value); return *this;}
123
125
128 inline const Aws::String& GetDescription() const{ return m_description; }
129 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
130 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
132 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
133 inline ReferenceListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 inline ReferenceListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
135 inline ReferenceListItem& WithDescription(const char* value) { SetDescription(value); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
143 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
144 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
145 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
146 inline ReferenceListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
147 inline ReferenceListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
155 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
156 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
157 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
158 inline ReferenceListItem& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
159 inline ReferenceListItem& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
161 private:
162
163 Aws::String m_id;
164 bool m_idHasBeenSet = false;
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 Aws::String m_referenceStoreId;
170 bool m_referenceStoreIdHasBeenSet = false;
171
172 Aws::String m_md5;
173 bool m_md5HasBeenSet = false;
174
175 ReferenceStatus m_status;
176 bool m_statusHasBeenSet = false;
177
178 Aws::String m_name;
179 bool m_nameHasBeenSet = false;
180
181 Aws::String m_description;
182 bool m_descriptionHasBeenSet = false;
183
184 Aws::Utils::DateTime m_creationTime;
185 bool m_creationTimeHasBeenSet = false;
186
187 Aws::Utils::DateTime m_updateTime;
188 bool m_updateTimeHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Omics
193} // namespace Aws
ReferenceListItem & WithCreationTime(const Aws::Utils::DateTime &value)
ReferenceListItem & WithDescription(const char *value)
ReferenceListItem & WithDescription(const Aws::String &value)
ReferenceListItem & WithUpdateTime(const Aws::Utils::DateTime &value)
ReferenceListItem & WithName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ReferenceListItem & WithCreationTime(Aws::Utils::DateTime &&value)
ReferenceListItem & WithMd5(Aws::String &&value)
void SetMd5(const Aws::String &value)
void SetDescription(Aws::String &&value)
AWS_OMICS_API ReferenceListItem(Aws::Utils::Json::JsonView jsonValue)
ReferenceListItem & WithName(const Aws::String &value)
ReferenceListItem & WithReferenceStoreId(const char *value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_OMICS_API ReferenceListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceListItem & WithReferenceStoreId(const Aws::String &value)
void SetName(const Aws::String &value)
ReferenceListItem & WithId(const char *value)
void SetStatus(const ReferenceStatus &value)
ReferenceListItem & WithArn(const Aws::String &value)
const Aws::String & GetReferenceStoreId() const
const Aws::String & GetMd5() const
const Aws::String & GetId() const
ReferenceListItem & WithDescription(Aws::String &&value)
void SetStatus(ReferenceStatus &&value)
ReferenceListItem & WithId(const Aws::String &value)
void SetReferenceStoreId(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceListItem & WithArn(Aws::String &&value)
ReferenceListItem & WithStatus(ReferenceStatus &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
const ReferenceStatus & GetStatus() const
ReferenceListItem & WithReferenceStoreId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetReferenceStoreId(const char *value)
void SetId(const Aws::String &value)
void SetReferenceStoreId(const Aws::String &value)
const Aws::String & GetDescription() const
ReferenceListItem & WithStatus(const ReferenceStatus &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
ReferenceListItem & WithUpdateTime(Aws::Utils::DateTime &&value)
ReferenceListItem & WithName(const char *value)
ReferenceListItem & WithArn(const char *value)
ReferenceListItem & WithMd5(const Aws::String &value)
ReferenceListItem & WithMd5(const char *value)
void SetDescription(const Aws::String &value)
ReferenceListItem & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue