AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateJobStatusResult.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/JobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CONTROL_API UpdateJobStatusResult();
34
35
37
40 inline const Aws::String& GetJobId() const{ return m_jobId; }
41 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
42 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
43 inline void SetJobId(const char* value) { m_jobId.assign(value); }
44 inline UpdateJobStatusResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
45 inline UpdateJobStatusResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
46 inline UpdateJobStatusResult& WithJobId(const char* value) { SetJobId(value); return *this;}
48
50
53 inline const JobStatus& GetStatus() const{ return m_status; }
54 inline void SetStatus(const JobStatus& value) { m_status = value; }
55 inline void SetStatus(JobStatus&& value) { m_status = std::move(value); }
56 inline UpdateJobStatusResult& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
57 inline UpdateJobStatusResult& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetStatusUpdateReason() const{ return m_statusUpdateReason; }
65 inline void SetStatusUpdateReason(const Aws::String& value) { m_statusUpdateReason = value; }
66 inline void SetStatusUpdateReason(Aws::String&& value) { m_statusUpdateReason = std::move(value); }
67 inline void SetStatusUpdateReason(const char* value) { m_statusUpdateReason.assign(value); }
69 inline UpdateJobStatusResult& WithStatusUpdateReason(Aws::String&& value) { SetStatusUpdateReason(std::move(value)); return *this;}
70 inline UpdateJobStatusResult& WithStatusUpdateReason(const char* value) { SetStatusUpdateReason(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline UpdateJobStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline UpdateJobStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline UpdateJobStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_jobId;
86
87 JobStatus m_status;
88
89 Aws::String m_statusUpdateReason;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace S3Control
96} // namespace Aws
UpdateJobStatusResult & WithJobId(Aws::String &&value)
UpdateJobStatusResult & WithStatus(const JobStatus &value)
UpdateJobStatusResult & WithStatusUpdateReason(const char *value)
AWS_S3CONTROL_API UpdateJobStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateJobStatusResult & WithStatus(JobStatus &&value)
UpdateJobStatusResult & WithRequestId(const Aws::String &value)
UpdateJobStatusResult & WithRequestId(Aws::String &&value)
UpdateJobStatusResult & WithJobId(const char *value)
UpdateJobStatusResult & WithStatusUpdateReason(Aws::String &&value)
AWS_S3CONTROL_API UpdateJobStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateJobStatusResult & WithStatusUpdateReason(const Aws::String &value)
UpdateJobStatusResult & WithRequestId(const char *value)
UpdateJobStatusResult & WithJobId(const Aws::String &value)
void SetStatusUpdateReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument