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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
48 template<
typename ArnT = Aws::String>
57 template<
typename CreatedAtT = Aws::Utils::DateTime>
58 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
59 template<
typename CreatedAtT = Aws::Utils::DateTime>
68 template<
typename DetailsT = ResponseDetails>
69 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
70 template<
typename DetailsT = ResponseDetails>
79 template<
typename ErrorsT = Aws::Vector<JobError>>
80 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
81 template<
typename ErrorsT = Aws::Vector<JobError>>
83 template<
typename ErrorsT = JobError>
84 CreateJobResult&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
92 template<
typename IdT = Aws::String>
93 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
94 template<
typename IdT = Aws::String>
103 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
112 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
121 template<
typename UpdatedAtT = Aws::Utils::DateTime>
122 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
123 template<
typename UpdatedAtT = Aws::Utils::DateTime>
130 template<
typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
132 template<
typename RequestIdT = Aws::String>
138 bool m_arnHasBeenSet =
false;
141 bool m_createdAtHasBeenSet =
false;
143 ResponseDetails m_details;
144 bool m_detailsHasBeenSet =
false;
147 bool m_errorsHasBeenSet =
false;
150 bool m_idHasBeenSet =
false;
153 bool m_stateHasBeenSet =
false;
156 bool m_typeHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
AWS_DATAEXCHANGE_API CreateJobResult()=default
CreateJobResult & WithErrors(ErrorsT &&value)
CreateJobResult & WithType(Type value)
CreateJobResult & WithState(State value)
void SetState(State 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)
CreateJobResult & WithDetails(DetailsT &&value)
const Aws::String & GetId() const
CreateJobResult & WithId(IdT &&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