7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dataexchange/DataExchange_EXPORTS.h>
12#include <aws/dataexchange/model/AssetConfiguration.h>
13#include <aws/dataexchange/model/JobError.h>
14#include <aws/dataexchange/model/ResponseDetails.h>
15#include <aws/dataexchange/model/State.h>
16#include <aws/dataexchange/model/Type.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace DataExchange {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
60 template <
typename AssetConfigurationT = AssetConfiguration>
62 m_assetConfigurationHasBeenSet =
true;
63 m_assetConfiguration = std::forward<AssetConfigurationT>(value);
65 template <
typename AssetConfigurationT = AssetConfiguration>
77 template <
typename CreatedAtT = Aws::Utils::DateTime>
79 m_createdAtHasBeenSet =
true;
80 m_createdAt = std::forward<CreatedAtT>(value);
82 template <
typename CreatedAtT = Aws::Utils::DateTime>
94 template <
typename DetailsT = ResponseDetails>
96 m_detailsHasBeenSet =
true;
97 m_details = std::forward<DetailsT>(value);
99 template <
typename DetailsT = ResponseDetails>
111 template <
typename ErrorsT = Aws::Vector<JobError>>
113 m_errorsHasBeenSet =
true;
114 m_errors = std::forward<ErrorsT>(value);
116 template <
typename ErrorsT = Aws::Vector<JobError>>
121 template <
typename ErrorsT = JobError>
123 m_errorsHasBeenSet =
true;
124 m_errors.emplace_back(std::forward<ErrorsT>(value));
134 template <
typename IdT = Aws::String>
136 m_idHasBeenSet =
true;
137 m_id = std::forward<IdT>(value);
139 template <
typename IdT = Aws::String>
141 SetId(std::forward<IdT>(value));
152 m_stateHasBeenSet =
true;
167 m_typeHasBeenSet =
true;
181 template <
typename UpdatedAtT = Aws::Utils::DateTime>
183 m_updatedAtHasBeenSet =
true;
184 m_updatedAt = std::forward<UpdatedAtT>(value);
186 template <
typename UpdatedAtT = Aws::Utils::DateTime>
196 template <
typename RequestIdT = Aws::String>
198 m_requestIdHasBeenSet =
true;
199 m_requestId = std::forward<RequestIdT>(value);
201 template <
typename RequestIdT = Aws::String>
216 ResponseDetails m_details;
230 bool m_arnHasBeenSet =
false;
231 bool m_assetConfigurationHasBeenSet =
false;
232 bool m_createdAtHasBeenSet =
false;
233 bool m_detailsHasBeenSet =
false;
234 bool m_errorsHasBeenSet =
false;
235 bool m_idHasBeenSet =
false;
236 bool m_stateHasBeenSet =
false;
237 bool m_typeHasBeenSet =
false;
238 bool m_updatedAtHasBeenSet =
false;
239 bool m_requestIdHasBeenSet =
false;
AWS_DATAEXCHANGE_API CreateJobResult()=default
CreateJobResult & WithErrors(ErrorsT &&value)
const AssetConfiguration & GetAssetConfiguration() const
CreateJobResult & WithType(Type value)
CreateJobResult & WithState(State value)
void SetState(State value)
void SetAssetConfiguration(AssetConfigurationT &&value)
const Aws::Vector< JobError > & GetErrors() const
void SetDetails(DetailsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAEXCHANGE_API CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
CreateJobResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateJobResult & WithCreatedAt(CreatedAtT &&value)
CreateJobResult & AddErrors(ErrorsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateJobResult & WithDetails(DetailsT &&value)
const Aws::String & GetId() const
CreateJobResult & WithId(IdT &&value)
CreateJobResult & WithAssetConfiguration(AssetConfigurationT &&value)
const ResponseDetails & GetDetails() const
AWS_DATAEXCHANGE_API CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
CreateJobResult & WithRequestId(RequestIdT &&value)
void SetErrors(ErrorsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateJobResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue