7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/StatusReason.h>
11#include <aws/customer-profiles/model/UploadJobStatus.h>
22namespace CustomerProfiles {
44 template <
typename JobIdT = Aws::String>
46 m_jobIdHasBeenSet =
true;
47 m_jobId = std::forward<JobIdT>(value);
49 template <
typename JobIdT = Aws::String>
51 SetJobId(std::forward<JobIdT>(value));
62 template <
typename DisplayNameT = Aws::String>
64 m_displayNameHasBeenSet =
true;
65 m_displayName = std::forward<DisplayNameT>(value);
67 template <
typename DisplayNameT = Aws::String>
81 m_statusHasBeenSet =
true;
97 m_statusReasonHasBeenSet =
true;
98 m_statusReason = value;
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 m_createdAtHasBeenSet =
true;
115 m_createdAt = std::forward<CreatedAtT>(value);
117 template <
typename CreatedAtT = Aws::Utils::DateTime>
130 template <
typename CompletedAtT = Aws::Utils::DateTime>
132 m_completedAtHasBeenSet =
true;
133 m_completedAt = std::forward<CompletedAtT>(value);
135 template <
typename CompletedAtT = Aws::Utils::DateTime>
149 m_dataExpiryHasBeenSet =
true;
150 m_dataExpiry = value;
171 bool m_jobIdHasBeenSet =
false;
172 bool m_displayNameHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
174 bool m_statusReasonHasBeenSet =
false;
175 bool m_createdAtHasBeenSet =
false;
176 bool m_completedAtHasBeenSet =
false;
177 bool m_dataExpiryHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API UploadJobItem(Aws::Utils::Json::JsonView jsonValue)
UploadJobStatus GetStatus() const
AWS_CUSTOMERPROFILES_API UploadJobItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool JobIdHasBeenSet() const
int GetDataExpiry() const
bool CompletedAtHasBeenSet() const
void SetCompletedAt(CompletedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
UploadJobItem & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetJobId() const
void SetDataExpiry(int value)
void SetJobId(JobIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool StatusHasBeenSet() const
StatusReason GetStatusReason() const
UploadJobItem & WithStatus(UploadJobStatus value)
const Aws::Utils::DateTime & GetCompletedAt() const
bool DisplayNameHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetDisplayName() const
void SetDisplayName(DisplayNameT &&value)
UploadJobItem & WithStatusReason(StatusReason value)
AWS_CUSTOMERPROFILES_API UploadJobItem()=default
void SetStatusReason(StatusReason value)
UploadJobItem & WithCreatedAt(CreatedAtT &&value)
bool DataExpiryHasBeenSet() const
UploadJobItem & WithCompletedAt(CompletedAtT &&value)
bool StatusReasonHasBeenSet() const
UploadJobItem & WithDataExpiry(int value)
void SetStatus(UploadJobStatus value)
UploadJobItem & WithJobId(JobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue