7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/dataexchange/model/ResponseDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dataexchange/model/State.h>
13#include <aws/dataexchange/model/Type.h>
14#include <aws/dataexchange/model/JobError.h>
55 template<
typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
57 template<
typename ArnT = Aws::String>
67 template<
typename CreatedAtT = Aws::Utils::DateTime>
68 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
69 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 template<
typename DetailsT = ResponseDetails>
81 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
82 template<
typename DetailsT = ResponseDetails>
92 template<
typename ErrorsT = Aws::Vector<JobError>>
93 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
94 template<
typename ErrorsT = Aws::Vector<JobError>>
96 template<
typename ErrorsT = JobError>
97 JobEntry&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
106 template<
typename IdT = Aws::String>
107 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
108 template<
typename IdT = Aws::String>
118 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
128 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
138 template<
typename UpdatedAtT = Aws::Utils::DateTime>
139 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
140 template<
typename UpdatedAtT = Aws::Utils::DateTime>
146 bool m_arnHasBeenSet =
false;
149 bool m_createdAtHasBeenSet =
false;
151 ResponseDetails m_details;
152 bool m_detailsHasBeenSet =
false;
155 bool m_errorsHasBeenSet =
false;
158 bool m_idHasBeenSet =
false;
161 bool m_stateHasBeenSet =
false;
164 bool m_typeHasBeenSet =
false;
167 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