AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateJobPriorityResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Control
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetJobId() const{ return m_jobId; }
39 
43  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
44 
48  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
49 
53  inline void SetJobId(const char* value) { m_jobId.assign(value); }
54 
58  inline UpdateJobPriorityResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
59 
63  inline UpdateJobPriorityResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
64 
68  inline UpdateJobPriorityResult& WithJobId(const char* value) { SetJobId(value); return *this;}
69 
70 
74  inline int GetPriority() const{ return m_priority; }
75 
79  inline void SetPriority(int value) { m_priority = value; }
80 
84  inline UpdateJobPriorityResult& WithPriority(int value) { SetPriority(value); return *this;}
85 
86  private:
87 
88  Aws::String m_jobId;
89 
90  int m_priority;
91  };
92 
93 } // namespace Model
94 } // namespace S3Control
95 } // namespace Aws
Aws::S3Control::Model::UpdateJobPriorityResult
Definition: UpdateJobPriorityResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::UpdateJobPriorityResult::SetPriority
void SetPriority(int value)
Definition: UpdateJobPriorityResult.h:79
Aws::S3Control::Model::UpdateJobPriorityResult::SetJobId
void SetJobId(const char *value)
Definition: UpdateJobPriorityResult.h:53
S3Control_EXPORTS.h
Aws::S3Control::Model::UpdateJobPriorityResult::UpdateJobPriorityResult
UpdateJobPriorityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::UpdateJobPriorityResult::WithJobId
UpdateJobPriorityResult & WithJobId(const char *value)
Definition: UpdateJobPriorityResult.h:68
Aws::S3Control::Model::UpdateJobPriorityResult::operator=
UpdateJobPriorityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::UpdateJobPriorityResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: UpdateJobPriorityResult.h:48
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::UpdateJobPriorityResult::WithPriority
UpdateJobPriorityResult & WithPriority(int value)
Definition: UpdateJobPriorityResult.h:84
AWSString.h
Aws::S3Control::Model::UpdateJobPriorityResult::WithJobId
UpdateJobPriorityResult & WithJobId(Aws::String &&value)
Definition: UpdateJobPriorityResult.h:63
Aws::S3Control::Model::UpdateJobPriorityResult::GetJobId
const Aws::String & GetJobId() const
Definition: UpdateJobPriorityResult.h:38
Aws::S3Control::Model::UpdateJobPriorityResult::GetPriority
int GetPriority() const
Definition: UpdateJobPriorityResult.h:74
Aws::S3Control::Model::UpdateJobPriorityResult::WithJobId
UpdateJobPriorityResult & WithJobId(const Aws::String &value)
Definition: UpdateJobPriorityResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::UpdateJobPriorityResult::UpdateJobPriorityResult
UpdateJobPriorityResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::UpdateJobPriorityResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: UpdateJobPriorityResult.h:43