AWS SDK for C++  1.8.154
AWS SDK for C++
UpdateJobStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace S3Control
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetJobId() const{ return m_jobId; }
40 
44  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
45 
49  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
50 
54  inline void SetJobId(const char* value) { m_jobId.assign(value); }
55 
59  inline UpdateJobStatusResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
60 
64  inline UpdateJobStatusResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
65 
69  inline UpdateJobStatusResult& WithJobId(const char* value) { SetJobId(value); return *this;}
70 
71 
75  inline const JobStatus& GetStatus() const{ return m_status; }
76 
80  inline void SetStatus(const JobStatus& value) { m_status = value; }
81 
85  inline void SetStatus(JobStatus&& value) { m_status = std::move(value); }
86 
90  inline UpdateJobStatusResult& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
91 
95  inline UpdateJobStatusResult& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
96 
97 
101  inline const Aws::String& GetStatusUpdateReason() const{ return m_statusUpdateReason; }
102 
106  inline void SetStatusUpdateReason(const Aws::String& value) { m_statusUpdateReason = value; }
107 
111  inline void SetStatusUpdateReason(Aws::String&& value) { m_statusUpdateReason = std::move(value); }
112 
116  inline void SetStatusUpdateReason(const char* value) { m_statusUpdateReason.assign(value); }
117 
121  inline UpdateJobStatusResult& WithStatusUpdateReason(const Aws::String& value) { SetStatusUpdateReason(value); return *this;}
122 
126  inline UpdateJobStatusResult& WithStatusUpdateReason(Aws::String&& value) { SetStatusUpdateReason(std::move(value)); return *this;}
127 
131  inline UpdateJobStatusResult& WithStatusUpdateReason(const char* value) { SetStatusUpdateReason(value); return *this;}
132 
133  private:
134 
135  Aws::String m_jobId;
136 
137  JobStatus m_status;
138 
139  Aws::String m_statusUpdateReason;
140  };
141 
142 } // namespace Model
143 } // namespace S3Control
144 } // namespace Aws
Aws::S3Control::Model::UpdateJobStatusResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: UpdateJobStatusResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::UpdateJobStatusResult::GetStatusUpdateReason
const Aws::String & GetStatusUpdateReason() const
Definition: UpdateJobStatusResult.h:101
Aws::S3Control::Model::UpdateJobStatusResult::GetJobId
const Aws::String & GetJobId() const
Definition: UpdateJobStatusResult.h:39
Aws::S3Control::Model::UpdateJobStatusResult::SetStatus
void SetStatus(const JobStatus &value)
Definition: UpdateJobStatusResult.h:80
Aws::S3Control::Model::UpdateJobStatusResult::WithStatus
UpdateJobStatusResult & WithStatus(JobStatus &&value)
Definition: UpdateJobStatusResult.h:95
Aws::S3Control::Model::UpdateJobStatusResult::WithStatus
UpdateJobStatusResult & WithStatus(const JobStatus &value)
Definition: UpdateJobStatusResult.h:90
Aws::S3Control::Model::UpdateJobStatusResult::SetStatusUpdateReason
void SetStatusUpdateReason(Aws::String &&value)
Definition: UpdateJobStatusResult.h:111
Aws::S3Control::Model::UpdateJobStatusResult::WithStatusUpdateReason
UpdateJobStatusResult & WithStatusUpdateReason(Aws::String &&value)
Definition: UpdateJobStatusResult.h:126
Aws::S3Control::Model::UpdateJobStatusResult::UpdateJobStatusResult
UpdateJobStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::UpdateJobStatusResult::GetStatus
const JobStatus & GetStatus() const
Definition: UpdateJobStatusResult.h:75
Aws::S3Control::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
S3Control_EXPORTS.h
Aws::S3Control::Model::UpdateJobStatusResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: UpdateJobStatusResult.h:44
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::UpdateJobStatusResult::SetStatusUpdateReason
void SetStatusUpdateReason(const Aws::String &value)
Definition: UpdateJobStatusResult.h:106
Aws::S3Control::Model::UpdateJobStatusResult::SetStatusUpdateReason
void SetStatusUpdateReason(const char *value)
Definition: UpdateJobStatusResult.h:116
AWSString.h
Aws::S3Control::Model::UpdateJobStatusResult::operator=
UpdateJobStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::UpdateJobStatusResult::SetJobId
void SetJobId(const char *value)
Definition: UpdateJobStatusResult.h:54
Aws::S3Control::Model::UpdateJobStatusResult
Definition: UpdateJobStatusResult.h:29
Aws::S3Control::Model::UpdateJobStatusResult::WithJobId
UpdateJobStatusResult & WithJobId(const char *value)
Definition: UpdateJobStatusResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::UpdateJobStatusResult::WithStatusUpdateReason
UpdateJobStatusResult & WithStatusUpdateReason(const char *value)
Definition: UpdateJobStatusResult.h:131
Aws::S3Control::Model::UpdateJobStatusResult::SetStatus
void SetStatus(JobStatus &&value)
Definition: UpdateJobStatusResult.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::UpdateJobStatusResult::WithStatusUpdateReason
UpdateJobStatusResult & WithStatusUpdateReason(const Aws::String &value)
Definition: UpdateJobStatusResult.h:121
JobStatus.h
Aws::S3Control::Model::UpdateJobStatusResult::WithJobId
UpdateJobStatusResult & WithJobId(Aws::String &&value)
Definition: UpdateJobStatusResult.h:64
Aws::S3Control::Model::UpdateJobStatusResult::UpdateJobStatusResult
UpdateJobStatusResult()
Aws::S3Control::Model::UpdateJobStatusResult::WithJobId
UpdateJobStatusResult & WithJobId(const Aws::String &value)
Definition: UpdateJobStatusResult.h:59