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/endusermessaging/EndUserMessaging_EXPORTS.h>
11#include <aws/endusermessaging/model/JobResource.h>
12#include <aws/endusermessaging/model/JobStatus.h>
23namespace EndUserMessaging {
46 template <
typename JobIdT = Aws::String>
48 m_jobIdHasBeenSet =
true;
49 m_jobId = std::forward<JobIdT>(value);
51 template <
typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
65 m_statusHasBeenSet =
true;
80 template <
typename OperationTypeT = Aws::String>
82 m_operationTypeHasBeenSet =
true;
83 m_operationType = std::forward<OperationTypeT>(value);
85 template <
typename OperationTypeT = Aws::String>
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 template <
typename UpdatedAtT = Aws::Utils::DateTime>
118 m_updatedAtHasBeenSet =
true;
119 m_updatedAt = std::forward<UpdatedAtT>(value);
121 template <
typename UpdatedAtT = Aws::Utils::DateTime>
135 template <
typename BrandProfileIdT = Aws::String>
137 m_brandProfileIdHasBeenSet =
true;
138 m_brandProfileId = std::forward<BrandProfileIdT>(value);
140 template <
typename BrandProfileIdT = Aws::String>
154 template <
typename ErrorCodeT = Aws::String>
156 m_errorCodeHasBeenSet =
true;
157 m_errorCode = std::forward<ErrorCodeT>(value);
159 template <
typename ErrorCodeT = Aws::String>
173 template <
typename ErrorMessageT = Aws::String>
175 m_errorMessageHasBeenSet =
true;
176 m_errorMessage = std::forward<ErrorMessageT>(value);
178 template <
typename ErrorMessageT = Aws::String>
191 template <
typename ResourcesT = Aws::Vector<JobResource>>
193 m_resourcesHasBeenSet =
true;
194 m_resources = std::forward<ResourcesT>(value);
196 template <
typename ResourcesT = Aws::Vector<JobResource>>
201 template <
typename ResourcesT = JobResource>
203 m_resourcesHasBeenSet =
true;
204 m_resources.emplace_back(std::forward<ResourcesT>(value));
226 bool m_jobIdHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
228 bool m_operationTypeHasBeenSet =
false;
229 bool m_createdAtHasBeenSet =
false;
230 bool m_updatedAtHasBeenSet =
false;
231 bool m_brandProfileIdHasBeenSet =
false;
232 bool m_errorCodeHasBeenSet =
false;
233 bool m_errorMessageHasBeenSet =
false;
234 bool m_resourcesHasBeenSet =
false;
void SetResources(ResourcesT &&value)
const Aws::String & GetJobId() const
void SetOperationType(OperationTypeT &&value)
JobSummary & WithStatus(JobStatus value)
const Aws::String & GetErrorMessage() const
AWS_ENDUSERMESSAGING_API JobSummary()=default
AWS_ENDUSERMESSAGING_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
JobSummary & WithBrandProfileId(BrandProfileIdT &&value)
const Aws::String & GetErrorCode() const
const Aws::String & GetBrandProfileId() const
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
JobSummary & WithErrorMessage(ErrorMessageT &&value)
void SetJobId(JobIdT &&value)
const Aws::Vector< JobResource > & GetResources() const
const Aws::String & GetOperationType() const
JobSummary & WithJobId(JobIdT &&value)
void SetErrorCode(ErrorCodeT &&value)
JobStatus GetStatus() const
void SetBrandProfileId(BrandProfileIdT &&value)
bool UpdatedAtHasBeenSet() const
JobSummary & WithResources(ResourcesT &&value)
JobSummary & WithOperationType(OperationTypeT &&value)
bool JobIdHasBeenSet() const
bool BrandProfileIdHasBeenSet() const
bool OperationTypeHasBeenSet() const
bool ResourcesHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetErrorMessage(ErrorMessageT &&value)
bool ErrorCodeHasBeenSet() const
void SetStatus(JobStatus value)
bool ErrorMessageHasBeenSet() const
JobSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_ENDUSERMESSAGING_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithErrorCode(ErrorCodeT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
JobSummary & WithCreatedAt(CreatedAtT &&value)
JobSummary & AddResources(ResourcesT &&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