AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateJobPriorityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace S3Control {
18namespace Model {
19
23 public:
24 AWS_S3CONTROL_API UpdateJobPriorityRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateJobPriority"; }
31
32 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
33
34 AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
42
44
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template <typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) {
52 m_accountIdHasBeenSet = true;
53 m_accountId = std::forward<AccountIdT>(value);
54 }
55 template <typename AccountIdT = Aws::String>
57 SetAccountId(std::forward<AccountIdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetJobId() const { return m_jobId; }
67 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
68 template <typename JobIdT = Aws::String>
69 void SetJobId(JobIdT&& value) {
70 m_jobIdHasBeenSet = true;
71 m_jobId = std::forward<JobIdT>(value);
72 }
73 template <typename JobIdT = Aws::String>
75 SetJobId(std::forward<JobIdT>(value));
76 return *this;
77 }
79
81
84 inline int GetPriority() const { return m_priority; }
85 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
86 inline void SetPriority(int value) {
87 m_priorityHasBeenSet = true;
88 m_priority = value;
89 }
91 SetPriority(value);
92 return *this;
93 }
95 private:
96 Aws::String m_accountId;
97
98 Aws::String m_jobId;
99
100 int m_priority{0};
101 bool m_accountIdHasBeenSet = false;
102 bool m_jobIdHasBeenSet = false;
103 bool m_priorityHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace S3Control
108} // namespace Aws
AWS_S3CONTROL_API UpdateJobPriorityRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateJobPriorityRequest & WithPriority(int value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateJobPriorityRequest & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
UpdateJobPriorityRequest & WithJobId(JobIdT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String