AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateJobStatusRequest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/RequestedJobStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace S3Control
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_S3CONTROL_API UpdateJobStatusRequest();
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_S3CONTROL_API Aws::String SerializePayload() const override;
38
39 AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
46 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
47
49
53 inline const Aws::String& GetAccountId() const{ return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
58 inline UpdateJobStatusRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
59 inline UpdateJobStatusRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline UpdateJobStatusRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
67 inline const Aws::String& GetJobId() const{ return m_jobId; }
68 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
69 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
70 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
71 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
72 inline UpdateJobStatusRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
73 inline UpdateJobStatusRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
74 inline UpdateJobStatusRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
76
78
81 inline const RequestedJobStatus& GetRequestedJobStatus() const{ return m_requestedJobStatus; }
82 inline bool RequestedJobStatusHasBeenSet() const { return m_requestedJobStatusHasBeenSet; }
83 inline void SetRequestedJobStatus(const RequestedJobStatus& value) { m_requestedJobStatusHasBeenSet = true; m_requestedJobStatus = value; }
84 inline void SetRequestedJobStatus(RequestedJobStatus&& value) { m_requestedJobStatusHasBeenSet = true; m_requestedJobStatus = std::move(value); }
88
90
94 inline const Aws::String& GetStatusUpdateReason() const{ return m_statusUpdateReason; }
95 inline bool StatusUpdateReasonHasBeenSet() const { return m_statusUpdateReasonHasBeenSet; }
96 inline void SetStatusUpdateReason(const Aws::String& value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason = value; }
97 inline void SetStatusUpdateReason(Aws::String&& value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason = std::move(value); }
98 inline void SetStatusUpdateReason(const char* value) { m_statusUpdateReasonHasBeenSet = true; m_statusUpdateReason.assign(value); }
100 inline UpdateJobStatusRequest& WithStatusUpdateReason(Aws::String&& value) { SetStatusUpdateReason(std::move(value)); return *this;}
101 inline UpdateJobStatusRequest& WithStatusUpdateReason(const char* value) { SetStatusUpdateReason(value); return *this;}
103 private:
104
105 Aws::String m_accountId;
106 bool m_accountIdHasBeenSet = false;
107
108 Aws::String m_jobId;
109 bool m_jobIdHasBeenSet = false;
110
111 RequestedJobStatus m_requestedJobStatus;
112 bool m_requestedJobStatusHasBeenSet = false;
113
114 Aws::String m_statusUpdateReason;
115 bool m_statusUpdateReasonHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace S3Control
120} // namespace Aws
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateJobStatusRequest & WithRequestedJobStatus(RequestedJobStatus &&value)
UpdateJobStatusRequest & WithAccountId(const char *value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateJobStatusRequest & WithJobId(const char *value)
UpdateJobStatusRequest & WithJobId(const Aws::String &value)
void SetRequestedJobStatus(RequestedJobStatus &&value)
UpdateJobStatusRequest & WithStatusUpdateReason(const char *value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
UpdateJobStatusRequest & WithStatusUpdateReason(const Aws::String &value)
UpdateJobStatusRequest & WithAccountId(Aws::String &&value)
UpdateJobStatusRequest & WithAccountId(const Aws::String &value)
UpdateJobStatusRequest & WithStatusUpdateReason(Aws::String &&value)
UpdateJobStatusRequest & WithRequestedJobStatus(const RequestedJobStatus &value)
const RequestedJobStatus & GetRequestedJobStatus() const
UpdateJobStatusRequest & WithJobId(Aws::String &&value)
void SetRequestedJobStatus(const RequestedJobStatus &value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String