7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dataexchange/DataExchange_EXPORTS.h>
12#include <aws/dataexchange/model/AssetType.h>
13#include <aws/dataexchange/model/Origin.h>
14#include <aws/dataexchange/model/OriginDetails.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace DataExchange {
40 template <
typename ArnT = Aws::String>
42 m_arnHasBeenSet =
true;
43 m_arn = std::forward<ArnT>(value);
45 template <
typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
58 m_assetTypeHasBeenSet =
true;
72 template <
typename CreatedAtT = Aws::Utils::DateTime>
74 m_createdAtHasBeenSet =
true;
75 m_createdAt = std::forward<CreatedAtT>(value);
77 template <
typename CreatedAtT = Aws::Utils::DateTime>
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
106 template <
typename IdT = Aws::String>
108 m_idHasBeenSet =
true;
109 m_id = std::forward<IdT>(value);
111 template <
typename IdT = Aws::String>
113 SetId(std::forward<IdT>(value));
123 template <
typename NameT = Aws::String>
125 m_nameHasBeenSet =
true;
126 m_name = std::forward<NameT>(value);
128 template <
typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
142 m_originHasBeenSet =
true;
157 template <
typename OriginDetailsT = OriginDetails>
159 m_originDetailsHasBeenSet =
true;
160 m_originDetails = std::forward<OriginDetailsT>(value);
162 template <
typename OriginDetailsT = OriginDetails>
176 template <
typename SourceIdT = Aws::String>
178 m_sourceIdHasBeenSet =
true;
179 m_sourceId = std::forward<SourceIdT>(value);
181 template <
typename SourceIdT = Aws::String>
193 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 m_tagsHasBeenSet =
true;
196 m_tags = std::forward<TagsT>(value);
198 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 SetTags(std::forward<TagsT>(value));
203 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
205 m_tagsHasBeenSet =
true;
206 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
216 template <
typename UpdatedAtT = Aws::Utils::DateTime>
218 m_updatedAtHasBeenSet =
true;
219 m_updatedAt = std::forward<UpdatedAtT>(value);
221 template <
typename UpdatedAtT = Aws::Utils::DateTime>
231 template <
typename RequestIdT = Aws::String>
233 m_requestIdHasBeenSet =
true;
234 m_requestId = std::forward<RequestIdT>(value);
236 template <
typename RequestIdT = Aws::String>
259 OriginDetails m_originDetails;
269 bool m_arnHasBeenSet =
false;
270 bool m_assetTypeHasBeenSet =
false;
271 bool m_createdAtHasBeenSet =
false;
272 bool m_descriptionHasBeenSet =
false;
273 bool m_idHasBeenSet =
false;
274 bool m_nameHasBeenSet =
false;
275 bool m_originHasBeenSet =
false;
276 bool m_originDetailsHasBeenSet =
false;
277 bool m_sourceIdHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
279 bool m_updatedAtHasBeenSet =
false;
280 bool m_requestIdHasBeenSet =
false;
CreateDataSetResult & WithArn(ArnT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateDataSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDataSetResult & WithOriginDetails(OriginDetailsT &&value)
void SetAssetType(AssetType value)
AWS_DATAEXCHANGE_API CreateDataSetResult()=default
const OriginDetails & GetOriginDetails() const
const Aws::String & GetArn() const
void SetSourceId(SourceIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDataSetResult & WithDescription(DescriptionT &&value)
CreateDataSetResult & WithId(IdT &&value)
CreateDataSetResult & WithCreatedAt(CreatedAtT &&value)
void SetOrigin(Origin value)
const Aws::String & GetId() const
void SetOriginDetails(OriginDetailsT &&value)
AWS_DATAEXCHANGE_API CreateDataSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSetResult & WithTags(TagsT &&value)
const Aws::String & GetDescription() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateDataSetResult & WithAssetType(AssetType value)
CreateDataSetResult & WithSourceId(SourceIdT &&value)
CreateDataSetResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
CreateDataSetResult & WithOrigin(Origin value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
CreateDataSetResult & WithRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
CreateDataSetResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAEXCHANGE_API CreateDataSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetSourceId() const
void SetName(NameT &&value)
AssetType GetAssetType() const
void SetUpdatedAt(UpdatedAtT &&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