7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/MailboxExportJobState.h>
10#include <aws/core/utils/DateTime.h>
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 EntityIdT = Aws::String>
63 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet =
true; m_entityId = std::forward<EntityIdT>(value); }
64 template<
typename EntityIdT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
86 template<
typename S3BucketNameT = Aws::String>
87 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
88 template<
typename S3BucketNameT = Aws::String>
99 template<
typename S3PathT = Aws::String>
100 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet =
true; m_s3Path = std::forward<S3PathT>(value); }
101 template<
typename S3PathT = Aws::String>
111 inline void SetEstimatedProgress(
int value) { m_estimatedProgressHasBeenSet =
true; m_estimatedProgress = value; }
131 template<
typename StartTimeT = Aws::Utils::DateTime>
132 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
133 template<
typename StartTimeT = Aws::Utils::DateTime>
143 template<
typename EndTimeT = Aws::Utils::DateTime>
144 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
145 template<
typename EndTimeT = Aws::Utils::DateTime>
151 bool m_jobIdHasBeenSet =
false;
154 bool m_entityIdHasBeenSet =
false;
157 bool m_descriptionHasBeenSet =
false;
160 bool m_s3BucketNameHasBeenSet =
false;
163 bool m_s3PathHasBeenSet =
false;
165 int m_estimatedProgress{0};
166 bool m_estimatedProgressHasBeenSet =
false;
169 bool m_stateHasBeenSet =
false;
172 bool m_startTimeHasBeenSet =
false;
175 bool m_endTimeHasBeenSet =
false;
MailboxExportJob & WithDescription(DescriptionT &&value)
int GetEstimatedProgress() const
bool EntityIdHasBeenSet() const
AWS_WORKMAIL_API MailboxExportJob(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
MailboxExportJob & WithStartTime(StartTimeT &&value)
void SetStartTime(StartTimeT &&value)
MailboxExportJob & WithS3Path(S3PathT &&value)
const Aws::String & GetEntityId() const
void SetS3Path(S3PathT &&value)
MailboxExportJob & WithJobId(JobIdT &&value)
const Aws::String & GetS3BucketName() const
bool EndTimeHasBeenSet() const
bool StateHasBeenSet() const
const Aws::String & GetJobId() const
bool EstimatedProgressHasBeenSet() const
MailboxExportJob & WithEntityId(EntityIdT &&value)
void SetEndTime(EndTimeT &&value)
bool JobIdHasBeenSet() const
void SetEstimatedProgress(int value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetDescription() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
MailboxExportJob & WithEndTime(EndTimeT &&value)
AWS_WORKMAIL_API MailboxExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
MailboxExportJob & WithEstimatedProgress(int value)
void SetS3BucketName(S3BucketNameT &&value)
bool S3PathHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
void SetState(MailboxExportJobState value)
MailboxExportJob & WithState(MailboxExportJobState value)
MailboxExportJobState GetState() const
const Aws::String & GetS3Path() const
AWS_WORKMAIL_API MailboxExportJob()=default
bool S3BucketNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
MailboxExportJob & WithS3BucketName(S3BucketNameT &&value)
void SetEntityId(EntityIdT &&value)
void SetJobId(JobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue