AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateJobPriorityResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Xml {
18class XmlDocument;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control {
22namespace Model {
24 public:
25 AWS_S3CONTROL_API UpdateJobPriorityResult() = default;
28
30
33 inline const Aws::String& GetJobId() const { return m_jobId; }
34 template <typename JobIdT = Aws::String>
35 void SetJobId(JobIdT&& value) {
36 m_jobIdHasBeenSet = true;
37 m_jobId = std::forward<JobIdT>(value);
38 }
39 template <typename JobIdT = Aws::String>
41 SetJobId(std::forward<JobIdT>(value));
42 return *this;
43 }
45
47
50 inline int GetPriority() const { return m_priority; }
51 inline void SetPriority(int value) {
52 m_priorityHasBeenSet = true;
53 m_priority = value;
54 }
56 SetPriority(value);
57 return *this;
58 }
60
62
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetHostId() const { return m_hostId; }
83 template <typename HostIdT = Aws::String>
84 void SetHostId(HostIdT&& value) {
85 m_hostIdHasBeenSet = true;
86 m_hostId = std::forward<HostIdT>(value);
87 }
88 template <typename HostIdT = Aws::String>
90 SetHostId(std::forward<HostIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_jobId;
96
97 int m_priority{0};
98
99 Aws::String m_requestId;
100
101 Aws::String m_hostId;
102 bool m_jobIdHasBeenSet = false;
103 bool m_priorityHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105 bool m_hostIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace S3Control
110} // namespace Aws
AWS_S3CONTROL_API UpdateJobPriorityResult()=default
UpdateJobPriorityResult & WithHostId(HostIdT &&value)
AWS_S3CONTROL_API UpdateJobPriorityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateJobPriorityResult & WithRequestId(RequestIdT &&value)
UpdateJobPriorityResult & WithPriority(int value)
UpdateJobPriorityResult & WithJobId(JobIdT &&value)
AWS_S3CONTROL_API UpdateJobPriorityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument