7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/AssetConfiguration.h>
12#include <aws/dataexchange/model/JobError.h>
13#include <aws/dataexchange/model/ResponseDetails.h>
14#include <aws/dataexchange/model/State.h>
15#include <aws/dataexchange/model/Type.h>
26namespace DataExchange {
50 template <
typename ArnT = Aws::String>
52 m_arnHasBeenSet =
true;
53 m_arn = std::forward<ArnT>(value);
55 template <
typename ArnT = Aws::String>
57 SetArn(std::forward<ArnT>(value));
69 template <
typename AssetConfigurationT = AssetConfiguration>
71 m_assetConfigurationHasBeenSet =
true;
72 m_assetConfiguration = std::forward<AssetConfigurationT>(value);
74 template <
typename AssetConfigurationT = AssetConfiguration>
87 template <
typename CreatedAtT = Aws::Utils::DateTime>
89 m_createdAtHasBeenSet =
true;
90 m_createdAt = std::forward<CreatedAtT>(value);
92 template <
typename CreatedAtT = Aws::Utils::DateTime>
106 template <
typename DetailsT = ResponseDetails>
108 m_detailsHasBeenSet =
true;
109 m_details = std::forward<DetailsT>(value);
111 template <
typename DetailsT = ResponseDetails>
124 template <
typename ErrorsT = Aws::Vector<JobError>>
126 m_errorsHasBeenSet =
true;
127 m_errors = std::forward<ErrorsT>(value);
129 template <
typename ErrorsT = Aws::Vector<JobError>>
134 template <
typename ErrorsT = JobError>
136 m_errorsHasBeenSet =
true;
137 m_errors.emplace_back(std::forward<ErrorsT>(value));
148 template <
typename IdT = Aws::String>
150 m_idHasBeenSet =
true;
151 m_id = std::forward<IdT>(value);
153 template <
typename IdT = Aws::String>
155 SetId(std::forward<IdT>(value));
167 m_stateHasBeenSet =
true;
183 m_typeHasBeenSet =
true;
198 template <
typename UpdatedAtT = Aws::Utils::DateTime>
200 m_updatedAtHasBeenSet =
true;
201 m_updatedAt = std::forward<UpdatedAtT>(value);
203 template <
typename UpdatedAtT = Aws::Utils::DateTime>
216 ResponseDetails m_details;
227 bool m_arnHasBeenSet =
false;
228 bool m_assetConfigurationHasBeenSet =
false;
229 bool m_createdAtHasBeenSet =
false;
230 bool m_detailsHasBeenSet =
false;
231 bool m_errorsHasBeenSet =
false;
232 bool m_idHasBeenSet =
false;
233 bool m_stateHasBeenSet =
false;
234 bool m_typeHasBeenSet =
false;
235 bool m_updatedAtHasBeenSet =
false;
JobEntry & WithType(Type value)
bool IdHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDetails(DetailsT &&value)
JobEntry & WithErrors(ErrorsT &&value)
bool CreatedAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetArn(ArnT &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorsHasBeenSet() const
void SetState(State value)
AWS_DATAEXCHANGE_API JobEntry()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DATAEXCHANGE_API JobEntry(Aws::Utils::Json::JsonView jsonValue)
JobEntry & WithArn(ArnT &&value)
AWS_DATAEXCHANGE_API JobEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssetConfiguration(AssetConfigurationT &&value)
JobEntry & WithCreatedAt(CreatedAtT &&value)
JobEntry & AddErrors(ErrorsT &&value)
const AssetConfiguration & GetAssetConfiguration() const
bool AssetConfigurationHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
void SetCreatedAt(CreatedAtT &&value)
bool DetailsHasBeenSet() const
bool StateHasBeenSet() const
JobEntry & WithUpdatedAt(UpdatedAtT &&value)
JobEntry & WithDetails(DetailsT &&value)
bool ArnHasBeenSet() const
JobEntry & WithId(IdT &&value)
void SetErrors(ErrorsT &&value)
JobEntry & WithState(State value)
const ResponseDetails & GetDetails() const
JobEntry & WithAssetConfiguration(AssetConfigurationT &&value)
const Aws::String & GetArn() const
const Aws::Vector< JobError > & GetErrors() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue