AWS SDK for C++  1.8.182
AWS SDK for C++
UpdateJobPriorityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace S3Control
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
41 
42 
46  inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 
51  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 
56  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
57 
61  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
62 
66  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
67 
71  inline UpdateJobPriorityRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
72 
76  inline UpdateJobPriorityRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
77 
81  inline UpdateJobPriorityRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetJobId() const{ return m_jobId; }
88 
92  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
93 
97  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
98 
102  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
103 
107  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
108 
112  inline UpdateJobPriorityRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
113 
117  inline UpdateJobPriorityRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
118 
122  inline UpdateJobPriorityRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
123 
124 
128  inline int GetPriority() const{ return m_priority; }
129 
133  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
134 
138  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
139 
143  inline UpdateJobPriorityRequest& WithPriority(int value) { SetPriority(value); return *this;}
144 
145  private:
146 
147  Aws::String m_accountId;
148  bool m_accountIdHasBeenSet;
149 
150  Aws::String m_jobId;
151  bool m_jobIdHasBeenSet;
152 
153  int m_priority;
154  bool m_priorityHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace S3Control
159 } // namespace Aws
Aws::S3Control::Model::UpdateJobPriorityRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: UpdateJobPriorityRequest.h:102
Aws::Http::URI
Definition: URI.h:32
Aws::S3Control::Model::UpdateJobPriorityRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: UpdateJobPriorityRequest.h:46
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::S3Control::Model::UpdateJobPriorityRequest::GetJobId
const Aws::String & GetJobId() const
Definition: UpdateJobPriorityRequest.h:87
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::UpdateJobPriorityRequest::WithAccountId
UpdateJobPriorityRequest & WithAccountId(const Aws::String &value)
Definition: UpdateJobPriorityRequest.h:71
Aws::S3Control::Model::UpdateJobPriorityRequest::WithJobId
UpdateJobPriorityRequest & WithJobId(const Aws::String &value)
Definition: UpdateJobPriorityRequest.h:112
Aws::S3Control::Model::UpdateJobPriorityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::UpdateJobPriorityRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: UpdateJobPriorityRequest.h:56
Aws::S3Control::Model::UpdateJobPriorityRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: UpdateJobPriorityRequest.h:97
Aws::S3Control::Model::UpdateJobPriorityRequest::SetJobId
void SetJobId(const char *value)
Definition: UpdateJobPriorityRequest.h:107
Aws::S3Control::Model::UpdateJobPriorityRequest::WithAccountId
UpdateJobPriorityRequest & WithAccountId(Aws::String &&value)
Definition: UpdateJobPriorityRequest.h:76
Aws::S3Control::Model::UpdateJobPriorityRequest::SetAccountId
void SetAccountId(const char *value)
Definition: UpdateJobPriorityRequest.h:66
Aws::S3Control::Model::UpdateJobPriorityRequest::WithJobId
UpdateJobPriorityRequest & WithJobId(Aws::String &&value)
Definition: UpdateJobPriorityRequest.h:117
Aws::S3Control::Model::UpdateJobPriorityRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3Control::Model::UpdateJobPriorityRequest::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: UpdateJobPriorityRequest.h:133
S3Control_EXPORTS.h
Aws::S3Control::Model::UpdateJobPriorityRequest::SetPriority
void SetPriority(int value)
Definition: UpdateJobPriorityRequest.h:138
Aws::S3Control::Model::UpdateJobPriorityRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: UpdateJobPriorityRequest.h:51
Aws::S3Control::Model::UpdateJobPriorityRequest::GetPriority
int GetPriority() const
Definition: UpdateJobPriorityRequest.h:128
Aws::S3Control::Model::UpdateJobPriorityRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: UpdateJobPriorityRequest.h:61
Aws::S3Control::Model::UpdateJobPriorityRequest::WithJobId
UpdateJobPriorityRequest & WithJobId(const char *value)
Definition: UpdateJobPriorityRequest.h:122
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::UpdateJobPriorityRequest::WithPriority
UpdateJobPriorityRequest & WithPriority(int value)
Definition: UpdateJobPriorityRequest.h:143
AWSString.h
Aws::S3Control::Model::UpdateJobPriorityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::UpdateJobPriorityRequest::UpdateJobPriorityRequest
UpdateJobPriorityRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::UpdateJobPriorityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateJobPriorityRequest.h:34
Aws::S3Control::Model::UpdateJobPriorityRequest::WithAccountId
UpdateJobPriorityRequest & WithAccountId(const char *value)
Definition: UpdateJobPriorityRequest.h:81
Aws::S3Control::Model::UpdateJobPriorityRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: UpdateJobPriorityRequest.h:92
Aws::S3Control::Model::UpdateJobPriorityRequest
Definition: UpdateJobPriorityRequest.h:26