7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/UploadJobStatus.h>
10#include <aws/customer-profiles/model/StatusReason.h>
11#include <aws/core/utils/DateTime.h>
24namespace CustomerProfiles
50 template<
typename JobIdT = Aws::String>
51 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
52 template<
typename JobIdT = Aws::String>
62 template<
typename DisplayNameT = Aws::String>
63 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
64 template<
typename DisplayNameT = Aws::String>
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
96 template<
typename CreatedAtT = Aws::Utils::DateTime>
106 template<
typename CompletedAtT = Aws::Utils::DateTime>
107 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
108 template<
typename CompletedAtT = Aws::Utils::DateTime>
118 inline void SetDataExpiry(
int value) { m_dataExpiryHasBeenSet =
true; m_dataExpiry = value; }
124 bool m_jobIdHasBeenSet =
false;
127 bool m_displayNameHasBeenSet =
false;
130 bool m_statusHasBeenSet =
false;
133 bool m_statusReasonHasBeenSet =
false;
136 bool m_createdAtHasBeenSet =
false;
139 bool m_completedAtHasBeenSet =
false;
142 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