AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetDataSetResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/AssetType.h>
12#include <aws/dataexchange/model/Origin.h>
13#include <aws/dataexchange/model/OriginDetails.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataExchange {
27namespace Model {
29 public:
30 AWS_DATAEXCHANGE_API GetDataSetResult() = default;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
45 GetDataSetResult& WithArn(ArnT&& value) {
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline AssetType GetAssetType() const { return m_assetType; }
56 inline void SetAssetType(AssetType value) {
57 m_assetTypeHasBeenSet = true;
58 m_assetType = value;
59 }
61 SetAssetType(value);
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
77 GetDataSetResult& WithCreatedAt(CreatedAtT&& value) {
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
94 GetDataSetResult& WithDescription(DescriptionT&& value) {
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetId() const { return m_id; }
105 template <typename IdT = Aws::String>
106 void SetId(IdT&& value) {
107 m_idHasBeenSet = true;
108 m_id = std::forward<IdT>(value);
109 }
110 template <typename IdT = Aws::String>
111 GetDataSetResult& WithId(IdT&& value) {
112 SetId(std::forward<IdT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetName() const { return m_name; }
122 template <typename NameT = Aws::String>
123 void SetName(NameT&& value) {
124 m_nameHasBeenSet = true;
125 m_name = std::forward<NameT>(value);
126 }
127 template <typename NameT = Aws::String>
128 GetDataSetResult& WithName(NameT&& value) {
129 SetName(std::forward<NameT>(value));
130 return *this;
131 }
133
135
139 inline Origin GetOrigin() const { return m_origin; }
140 inline void SetOrigin(Origin value) {
141 m_originHasBeenSet = true;
142 m_origin = value;
143 }
145 SetOrigin(value);
146 return *this;
147 }
149
151
155 inline const OriginDetails& GetOriginDetails() const { return m_originDetails; }
156 template <typename OriginDetailsT = OriginDetails>
157 void SetOriginDetails(OriginDetailsT&& value) {
158 m_originDetailsHasBeenSet = true;
159 m_originDetails = std::forward<OriginDetailsT>(value);
160 }
161 template <typename OriginDetailsT = OriginDetails>
162 GetDataSetResult& WithOriginDetails(OriginDetailsT&& value) {
163 SetOriginDetails(std::forward<OriginDetailsT>(value));
164 return *this;
165 }
167
169
174 inline const Aws::String& GetSourceId() const { return m_sourceId; }
175 template <typename SourceIdT = Aws::String>
176 void SetSourceId(SourceIdT&& value) {
177 m_sourceIdHasBeenSet = true;
178 m_sourceId = std::forward<SourceIdT>(value);
179 }
180 template <typename SourceIdT = Aws::String>
181 GetDataSetResult& WithSourceId(SourceIdT&& value) {
182 SetSourceId(std::forward<SourceIdT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
192 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 void SetTags(TagsT&& value) {
194 m_tagsHasBeenSet = true;
195 m_tags = std::forward<TagsT>(value);
196 }
197 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 GetDataSetResult& WithTags(TagsT&& value) {
199 SetTags(std::forward<TagsT>(value));
200 return *this;
201 }
202 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
203 GetDataSetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
204 m_tagsHasBeenSet = true;
205 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
215 template <typename UpdatedAtT = Aws::Utils::DateTime>
216 void SetUpdatedAt(UpdatedAtT&& value) {
217 m_updatedAtHasBeenSet = true;
218 m_updatedAt = std::forward<UpdatedAtT>(value);
219 }
220 template <typename UpdatedAtT = Aws::Utils::DateTime>
221 GetDataSetResult& WithUpdatedAt(UpdatedAtT&& value) {
222 SetUpdatedAt(std::forward<UpdatedAtT>(value));
223 return *this;
224 }
226
228
229 inline const Aws::String& GetRequestId() const { return m_requestId; }
230 template <typename RequestIdT = Aws::String>
231 void SetRequestId(RequestIdT&& value) {
232 m_requestIdHasBeenSet = true;
233 m_requestId = std::forward<RequestIdT>(value);
234 }
235 template <typename RequestIdT = Aws::String>
236 GetDataSetResult& WithRequestId(RequestIdT&& value) {
237 SetRequestId(std::forward<RequestIdT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_arn;
243
244 AssetType m_assetType{AssetType::NOT_SET};
245
246 Aws::Utils::DateTime m_createdAt{};
247
248 Aws::String m_description;
249
250 Aws::String m_id;
251
252 Aws::String m_name;
253
254 Origin m_origin{Origin::NOT_SET};
255
256 OriginDetails m_originDetails;
257
258 Aws::String m_sourceId;
259
261
262 Aws::Utils::DateTime m_updatedAt{};
263
264 Aws::String m_requestId;
265 bool m_arnHasBeenSet = false;
266 bool m_assetTypeHasBeenSet = false;
267 bool m_createdAtHasBeenSet = false;
268 bool m_descriptionHasBeenSet = false;
269 bool m_idHasBeenSet = false;
270 bool m_nameHasBeenSet = false;
271 bool m_originHasBeenSet = false;
272 bool m_originDetailsHasBeenSet = false;
273 bool m_sourceIdHasBeenSet = false;
274 bool m_tagsHasBeenSet = false;
275 bool m_updatedAtHasBeenSet = false;
276 bool m_requestIdHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace DataExchange
281} // namespace Aws
GetDataSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDataSetResult & WithArn(ArnT &&value)
const Aws::String & GetDescription() const
AWS_DATAEXCHANGE_API GetDataSetResult()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetDataSetResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSetResult & WithDescription(DescriptionT &&value)
GetDataSetResult & WithOriginDetails(OriginDetailsT &&value)
GetDataSetResult & WithAssetType(AssetType value)
GetDataSetResult & WithRequestId(RequestIdT &&value)
void SetOriginDetails(OriginDetailsT &&value)
GetDataSetResult & WithCreatedAt(CreatedAtT &&value)
GetDataSetResult & WithOrigin(Origin value)
GetDataSetResult & WithSourceId(SourceIdT &&value)
AWS_DATAEXCHANGE_API GetDataSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSetResult & WithUpdatedAt(UpdatedAtT &&value)
GetDataSetResult & WithId(IdT &&value)
AWS_DATAEXCHANGE_API GetDataSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const OriginDetails & GetOriginDetails() const
GetDataSetResult & WithName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue