AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobListDescriptor.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/OperationName.h>
10#include <aws/s3control/model/JobStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/s3control/model/JobProgressSummary.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_S3CONTROL_API JobListDescriptor();
39 AWS_S3CONTROL_API JobListDescriptor(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_S3CONTROL_API JobListDescriptor& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const Aws::String& GetJobId() const{ return m_jobId; }
50 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
54 inline JobListDescriptor& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline JobListDescriptor& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline JobListDescriptor& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline JobListDescriptor& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline JobListDescriptor& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline JobListDescriptor& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
79 inline const OperationName& GetOperation() const{ return m_operation; }
80 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
81 inline void SetOperation(const OperationName& value) { m_operationHasBeenSet = true; m_operation = value; }
82 inline void SetOperation(OperationName&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
83 inline JobListDescriptor& WithOperation(const OperationName& value) { SetOperation(value); return *this;}
84 inline JobListDescriptor& WithOperation(OperationName&& value) { SetOperation(std::move(value)); return *this;}
86
88
91 inline int GetPriority() const{ return m_priority; }
92 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
93 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
94 inline JobListDescriptor& WithPriority(int value) { SetPriority(value); return *this;}
96
98
101 inline const JobStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline JobListDescriptor& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
106 inline JobListDescriptor& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
114 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
115 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
116 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
117 inline JobListDescriptor& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
118 inline JobListDescriptor& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
120
122
126 inline const Aws::Utils::DateTime& GetTerminationDate() const{ return m_terminationDate; }
127 inline bool TerminationDateHasBeenSet() const { return m_terminationDateHasBeenSet; }
128 inline void SetTerminationDate(const Aws::Utils::DateTime& value) { m_terminationDateHasBeenSet = true; m_terminationDate = value; }
129 inline void SetTerminationDate(Aws::Utils::DateTime&& value) { m_terminationDateHasBeenSet = true; m_terminationDate = std::move(value); }
131 inline JobListDescriptor& WithTerminationDate(Aws::Utils::DateTime&& value) { SetTerminationDate(std::move(value)); return *this;}
133
135
139 inline const JobProgressSummary& GetProgressSummary() const{ return m_progressSummary; }
140 inline bool ProgressSummaryHasBeenSet() const { return m_progressSummaryHasBeenSet; }
141 inline void SetProgressSummary(const JobProgressSummary& value) { m_progressSummaryHasBeenSet = true; m_progressSummary = value; }
142 inline void SetProgressSummary(JobProgressSummary&& value) { m_progressSummaryHasBeenSet = true; m_progressSummary = std::move(value); }
143 inline JobListDescriptor& WithProgressSummary(const JobProgressSummary& value) { SetProgressSummary(value); return *this;}
144 inline JobListDescriptor& WithProgressSummary(JobProgressSummary&& value) { SetProgressSummary(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_jobId;
149 bool m_jobIdHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 OperationName m_operation;
155 bool m_operationHasBeenSet = false;
156
157 int m_priority;
158 bool m_priorityHasBeenSet = false;
159
160 JobStatus m_status;
161 bool m_statusHasBeenSet = false;
162
163 Aws::Utils::DateTime m_creationTime;
164 bool m_creationTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_terminationDate;
167 bool m_terminationDateHasBeenSet = false;
168
169 JobProgressSummary m_progressSummary;
170 bool m_progressSummaryHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace S3Control
175} // namespace Aws
JobListDescriptor & WithCreationTime(Aws::Utils::DateTime &&value)
JobListDescriptor & WithDescription(const Aws::String &value)
JobListDescriptor & WithProgressSummary(JobProgressSummary &&value)
void SetOperation(OperationName &&value)
JobListDescriptor & WithJobId(Aws::String &&value)
AWS_S3CONTROL_API JobListDescriptor(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOperation(const OperationName &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const JobProgressSummary & GetProgressSummary() const
const Aws::Utils::DateTime & GetCreationTime() const
JobListDescriptor & WithTerminationDate(const Aws::Utils::DateTime &value)
void SetTerminationDate(Aws::Utils::DateTime &&value)
JobListDescriptor & WithStatus(const JobStatus &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
JobListDescriptor & WithDescription(const char *value)
void SetTerminationDate(const Aws::Utils::DateTime &value)
const OperationName & GetOperation() const
void SetJobId(const Aws::String &value)
JobListDescriptor & WithJobId(const char *value)
const Aws::Utils::DateTime & GetTerminationDate() const
JobListDescriptor & WithOperation(const OperationName &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetDescription() const
JobListDescriptor & WithJobId(const Aws::String &value)
JobListDescriptor & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_S3CONTROL_API JobListDescriptor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobListDescriptor & WithProgressSummary(const JobProgressSummary &value)
JobListDescriptor & WithTerminationDate(Aws::Utils::DateTime &&value)
void SetProgressSummary(JobProgressSummary &&value)
JobListDescriptor & WithStatus(JobStatus &&value)
JobListDescriptor & WithDescription(Aws::String &&value)
void SetProgressSummary(const JobProgressSummary &value)
void SetDescription(const Aws::String &value)
JobListDescriptor & WithOperation(OperationName &&value)
JobListDescriptor & WithPriority(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String