AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
53 template<typename JobIdT = Aws::String>
54 JobListDescriptor& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
56
58
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 JobListDescriptor& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
75 inline OperationName GetOperation() const { return m_operation; }
76 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
77 inline void SetOperation(OperationName value) { m_operationHasBeenSet = true; m_operation = value; }
78 inline JobListDescriptor& WithOperation(OperationName value) { SetOperation(value); return *this;}
80
82
85 inline int GetPriority() const { return m_priority; }
86 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
87 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
88 inline JobListDescriptor& WithPriority(int value) { SetPriority(value); return *this;}
90
92
95 inline JobStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
98 inline JobListDescriptor& WithStatus(JobStatus value) { SetStatus(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
106 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
107 template<typename CreationTimeT = Aws::Utils::DateTime>
108 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
109 template<typename CreationTimeT = Aws::Utils::DateTime>
110 JobListDescriptor& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetTerminationDate() const { return m_terminationDate; }
119 inline bool TerminationDateHasBeenSet() const { return m_terminationDateHasBeenSet; }
120 template<typename TerminationDateT = Aws::Utils::DateTime>
121 void SetTerminationDate(TerminationDateT&& value) { m_terminationDateHasBeenSet = true; m_terminationDate = std::forward<TerminationDateT>(value); }
122 template<typename TerminationDateT = Aws::Utils::DateTime>
123 JobListDescriptor& WithTerminationDate(TerminationDateT&& value) { SetTerminationDate(std::forward<TerminationDateT>(value)); return *this;}
125
127
131 inline const JobProgressSummary& GetProgressSummary() const { return m_progressSummary; }
132 inline bool ProgressSummaryHasBeenSet() const { return m_progressSummaryHasBeenSet; }
133 template<typename ProgressSummaryT = JobProgressSummary>
134 void SetProgressSummary(ProgressSummaryT&& value) { m_progressSummaryHasBeenSet = true; m_progressSummary = std::forward<ProgressSummaryT>(value); }
135 template<typename ProgressSummaryT = JobProgressSummary>
136 JobListDescriptor& WithProgressSummary(ProgressSummaryT&& value) { SetProgressSummary(std::forward<ProgressSummaryT>(value)); return *this;}
138 private:
139
140 Aws::String m_jobId;
141 bool m_jobIdHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
147 bool m_operationHasBeenSet = false;
148
149 int m_priority{0};
150 bool m_priorityHasBeenSet = false;
151
153 bool m_statusHasBeenSet = false;
154
155 Aws::Utils::DateTime m_creationTime{};
156 bool m_creationTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_terminationDate{};
159 bool m_terminationDateHasBeenSet = false;
160
161 JobProgressSummary m_progressSummary;
162 bool m_progressSummaryHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace S3Control
167} // namespace Aws
AWS_S3CONTROL_API JobListDescriptor()=default
JobListDescriptor & WithOperation(OperationName value)
JobListDescriptor & WithCreationTime(CreationTimeT &&value)
AWS_S3CONTROL_API JobListDescriptor(const Aws::Utils::Xml::XmlNode &xmlNode)
JobListDescriptor & WithStatus(JobStatus value)
const JobProgressSummary & GetProgressSummary() const
const Aws::Utils::DateTime & GetCreationTime() const
JobListDescriptor & WithProgressSummary(ProgressSummaryT &&value)
JobListDescriptor & WithJobId(JobIdT &&value)
const Aws::Utils::DateTime & GetTerminationDate() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JobListDescriptor & WithTerminationDate(TerminationDateT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
AWS_S3CONTROL_API JobListDescriptor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetProgressSummary(ProgressSummaryT &&value)
JobListDescriptor & WithDescription(DescriptionT &&value)
JobListDescriptor & WithPriority(int value)
void SetCreationTime(CreationTimeT &&value)
void SetTerminationDate(TerminationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String