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>
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));
57 template <
typename CreatedAtT = Aws::Utils::DateTime>
59 m_createdAtHasBeenSet =
true;
60 m_createdAt = std::forward<CreatedAtT>(value);
62 template <
typename CreatedAtT = Aws::Utils::DateTime>
74 template <
typename DetailsT = ResponseDetails>
76 m_detailsHasBeenSet =
true;
77 m_details = std::forward<DetailsT>(value);
79 template <
typename DetailsT = ResponseDetails>
91 template <
typename ErrorsT = Aws::Vector<JobError>>
93 m_errorsHasBeenSet =
true;
94 m_errors = std::forward<ErrorsT>(value);
96 template <
typename ErrorsT = Aws::Vector<JobError>>
101 template <
typename ErrorsT = JobError>
103 m_errorsHasBeenSet =
true;
104 m_errors.emplace_back(std::forward<ErrorsT>(value));
114 template <
typename IdT = Aws::String>
116 m_idHasBeenSet =
true;
117 m_id = std::forward<IdT>(value);
119 template <
typename IdT = Aws::String>
121 SetId(std::forward<IdT>(value));
132 m_stateHasBeenSet =
true;
147 m_typeHasBeenSet =
true;
161 template <
typename UpdatedAtT = Aws::Utils::DateTime>
163 m_updatedAtHasBeenSet =
true;
164 m_updatedAt = std::forward<UpdatedAtT>(value);
166 template <
typename UpdatedAtT = Aws::Utils::DateTime>
176 template <
typename RequestIdT = Aws::String>
178 m_requestIdHasBeenSet =
true;
179 m_requestId = std::forward<RequestIdT>(value);
181 template <
typename RequestIdT = Aws::String>
192 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;
213 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
GetJobResult & AddErrors(ErrorsT &&value)
void SetState(State value)
AWS_DATAEXCHANGE_API GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithType(Type value)
GetJobResult & WithArn(ArnT &&value)
const ResponseDetails & GetDetails() const
AWS_DATAEXCHANGE_API GetJobResult()=default
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAEXCHANGE_API GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Aws::String & GetId() const
const Aws::Vector< JobError > & GetErrors() const
GetJobResult & WithDetails(DetailsT &&value)
GetJobResult & WithState(State value)
GetJobResult & WithId(IdT &&value)
void SetDetails(DetailsT &&value)
GetJobResult & WithRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetJobResult & WithCreatedAt(CreatedAtT &&value)
GetJobResult & WithUpdatedAt(UpdatedAtT &&value)
GetJobResult & WithErrors(ErrorsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetArn() const
void SetErrors(ErrorsT &&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