AWS SDK for C++  1.8.154
AWS SDK for C++
JobListDescriptor.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace S3Control
25 {
26 namespace Model
27 {
28 
36  {
37  public:
41 
42  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43 
44 
48  inline const Aws::String& GetJobId() const{ return m_jobId; }
49 
53  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 
58  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
59 
63  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
64 
68  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
69 
73  inline JobListDescriptor& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
74 
78  inline JobListDescriptor& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
79 
83  inline JobListDescriptor& WithJobId(const char* value) { SetJobId(value); return *this;}
84 
85 
90  inline const Aws::String& GetDescription() const{ return m_description; }
91 
96  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 
102  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 
108  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
109 
114  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
115 
120  inline JobListDescriptor& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
121 
126  inline JobListDescriptor& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 
132  inline JobListDescriptor& WithDescription(const char* value) { SetDescription(value); return *this;}
133 
134 
139  inline const OperationName& GetOperation() const{ return m_operation; }
140 
145  inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
146 
151  inline void SetOperation(const OperationName& value) { m_operationHasBeenSet = true; m_operation = value; }
152 
157  inline void SetOperation(OperationName&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
158 
163  inline JobListDescriptor& WithOperation(const OperationName& value) { SetOperation(value); return *this;}
164 
169  inline JobListDescriptor& WithOperation(OperationName&& value) { SetOperation(std::move(value)); return *this;}
170 
171 
175  inline int GetPriority() const{ return m_priority; }
176 
180  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
181 
185  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
186 
190  inline JobListDescriptor& WithPriority(int value) { SetPriority(value); return *this;}
191 
192 
196  inline const JobStatus& GetStatus() const{ return m_status; }
197 
201  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
202 
206  inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
207 
211  inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
212 
216  inline JobListDescriptor& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
217 
221  inline JobListDescriptor& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
222 
223 
227  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
228 
232  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
233 
237  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
238 
242  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
243 
247  inline JobListDescriptor& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
248 
252  inline JobListDescriptor& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
253 
254 
259  inline const Aws::Utils::DateTime& GetTerminationDate() const{ return m_terminationDate; }
260 
265  inline bool TerminationDateHasBeenSet() const { return m_terminationDateHasBeenSet; }
266 
271  inline void SetTerminationDate(const Aws::Utils::DateTime& value) { m_terminationDateHasBeenSet = true; m_terminationDate = value; }
272 
277  inline void SetTerminationDate(Aws::Utils::DateTime&& value) { m_terminationDateHasBeenSet = true; m_terminationDate = std::move(value); }
278 
283  inline JobListDescriptor& WithTerminationDate(const Aws::Utils::DateTime& value) { SetTerminationDate(value); return *this;}
284 
289  inline JobListDescriptor& WithTerminationDate(Aws::Utils::DateTime&& value) { SetTerminationDate(std::move(value)); return *this;}
290 
291 
296  inline const JobProgressSummary& GetProgressSummary() const{ return m_progressSummary; }
297 
302  inline bool ProgressSummaryHasBeenSet() const { return m_progressSummaryHasBeenSet; }
303 
308  inline void SetProgressSummary(const JobProgressSummary& value) { m_progressSummaryHasBeenSet = true; m_progressSummary = value; }
309 
314  inline void SetProgressSummary(JobProgressSummary&& value) { m_progressSummaryHasBeenSet = true; m_progressSummary = std::move(value); }
315 
320  inline JobListDescriptor& WithProgressSummary(const JobProgressSummary& value) { SetProgressSummary(value); return *this;}
321 
326  inline JobListDescriptor& WithProgressSummary(JobProgressSummary&& value) { SetProgressSummary(std::move(value)); return *this;}
327 
328  private:
329 
330  Aws::String m_jobId;
331  bool m_jobIdHasBeenSet;
332 
333  Aws::String m_description;
334  bool m_descriptionHasBeenSet;
335 
336  OperationName m_operation;
337  bool m_operationHasBeenSet;
338 
339  int m_priority;
340  bool m_priorityHasBeenSet;
341 
342  JobStatus m_status;
343  bool m_statusHasBeenSet;
344 
345  Aws::Utils::DateTime m_creationTime;
346  bool m_creationTimeHasBeenSet;
347 
348  Aws::Utils::DateTime m_terminationDate;
349  bool m_terminationDateHasBeenSet;
350 
351  JobProgressSummary m_progressSummary;
352  bool m_progressSummaryHasBeenSet;
353  };
354 
355 } // namespace Model
356 } // namespace S3Control
357 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::S3Control::Model::JobListDescriptor::WithJobId
JobListDescriptor & WithJobId(const Aws::String &value)
Definition: JobListDescriptor.h:73
Aws::S3Control::Model::JobListDescriptor::SetStatus
void SetStatus(const JobStatus &value)
Definition: JobListDescriptor.h:206
Aws::S3Control::Model::JobListDescriptor::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: JobListDescriptor.h:242
Aws::S3Control::Model::JobListDescriptor::WithDescription
JobListDescriptor & WithDescription(const char *value)
Definition: JobListDescriptor.h:132
Aws::S3Control::Model::JobListDescriptor::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: JobListDescriptor.h:201
Aws::S3Control::Model::JobListDescriptor::OperationHasBeenSet
bool OperationHasBeenSet() const
Definition: JobListDescriptor.h:145
Aws::S3Control::Model::JobListDescriptor::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: JobListDescriptor.h:232
Aws::S3Control::Model::JobListDescriptor::WithJobId
JobListDescriptor & WithJobId(Aws::String &&value)
Definition: JobListDescriptor.h:78
Aws::S3Control::Model::JobListDescriptor::GetProgressSummary
const JobProgressSummary & GetProgressSummary() const
Definition: JobListDescriptor.h:296
Aws::S3Control::Model::JobListDescriptor::WithProgressSummary
JobListDescriptor & WithProgressSummary(const JobProgressSummary &value)
Definition: JobListDescriptor.h:320
Aws::S3Control::Model::JobListDescriptor::WithCreationTime
JobListDescriptor & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: JobListDescriptor.h:252
DateTime.h
Aws::S3Control::Model::JobListDescriptor::ProgressSummaryHasBeenSet
bool ProgressSummaryHasBeenSet() const
Definition: JobListDescriptor.h:302
Aws::S3Control::Model::JobListDescriptor::WithTerminationDate
JobListDescriptor & WithTerminationDate(Aws::Utils::DateTime &&value)
Definition: JobListDescriptor.h:289
Aws::S3Control::Model::JobListDescriptor::GetTerminationDate
const Aws::Utils::DateTime & GetTerminationDate() const
Definition: JobListDescriptor.h:259
Aws::S3Control::Model::JobListDescriptor::SetDescription
void SetDescription(const Aws::String &value)
Definition: JobListDescriptor.h:102
Aws::S3Control::Model::JobListDescriptor::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: JobListDescriptor.h:53
Aws::S3Control::Model::JobListDescriptor::WithStatus
JobListDescriptor & WithStatus(JobStatus &&value)
Definition: JobListDescriptor.h:221
Aws::S3Control::Model::JobListDescriptor::WithPriority
JobListDescriptor & WithPriority(int value)
Definition: JobListDescriptor.h:190
Aws::S3Control::Model::JobListDescriptor::JobListDescriptor
JobListDescriptor(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobListDescriptor::GetDescription
const Aws::String & GetDescription() const
Definition: JobListDescriptor.h:90
Aws::S3Control::Model::JobListDescriptor::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: JobListDescriptor.h:180
Aws::S3Control::Model::JobListDescriptor::SetTerminationDate
void SetTerminationDate(Aws::Utils::DateTime &&value)
Definition: JobListDescriptor.h:277
Aws::S3Control::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
S3Control_EXPORTS.h
Aws::S3Control::Model::JobListDescriptor::WithOperation
JobListDescriptor & WithOperation(OperationName &&value)
Definition: JobListDescriptor.h:169
Aws::S3Control::Model::JobListDescriptor::TerminationDateHasBeenSet
bool TerminationDateHasBeenSet() const
Definition: JobListDescriptor.h:265
Aws::S3Control::Model::JobListDescriptor::SetDescription
void SetDescription(Aws::String &&value)
Definition: JobListDescriptor.h:108
Aws::S3Control::Model::JobListDescriptor::SetOperation
void SetOperation(OperationName &&value)
Definition: JobListDescriptor.h:157
Aws::S3Control::Model::OperationName
OperationName
Definition: OperationName.h:17
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::JobListDescriptor::SetJobId
void SetJobId(Aws::String &&value)
Definition: JobListDescriptor.h:63
Aws::S3Control::Model::JobListDescriptor::SetPriority
void SetPriority(int value)
Definition: JobListDescriptor.h:185
Aws::S3Control::Model::JobListDescriptor::GetStatus
const JobStatus & GetStatus() const
Definition: JobListDescriptor.h:196
Aws::S3Control::Model::JobListDescriptor::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: JobListDescriptor.h:96
Aws::S3Control::Model::JobListDescriptor::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: JobListDescriptor.h:237
Aws::S3Control::Model::JobListDescriptor::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobListDescriptor::WithDescription
JobListDescriptor & WithDescription(Aws::String &&value)
Definition: JobListDescriptor.h:126
Aws::S3Control::Model::JobListDescriptor::SetOperation
void SetOperation(const OperationName &value)
Definition: JobListDescriptor.h:151
Aws::S3Control::Model::JobListDescriptor::WithDescription
JobListDescriptor & WithDescription(const Aws::String &value)
Definition: JobListDescriptor.h:120
Aws::S3Control::Model::JobListDescriptor::SetTerminationDate
void SetTerminationDate(const Aws::Utils::DateTime &value)
Definition: JobListDescriptor.h:271
Aws::S3Control::Model::JobListDescriptor::WithProgressSummary
JobListDescriptor & WithProgressSummary(JobProgressSummary &&value)
Definition: JobListDescriptor.h:326
Aws::S3Control::Model::JobListDescriptor::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: JobListDescriptor.h:227
AWSString.h
Aws::S3Control::Model::JobListDescriptor::SetJobId
void SetJobId(const Aws::String &value)
Definition: JobListDescriptor.h:58
Aws::S3Control::Model::JobListDescriptor::WithTerminationDate
JobListDescriptor & WithTerminationDate(const Aws::Utils::DateTime &value)
Definition: JobListDescriptor.h:283
Aws::S3Control::Model::JobListDescriptor::SetJobId
void SetJobId(const char *value)
Definition: JobListDescriptor.h:68
Aws::S3Control::Model::JobListDescriptor::GetJobId
const Aws::String & GetJobId() const
Definition: JobListDescriptor.h:48
Aws::S3Control::Model::JobListDescriptor::GetPriority
int GetPriority() const
Definition: JobListDescriptor.h:175
Aws::S3Control::Model::JobListDescriptor::SetProgressSummary
void SetProgressSummary(JobProgressSummary &&value)
Definition: JobListDescriptor.h:314
Aws::S3Control::Model::JobListDescriptor::SetStatus
void SetStatus(JobStatus &&value)
Definition: JobListDescriptor.h:211
Aws::S3Control::Model::JobListDescriptor::WithJobId
JobListDescriptor & WithJobId(const char *value)
Definition: JobListDescriptor.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobListDescriptor::SetProgressSummary
void SetProgressSummary(const JobProgressSummary &value)
Definition: JobListDescriptor.h:308
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::JobProgressSummary
Definition: JobProgressSummary.h:31
OperationName.h
Aws::S3Control::Model::JobListDescriptor
Definition: JobListDescriptor.h:36
JobProgressSummary.h
Aws::S3Control::Model::JobListDescriptor::WithCreationTime
JobListDescriptor & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: JobListDescriptor.h:247
Aws::S3Control::Model::JobListDescriptor::operator=
JobListDescriptor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobStatus.h
Aws::S3Control::Model::JobListDescriptor::JobListDescriptor
JobListDescriptor()
Aws::S3Control::Model::JobListDescriptor::SetDescription
void SetDescription(const char *value)
Definition: JobListDescriptor.h:114
Aws::S3Control::Model::JobListDescriptor::WithOperation
JobListDescriptor & WithOperation(const OperationName &value)
Definition: JobListDescriptor.h:163
Aws::S3Control::Model::JobListDescriptor::GetOperation
const OperationName & GetOperation() const
Definition: JobListDescriptor.h:139
Aws::S3Control::Model::JobListDescriptor::WithStatus
JobListDescriptor & WithStatus(const JobStatus &value)
Definition: JobListDescriptor.h:216