AWS SDK for C++  1.8.182
AWS SDK for C++
UpdateJobStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace S3Control
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateJobStatus"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
42 
43 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
52  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 
57  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
58 
62  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 
67  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
68 
72  inline UpdateJobStatusRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
73 
77  inline UpdateJobStatusRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
78 
82  inline UpdateJobStatusRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
83 
84 
88  inline const Aws::String& GetJobId() const{ return m_jobId; }
89 
93  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
94 
98  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
99 
103  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
104 
108  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
109 
113  inline UpdateJobStatusRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
114 
118  inline UpdateJobStatusRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
119 
123  inline UpdateJobStatusRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
124 
125 
129  inline const RequestedJobStatus& GetRequestedJobStatus() const{ return m_requestedJobStatus; }
130 
134  inline bool RequestedJobStatusHasBeenSet() const { return m_requestedJobStatusHasBeenSet; }
135 
139  inline void SetRequestedJobStatus(const RequestedJobStatus& value) { m_requestedJobStatusHasBeenSet = true; m_requestedJobStatus = value; }
140 
144  inline void SetRequestedJobStatus(RequestedJobStatus&& value) { m_requestedJobStatusHasBeenSet = true; m_requestedJobStatus = std::move(value); }
145 
149  inline UpdateJobStatusRequest& WithRequestedJobStatus(const RequestedJobStatus& value) { SetRequestedJobStatus(value); return *this;}
150 
154  inline UpdateJobStatusRequest& WithRequestedJobStatus(RequestedJobStatus&& value) { SetRequestedJobStatus(std::move(value)); return *this;}
155 
156 
161  inline const Aws::String& GetStatusUpdateReason() const{ return m_statusUpdateReason; }
162 
167  inline bool StatusUpdateReasonHasBeenSet() const { return m_statusUpdateReasonHasBeenSet; }
168 
173  inline void SetStatusUpdateReason(const Aws::String& value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason = value; }
174 
179  inline void SetStatusUpdateReason(Aws::String&& value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason = std::move(value); }
180 
185  inline void SetStatusUpdateReason(const char* value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason.assign(value); }
186 
191  inline UpdateJobStatusRequest& WithStatusUpdateReason(const Aws::String& value) { SetStatusUpdateReason(value); return *this;}
192 
197  inline UpdateJobStatusRequest& WithStatusUpdateReason(Aws::String&& value) { SetStatusUpdateReason(std::move(value)); return *this;}
198 
203  inline UpdateJobStatusRequest& WithStatusUpdateReason(const char* value) { SetStatusUpdateReason(value); return *this;}
204 
205  private:
206 
207  Aws::String m_accountId;
208  bool m_accountIdHasBeenSet;
209 
210  Aws::String m_jobId;
211  bool m_jobIdHasBeenSet;
212 
213  RequestedJobStatus m_requestedJobStatus;
214  bool m_requestedJobStatusHasBeenSet;
215 
216  Aws::String m_statusUpdateReason;
217  bool m_statusUpdateReasonHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace S3Control
222 } // namespace Aws
Aws::S3Control::Model::UpdateJobStatusRequest::GetStatusUpdateReason
const Aws::String & GetStatusUpdateReason() const
Definition: UpdateJobStatusRequest.h:161
Aws::S3Control::Model::UpdateJobStatusRequest::WithJobId
UpdateJobStatusRequest & WithJobId(const char *value)
Definition: UpdateJobStatusRequest.h:123
Aws::Http::URI
Definition: URI.h:32
Aws::S3Control::Model::UpdateJobStatusRequest::SetAccountId
void SetAccountId(const char *value)
Definition: UpdateJobStatusRequest.h:67
Aws::S3Control::Model::UpdateJobStatusRequest::UpdateJobStatusRequest
UpdateJobStatusRequest()
Aws::S3Control::Model::UpdateJobStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateJobStatusRequest.h:35
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::UpdateJobStatusRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: UpdateJobStatusRequest.h:93
Aws::S3Control::Model::UpdateJobStatusRequest::SetRequestedJobStatus
void SetRequestedJobStatus(RequestedJobStatus &&value)
Definition: UpdateJobStatusRequest.h:144
Aws::S3Control::Model::UpdateJobStatusRequest::StatusUpdateReasonHasBeenSet
bool StatusUpdateReasonHasBeenSet() const
Definition: UpdateJobStatusRequest.h:167
Aws::S3Control::Model::UpdateJobStatusRequest::WithJobId
UpdateJobStatusRequest & WithJobId(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:113
Aws::S3Control::Model::UpdateJobStatusRequest::SetStatusUpdateReason
void SetStatusUpdateReason(const char *value)
Definition: UpdateJobStatusRequest.h:185
Aws::S3Control::Model::UpdateJobStatusRequest::GetJobId
const Aws::String & GetJobId() const
Definition: UpdateJobStatusRequest.h:88
Aws::S3Control::Model::UpdateJobStatusRequest::WithStatusUpdateReason
UpdateJobStatusRequest & WithStatusUpdateReason(const char *value)
Definition: UpdateJobStatusRequest.h:203
Aws::S3Control::Model::UpdateJobStatusRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:98
Aws::S3Control::Model::UpdateJobStatusRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: UpdateJobStatusRequest.h:47
Aws::S3Control::Model::UpdateJobStatusRequest::SetRequestedJobStatus
void SetRequestedJobStatus(const RequestedJobStatus &value)
Definition: UpdateJobStatusRequest.h:139
Aws::S3Control::Model::UpdateJobStatusRequest::SetJobId
void SetJobId(const char *value)
Definition: UpdateJobStatusRequest.h:108
S3Control_EXPORTS.h
Aws::S3Control::Model::UpdateJobStatusRequest::GetRequestedJobStatus
const RequestedJobStatus & GetRequestedJobStatus() const
Definition: UpdateJobStatusRequest.h:129
Aws::S3Control::Model::UpdateJobStatusRequest::SetStatusUpdateReason
void SetStatusUpdateReason(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:179
Aws::S3Control::Model::RequestedJobStatus
RequestedJobStatus
Definition: RequestedJobStatus.h:17
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::UpdateJobStatusRequest::WithAccountId
UpdateJobStatusRequest & WithAccountId(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:77
Aws::S3Control::Model::UpdateJobStatusRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: UpdateJobStatusRequest.h:52
Aws::S3Control::Model::UpdateJobStatusRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3Control::Model::UpdateJobStatusRequest::WithStatusUpdateReason
UpdateJobStatusRequest & WithStatusUpdateReason(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:191
AWSString.h
Aws::S3Control::Model::UpdateJobStatusRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:62
Aws::S3Control::Model::UpdateJobStatusRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:103
Aws::S3Control::Model::UpdateJobStatusRequest::WithJobId
UpdateJobStatusRequest & WithJobId(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:118
Aws::S3Control::Model::UpdateJobStatusRequest::WithAccountId
UpdateJobStatusRequest & WithAccountId(const char *value)
Definition: UpdateJobStatusRequest.h:82
Aws::S3Control::Model::UpdateJobStatusRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::UpdateJobStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::UpdateJobStatusRequest::SetStatusUpdateReason
void SetStatusUpdateReason(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:173
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::UpdateJobStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Control::Model::UpdateJobStatusRequest::WithAccountId
UpdateJobStatusRequest & WithAccountId(const Aws::String &value)
Definition: UpdateJobStatusRequest.h:72
Aws::S3Control::Model::UpdateJobStatusRequest::WithStatusUpdateReason
UpdateJobStatusRequest & WithStatusUpdateReason(Aws::String &&value)
Definition: UpdateJobStatusRequest.h:197
RequestedJobStatus.h
Aws::S3Control::Model::UpdateJobStatusRequest::WithRequestedJobStatus
UpdateJobStatusRequest & WithRequestedJobStatus(const RequestedJobStatus &value)
Definition: UpdateJobStatusRequest.h:149
Aws::S3Control::Model::UpdateJobStatusRequest::RequestedJobStatusHasBeenSet
bool RequestedJobStatusHasBeenSet() const
Definition: UpdateJobStatusRequest.h:134
Aws::S3Control::Model::UpdateJobStatusRequest
Definition: UpdateJobStatusRequest.h:27
Aws::S3Control::Model::UpdateJobStatusRequest::WithRequestedJobStatus
UpdateJobStatusRequest & WithRequestedJobStatus(RequestedJobStatus &&value)
Definition: UpdateJobStatusRequest.h:154