AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MailboxExportJob.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WorkMail
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_WORKMAIL_API MailboxExportJob();
39 AWS_WORKMAIL_API MailboxExportJob(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetJobId() const{ return m_jobId; }
49 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
51 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
52 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
53 inline MailboxExportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
54 inline MailboxExportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
55 inline MailboxExportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
57
59
62 inline const Aws::String& GetEntityId() const{ return m_entityId; }
63 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
64 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
65 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
66 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
67 inline MailboxExportJob& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
68 inline MailboxExportJob& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
69 inline MailboxExportJob& WithEntityId(const char* value) { SetEntityId(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline MailboxExportJob& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline MailboxExportJob& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline MailboxExportJob& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
91 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
92 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
93 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
94 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
95 inline MailboxExportJob& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
96 inline MailboxExportJob& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
97 inline MailboxExportJob& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
99
101
105 inline const Aws::String& GetS3Path() const{ return m_s3Path; }
106 inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
107 inline void SetS3Path(const Aws::String& value) { m_s3PathHasBeenSet = true; m_s3Path = value; }
108 inline void SetS3Path(Aws::String&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::move(value); }
109 inline void SetS3Path(const char* value) { m_s3PathHasBeenSet = true; m_s3Path.assign(value); }
110 inline MailboxExportJob& WithS3Path(const Aws::String& value) { SetS3Path(value); return *this;}
111 inline MailboxExportJob& WithS3Path(Aws::String&& value) { SetS3Path(std::move(value)); return *this;}
112 inline MailboxExportJob& WithS3Path(const char* value) { SetS3Path(value); return *this;}
114
116
119 inline int GetEstimatedProgress() const{ return m_estimatedProgress; }
120 inline bool EstimatedProgressHasBeenSet() const { return m_estimatedProgressHasBeenSet; }
121 inline void SetEstimatedProgress(int value) { m_estimatedProgressHasBeenSet = true; m_estimatedProgress = value; }
122 inline MailboxExportJob& WithEstimatedProgress(int value) { SetEstimatedProgress(value); return *this;}
124
126
129 inline const MailboxExportJobState& GetState() const{ return m_state; }
130 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
131 inline void SetState(const MailboxExportJobState& value) { m_stateHasBeenSet = true; m_state = value; }
132 inline void SetState(MailboxExportJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
133 inline MailboxExportJob& WithState(const MailboxExportJobState& value) { SetState(value); return *this;}
134 inline MailboxExportJob& WithState(MailboxExportJobState&& value) { SetState(std::move(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
142 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
143 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
144 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
145 inline MailboxExportJob& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
146 inline MailboxExportJob& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
154 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
155 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
156 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
157 inline MailboxExportJob& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
158 inline MailboxExportJob& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
160 private:
161
162 Aws::String m_jobId;
163 bool m_jobIdHasBeenSet = false;
164
165 Aws::String m_entityId;
166 bool m_entityIdHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_s3BucketName;
172 bool m_s3BucketNameHasBeenSet = false;
173
174 Aws::String m_s3Path;
175 bool m_s3PathHasBeenSet = false;
176
177 int m_estimatedProgress;
178 bool m_estimatedProgressHasBeenSet = false;
179
180 MailboxExportJobState m_state;
181 bool m_stateHasBeenSet = false;
182
183 Aws::Utils::DateTime m_startTime;
184 bool m_startTimeHasBeenSet = false;
185
186 Aws::Utils::DateTime m_endTime;
187 bool m_endTimeHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace WorkMail
192} // namespace Aws
MailboxExportJob & WithEndTime(const Aws::Utils::DateTime &value)
AWS_WORKMAIL_API MailboxExportJob(Aws::Utils::Json::JsonView jsonValue)
const MailboxExportJobState & GetState() const
MailboxExportJob & WithS3BucketName(Aws::String &&value)
void SetS3BucketName(Aws::String &&value)
MailboxExportJob & WithEntityId(Aws::String &&value)
MailboxExportJob & WithDescription(Aws::String &&value)
const Aws::String & GetEntityId() const
void SetEntityId(Aws::String &&value)
const Aws::String & GetS3BucketName() const
MailboxExportJob & WithDescription(const Aws::String &value)
MailboxExportJob & WithDescription(const char *value)
MailboxExportJob & WithS3Path(Aws::String &&value)
void SetState(const MailboxExportJobState &value)
void SetState(MailboxExportJobState &&value)
void SetS3Path(const Aws::String &value)
const Aws::String & GetJobId() const
MailboxExportJob & WithStartTime(Aws::Utils::DateTime &&value)
void SetEntityId(const Aws::String &value)
MailboxExportJob & WithEntityId(const Aws::String &value)
MailboxExportJob & WithState(const MailboxExportJobState &value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
MailboxExportJob & WithS3BucketName(const char *value)
MailboxExportJob & WithS3BucketName(const Aws::String &value)
const Aws::String & GetDescription() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
MailboxExportJob & WithJobId(const char *value)
MailboxExportJob & WithS3Path(const Aws::String &value)
void SetJobId(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
AWS_WORKMAIL_API MailboxExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
MailboxExportJob & WithEstimatedProgress(int value)
MailboxExportJob & WithEndTime(Aws::Utils::DateTime &&value)
MailboxExportJob & WithJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
MailboxExportJob & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
MailboxExportJob & WithEntityId(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetS3BucketName(const Aws::String &value)
MailboxExportJob & WithState(MailboxExportJobState &&value)
MailboxExportJob & WithS3Path(const char *value)
void SetDescription(Aws::String &&value)
const Aws::String & GetS3Path() const
MailboxExportJob & WithJobId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue