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/JobError.h>
12#include <aws/dataexchange/model/ResponseDetails.h>
13#include <aws/dataexchange/model/State.h>
14#include <aws/dataexchange/model/Type.h>
25namespace DataExchange {
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
67 template <
typename CreatedAtT = Aws::Utils::DateTime>
69 m_createdAtHasBeenSet =
true;
70 m_createdAt = std::forward<CreatedAtT>(value);
72 template <
typename CreatedAtT = Aws::Utils::DateTime>
86 template <
typename DetailsT = ResponseDetails>
88 m_detailsHasBeenSet =
true;
89 m_details = std::forward<DetailsT>(value);
91 template <
typename DetailsT = ResponseDetails>
104 template <
typename ErrorsT = Aws::Vector<JobError>>
106 m_errorsHasBeenSet =
true;
107 m_errors = std::forward<ErrorsT>(value);
109 template <
typename ErrorsT = Aws::Vector<JobError>>
114 template <
typename ErrorsT = JobError>
116 m_errorsHasBeenSet =
true;
117 m_errors.emplace_back(std::forward<ErrorsT>(value));
128 template <
typename IdT = Aws::String>
130 m_idHasBeenSet =
true;
131 m_id = std::forward<IdT>(value);
133 template <
typename IdT = Aws::String>
135 SetId(std::forward<IdT>(value));
147 m_stateHasBeenSet =
true;
163 m_typeHasBeenSet =
true;
178 template <
typename UpdatedAtT = Aws::Utils::DateTime>
180 m_updatedAtHasBeenSet =
true;
181 m_updatedAt = std::forward<UpdatedAtT>(value);
183 template <
typename UpdatedAtT = Aws::Utils::DateTime>
194 ResponseDetails m_details;
205 bool m_arnHasBeenSet =
false;
206 bool m_createdAtHasBeenSet =
false;
207 bool m_detailsHasBeenSet =
false;
208 bool m_errorsHasBeenSet =
false;
209 bool m_idHasBeenSet =
false;
210 bool m_stateHasBeenSet =
false;
211 bool m_typeHasBeenSet =
false;
212 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)
JobEntry & WithCreatedAt(CreatedAtT &&value)
JobEntry & AddErrors(ErrorsT &&value)
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
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