AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateJobPriorityRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace S3Control
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_S3CONTROL_API UpdateJobPriorityRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateJobPriority"; }
35
36 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
37
38 AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
45 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
46
48
52 inline const Aws::String& GetAccountId() const { return m_accountId; }
53 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
54 template<typename AccountIdT = Aws::String>
55 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
56 template<typename AccountIdT = Aws::String>
57 UpdateJobPriorityRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetJobId() const { return m_jobId; }
65 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
66 template<typename JobIdT = Aws::String>
67 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
68 template<typename JobIdT = Aws::String>
69 UpdateJobPriorityRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
71
73
76 inline int GetPriority() const { return m_priority; }
77 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
78 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
79 inline UpdateJobPriorityRequest& WithPriority(int value) { SetPriority(value); return *this;}
81 private:
82
83 Aws::String m_accountId;
84 bool m_accountIdHasBeenSet = false;
85
86 Aws::String m_jobId;
87 bool m_jobIdHasBeenSet = false;
88
89 int m_priority{0};
90 bool m_priorityHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace S3Control
95} // 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