AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataSetEntry.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10#include <aws/dataexchange/model/AssetType.h>
11#include <aws/dataexchange/model/Origin.h>
12#include <aws/dataexchange/model/OriginDetails.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataExchange {
24namespace Model {
25
33 public:
34 AWS_DATAEXCHANGE_API DataSetEntry() = default;
35 AWS_DATAEXCHANGE_API DataSetEntry(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAEXCHANGE_API DataSetEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
51 DataSetEntry& WithArn(ArnT&& value) {
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline AssetType GetAssetType() const { return m_assetType; }
62 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
63 inline void SetAssetType(AssetType value) {
64 m_assetTypeHasBeenSet = true;
65 m_assetType = value;
66 }
68 SetAssetType(value);
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 template <typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) {
81 m_createdAtHasBeenSet = true;
82 m_createdAt = std::forward<CreatedAtT>(value);
83 }
84 template <typename CreatedAtT = Aws::Utils::DateTime>
85 DataSetEntry& WithCreatedAt(CreatedAtT&& value) {
86 SetCreatedAt(std::forward<CreatedAtT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 DataSetEntry& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetId() const { return m_id; }
114 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
115 template <typename IdT = Aws::String>
116 void SetId(IdT&& value) {
117 m_idHasBeenSet = true;
118 m_id = std::forward<IdT>(value);
119 }
120 template <typename IdT = Aws::String>
121 DataSetEntry& WithId(IdT&& value) {
122 SetId(std::forward<IdT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetName() const { return m_name; }
132 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 template <typename NameT = Aws::String>
134 void SetName(NameT&& value) {
135 m_nameHasBeenSet = true;
136 m_name = std::forward<NameT>(value);
137 }
138 template <typename NameT = Aws::String>
139 DataSetEntry& WithName(NameT&& value) {
140 SetName(std::forward<NameT>(value));
141 return *this;
142 }
144
146
150 inline Origin GetOrigin() const { return m_origin; }
151 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
152 inline void SetOrigin(Origin value) {
153 m_originHasBeenSet = true;
154 m_origin = value;
155 }
157 SetOrigin(value);
158 return *this;
159 }
161
163
167 inline const OriginDetails& GetOriginDetails() const { return m_originDetails; }
168 inline bool OriginDetailsHasBeenSet() const { return m_originDetailsHasBeenSet; }
169 template <typename OriginDetailsT = OriginDetails>
170 void SetOriginDetails(OriginDetailsT&& value) {
171 m_originDetailsHasBeenSet = true;
172 m_originDetails = std::forward<OriginDetailsT>(value);
173 }
174 template <typename OriginDetailsT = OriginDetails>
175 DataSetEntry& WithOriginDetails(OriginDetailsT&& value) {
176 SetOriginDetails(std::forward<OriginDetailsT>(value));
177 return *this;
178 }
180
182
187 inline const Aws::String& GetSourceId() const { return m_sourceId; }
188 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
189 template <typename SourceIdT = Aws::String>
190 void SetSourceId(SourceIdT&& value) {
191 m_sourceIdHasBeenSet = true;
192 m_sourceId = std::forward<SourceIdT>(value);
193 }
194 template <typename SourceIdT = Aws::String>
195 DataSetEntry& WithSourceId(SourceIdT&& value) {
196 SetSourceId(std::forward<SourceIdT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
206 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
207 template <typename UpdatedAtT = Aws::Utils::DateTime>
208 void SetUpdatedAt(UpdatedAtT&& value) {
209 m_updatedAtHasBeenSet = true;
210 m_updatedAt = std::forward<UpdatedAtT>(value);
211 }
212 template <typename UpdatedAtT = Aws::Utils::DateTime>
213 DataSetEntry& WithUpdatedAt(UpdatedAtT&& value) {
214 SetUpdatedAt(std::forward<UpdatedAtT>(value));
215 return *this;
216 }
218 private:
219 Aws::String m_arn;
220
221 AssetType m_assetType{AssetType::NOT_SET};
222
223 Aws::Utils::DateTime m_createdAt{};
224
225 Aws::String m_description;
226
227 Aws::String m_id;
228
229 Aws::String m_name;
230
231 Origin m_origin{Origin::NOT_SET};
232
233 OriginDetails m_originDetails;
234
235 Aws::String m_sourceId;
236
237 Aws::Utils::DateTime m_updatedAt{};
238 bool m_arnHasBeenSet = false;
239 bool m_assetTypeHasBeenSet = false;
240 bool m_createdAtHasBeenSet = false;
241 bool m_descriptionHasBeenSet = false;
242 bool m_idHasBeenSet = false;
243 bool m_nameHasBeenSet = false;
244 bool m_originHasBeenSet = false;
245 bool m_originDetailsHasBeenSet = false;
246 bool m_sourceIdHasBeenSet = false;
247 bool m_updatedAtHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace DataExchange
252} // namespace Aws
const OriginDetails & GetOriginDetails() const
void SetOriginDetails(OriginDetailsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataSetEntry & WithArn(ArnT &&value)
bool AssetTypeHasBeenSet() const
DataSetEntry & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
AWS_DATAEXCHANGE_API DataSetEntry()=default
AWS_DATAEXCHANGE_API DataSetEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetArn(ArnT &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceIdHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool ArnHasBeenSet() const
DataSetEntry & WithName(NameT &&value)
DataSetEntry & WithDescription(DescriptionT &&value)
const Aws::String & GetArn() const
DataSetEntry & WithAssetType(AssetType value)
void SetName(NameT &&value)
bool UpdatedAtHasBeenSet() const
DataSetEntry & WithSourceId(SourceIdT &&value)
DataSetEntry & WithOrigin(Origin value)
const Aws::String & GetSourceId() const
DataSetEntry & WithUpdatedAt(UpdatedAtT &&value)
DataSetEntry & WithId(IdT &&value)
void SetOrigin(Origin value)
bool DescriptionHasBeenSet() const
Origin GetOrigin() const
bool OriginHasBeenSet() const
void SetSourceId(SourceIdT &&value)
AssetType GetAssetType() const
bool NameHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
DataSetEntry & WithOriginDetails(OriginDetailsT &&value)
void SetAssetType(AssetType value)
const Aws::String & GetName() const
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool OriginDetailsHasBeenSet() const
void SetId(IdT &&value)
AWS_DATAEXCHANGE_API DataSetEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue