AWS SDK for C++  1.9.160
AWS SDK for C++
MailboxExportJob.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace WorkMail
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetJobId() const{ return m_jobId; }
48 
52  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 
57  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
58 
62  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
63 
67  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
68 
72  inline MailboxExportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
73 
77  inline MailboxExportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
78 
82  inline MailboxExportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
83 
84 
88  inline const Aws::String& GetEntityId() const{ return m_entityId; }
89 
93  inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
94 
98  inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
99 
103  inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
104 
108  inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
109 
113  inline MailboxExportJob& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
114 
118  inline MailboxExportJob& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
119 
123  inline MailboxExportJob& WithEntityId(const char* value) { SetEntityId(value); return *this;}
124 
125 
129  inline const Aws::String& GetDescription() const{ return m_description; }
130 
134  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 
139  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 
144  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 
149  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 
154  inline MailboxExportJob& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
155 
159  inline MailboxExportJob& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 
164  inline MailboxExportJob& WithDescription(const char* value) { SetDescription(value); return *this;}
165 
166 
170  inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
171 
175  inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
176 
180  inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
181 
185  inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
186 
190  inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
191 
195  inline MailboxExportJob& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
196 
200  inline MailboxExportJob& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
201 
205  inline MailboxExportJob& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
206 
207 
212  inline const Aws::String& GetS3Path() const{ return m_s3Path; }
213 
218  inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
219 
224  inline void SetS3Path(const Aws::String& value) { m_s3PathHasBeenSet = true; m_s3Path = value; }
225 
230  inline void SetS3Path(Aws::String&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::move(value); }
231 
236  inline void SetS3Path(const char* value) { m_s3PathHasBeenSet = true; m_s3Path.assign(value); }
237 
242  inline MailboxExportJob& WithS3Path(const Aws::String& value) { SetS3Path(value); return *this;}
243 
248  inline MailboxExportJob& WithS3Path(Aws::String&& value) { SetS3Path(std::move(value)); return *this;}
249 
254  inline MailboxExportJob& WithS3Path(const char* value) { SetS3Path(value); return *this;}
255 
256 
260  inline int GetEstimatedProgress() const{ return m_estimatedProgress; }
261 
265  inline bool EstimatedProgressHasBeenSet() const { return m_estimatedProgressHasBeenSet; }
266 
270  inline void SetEstimatedProgress(int value) { m_estimatedProgressHasBeenSet = true; m_estimatedProgress = value; }
271 
275  inline MailboxExportJob& WithEstimatedProgress(int value) { SetEstimatedProgress(value); return *this;}
276 
277 
281  inline const MailboxExportJobState& GetState() const{ return m_state; }
282 
286  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
287 
291  inline void SetState(const MailboxExportJobState& value) { m_stateHasBeenSet = true; m_state = value; }
292 
296  inline void SetState(MailboxExportJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
297 
301  inline MailboxExportJob& WithState(const MailboxExportJobState& value) { SetState(value); return *this;}
302 
306  inline MailboxExportJob& WithState(MailboxExportJobState&& value) { SetState(std::move(value)); return *this;}
307 
308 
312  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
313 
317  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
318 
322  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
323 
327  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
328 
332  inline MailboxExportJob& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
333 
337  inline MailboxExportJob& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
338 
339 
343  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
344 
348  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
349 
353  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
354 
358  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
359 
363  inline MailboxExportJob& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
364 
368  inline MailboxExportJob& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
369 
370  private:
371 
372  Aws::String m_jobId;
373  bool m_jobIdHasBeenSet;
374 
375  Aws::String m_entityId;
376  bool m_entityIdHasBeenSet;
377 
378  Aws::String m_description;
379  bool m_descriptionHasBeenSet;
380 
381  Aws::String m_s3BucketName;
382  bool m_s3BucketNameHasBeenSet;
383 
384  Aws::String m_s3Path;
385  bool m_s3PathHasBeenSet;
386 
387  int m_estimatedProgress;
388  bool m_estimatedProgressHasBeenSet;
389 
390  MailboxExportJobState m_state;
391  bool m_stateHasBeenSet;
392 
393  Aws::Utils::DateTime m_startTime;
394  bool m_startTimeHasBeenSet;
395 
396  Aws::Utils::DateTime m_endTime;
397  bool m_endTimeHasBeenSet;
398  };
399 
400 } // namespace Model
401 } // namespace WorkMail
402 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::MailboxExportJob::S3PathHasBeenSet
bool S3PathHasBeenSet() const
Definition: MailboxExportJob.h:218
Aws::WorkMail::Model::MailboxExportJob::WithEntityId
MailboxExportJob & WithEntityId(Aws::String &&value)
Definition: MailboxExportJob.h:118
Aws::WorkMail::Model::MailboxExportJob::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: MailboxExportJob.h:185
Aws::WorkMail::Model::MailboxExportJob::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: MailboxExportJob.h:180
Aws::WorkMail::Model::MailboxExportJob::SetDescription
void SetDescription(const Aws::String &value)
Definition: MailboxExportJob.h:139
Aws::WorkMail::Model::MailboxExportJob::WithJobId
MailboxExportJob & WithJobId(const Aws::String &value)
Definition: MailboxExportJob.h:72
Aws::WorkMail::Model::MailboxExportJob::SetJobId
void SetJobId(const Aws::String &value)
Definition: MailboxExportJob.h:57
Aws::WorkMail::Model::MailboxExportJob::WithEntityId
MailboxExportJob & WithEntityId(const Aws::String &value)
Definition: MailboxExportJob.h:113
Aws::WorkMail::Model::MailboxExportJob::WithS3BucketName
MailboxExportJob & WithS3BucketName(const Aws::String &value)
Definition: MailboxExportJob.h:195
Aws::WorkMail::Model::MailboxExportJob::WithDescription
MailboxExportJob & WithDescription(Aws::String &&value)
Definition: MailboxExportJob.h:159
Aws::WorkMail::Model::MailboxExportJob::MailboxExportJob
MailboxExportJob(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::MailboxExportJob::SetEntityId
void SetEntityId(Aws::String &&value)
Definition: MailboxExportJob.h:103
DateTime.h
Aws::WorkMail::Model::MailboxExportJob::WithS3BucketName
MailboxExportJob & WithS3BucketName(const char *value)
Definition: MailboxExportJob.h:205
Aws::WorkMail::Model::MailboxExportJob::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: MailboxExportJob.h:312
Aws::WorkMail::Model::MailboxExportJob::SetS3Path
void SetS3Path(const Aws::String &value)
Definition: MailboxExportJob.h:224
Aws::WorkMail::Model::MailboxExportJob::GetDescription
const Aws::String & GetDescription() const
Definition: MailboxExportJob.h:129
Aws::WorkMail::Model::MailboxExportJob::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: MailboxExportJob.h:170
WorkMail_EXPORTS.h
Aws::WorkMail::Model::MailboxExportJob::SetEstimatedProgress
void SetEstimatedProgress(int value)
Definition: MailboxExportJob.h:270
Aws::WorkMail::Model::MailboxExportJob::GetEntityId
const Aws::String & GetEntityId() const
Definition: MailboxExportJob.h:88
Aws::WorkMail::Model::MailboxExportJob::SetS3Path
void SetS3Path(const char *value)
Definition: MailboxExportJob.h:236
Aws::WorkMail::Model::MailboxExportJob::MailboxExportJob
MailboxExportJob()
Aws::WorkMail::Model::MailboxExportJob::GetS3Path
const Aws::String & GetS3Path() const
Definition: MailboxExportJob.h:212
Aws::WorkMail::Model::MailboxExportJob::WithDescription
MailboxExportJob & WithDescription(const Aws::String &value)
Definition: MailboxExportJob.h:154
Aws::WorkMail::Model::MailboxExportJob::EstimatedProgressHasBeenSet
bool EstimatedProgressHasBeenSet() const
Definition: MailboxExportJob.h:265
Aws::WorkMail::Model::MailboxExportJob::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: MailboxExportJob.h:348
Aws::WorkMail::Model::MailboxExportJob::SetDescription
void SetDescription(Aws::String &&value)
Definition: MailboxExportJob.h:144
Aws::WorkMail::Model::MailboxExportJob::WithJobId
MailboxExportJob & WithJobId(const char *value)
Definition: MailboxExportJob.h:82
Aws::WorkMail::Model::MailboxExportJob::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: MailboxExportJob.h:322
Aws::WorkMail::Model::MailboxExportJob::WithState
MailboxExportJob & WithState(MailboxExportJobState &&value)
Definition: MailboxExportJob.h:306
Aws::WorkMail::Model::MailboxExportJob::SetS3Path
void SetS3Path(Aws::String &&value)
Definition: MailboxExportJob.h:230
Aws::WorkMail::Model::MailboxExportJob::SetJobId
void SetJobId(Aws::String &&value)
Definition: MailboxExportJob.h:62
Aws::WorkMail::Model::MailboxExportJob::WithEndTime
MailboxExportJob & WithEndTime(Aws::Utils::DateTime &&value)
Definition: MailboxExportJob.h:368
Aws::WorkMail::Model::MailboxExportJob::WithDescription
MailboxExportJob & WithDescription(const char *value)
Definition: MailboxExportJob.h:164
Aws::WorkMail::Model::MailboxExportJob::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: MailboxExportJob.h:343
Aws::WorkMail::Model::MailboxExportJob::WithJobId
MailboxExportJob & WithJobId(Aws::String &&value)
Definition: MailboxExportJob.h:77
Aws::WorkMail::Model::MailboxExportJob::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: MailboxExportJob.h:175
Aws::WorkMail::Model::MailboxExportJob::SetJobId
void SetJobId(const char *value)
Definition: MailboxExportJob.h:67
Aws::WorkMail::Model::MailboxExportJob::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: MailboxExportJob.h:190
Aws::WorkMail::Model::MailboxExportJob::SetEntityId
void SetEntityId(const char *value)
Definition: MailboxExportJob.h:108
Aws::WorkMail::Model::MailboxExportJob::GetJobId
const Aws::String & GetJobId() const
Definition: MailboxExportJob.h:47
Aws::WorkMail::Model::MailboxExportJob::WithEndTime
MailboxExportJob & WithEndTime(const Aws::Utils::DateTime &value)
Definition: MailboxExportJob.h:363
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::MailboxExportJob::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: MailboxExportJob.h:327
Aws::WorkMail::Model::MailboxExportJob::WithEstimatedProgress
MailboxExportJob & WithEstimatedProgress(int value)
Definition: MailboxExportJob.h:275
Aws::WorkMail::Model::MailboxExportJob::WithS3Path
MailboxExportJob & WithS3Path(Aws::String &&value)
Definition: MailboxExportJob.h:248
Aws::WorkMail::Model::MailboxExportJobState
MailboxExportJobState
Definition: MailboxExportJobState.h:17
Aws::WorkMail::Model::MailboxExportJob::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: MailboxExportJob.h:358
Aws::WorkMail::Model::MailboxExportJob::StateHasBeenSet
bool StateHasBeenSet() const
Definition: MailboxExportJob.h:286
Aws::WorkMail::Model::MailboxExportJob::SetState
void SetState(MailboxExportJobState &&value)
Definition: MailboxExportJob.h:296
Aws::WorkMail::Model::MailboxExportJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::WorkMail::Model::MailboxExportJob::WithStartTime
MailboxExportJob & WithStartTime(Aws::Utils::DateTime &&value)
Definition: MailboxExportJob.h:337
Aws::WorkMail::Model::MailboxExportJob::SetDescription
void SetDescription(const char *value)
Definition: MailboxExportJob.h:149
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::MailboxExportJob::SetState
void SetState(const MailboxExportJobState &value)
Definition: MailboxExportJob.h:291
MailboxExportJobState.h
Aws::WorkMail::Model::MailboxExportJob::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: MailboxExportJob.h:353
Aws::WorkMail::Model::MailboxExportJob::WithS3Path
MailboxExportJob & WithS3Path(const Aws::String &value)
Definition: MailboxExportJob.h:242
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::MailboxExportJob::GetState
const MailboxExportJobState & GetState() const
Definition: MailboxExportJob.h:281
Aws::WorkMail::Model::MailboxExportJob::EntityIdHasBeenSet
bool EntityIdHasBeenSet() const
Definition: MailboxExportJob.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::MailboxExportJob::WithS3BucketName
MailboxExportJob & WithS3BucketName(Aws::String &&value)
Definition: MailboxExportJob.h:200
Aws::WorkMail::Model::MailboxExportJob::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: MailboxExportJob.h:317
Aws::WorkMail::Model::MailboxExportJob::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: MailboxExportJob.h:134
Aws::WorkMail::Model::MailboxExportJob::GetEstimatedProgress
int GetEstimatedProgress() const
Definition: MailboxExportJob.h:260
Aws::WorkMail::Model::MailboxExportJob
Definition: MailboxExportJob.h:36
Aws::WorkMail::Model::MailboxExportJob::SetEntityId
void SetEntityId(const Aws::String &value)
Definition: MailboxExportJob.h:98
Aws::WorkMail::Model::MailboxExportJob::WithStartTime
MailboxExportJob & WithStartTime(const Aws::Utils::DateTime &value)
Definition: MailboxExportJob.h:332
Aws::WorkMail::Model::MailboxExportJob::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: MailboxExportJob.h:52
Aws::WorkMail::Model::MailboxExportJob::operator=
MailboxExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::MailboxExportJob::WithS3Path
MailboxExportJob & WithS3Path(const char *value)
Definition: MailboxExportJob.h:254
Aws::WorkMail::Model::MailboxExportJob::WithState
MailboxExportJob & WithState(const MailboxExportJobState &value)
Definition: MailboxExportJob.h:301
Aws::WorkMail::Model::MailboxExportJob::WithEntityId
MailboxExportJob & WithEntityId(const char *value)
Definition: MailboxExportJob.h:123