AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
UpdateJobPriorityResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace S3Control {
23namespace Model {
25 public:
26 AWS_S3CONTROL_API UpdateJobPriorityResult() = default;
29
31
34 inline const Aws::String& GetJobId() const { return m_jobId; }
35 template <typename JobIdT = Aws::String>
36 void SetJobId(JobIdT&& value) {
37 m_jobIdHasBeenSet = true;
38 m_jobId = std::forward<JobIdT>(value);
39 }
40 template <typename JobIdT = Aws::String>
42 SetJobId(std::forward<JobIdT>(value));
43 return *this;
44 }
46
48
51 inline int GetPriority() const { return m_priority; }
52 inline void SetPriority(int value) {
53 m_priorityHasBeenSet = true;
54 m_priority = value;
55 }
57 SetPriority(value);
58 return *this;
59 }
61
63
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetHostId() const { return m_hostId; }
84 template <typename HostIdT = Aws::String>
85 void SetHostId(HostIdT&& value) {
86 m_hostIdHasBeenSet = true;
87 m_hostId = std::forward<HostIdT>(value);
88 }
89 template <typename HostIdT = Aws::String>
91 SetHostId(std::forward<HostIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_jobId;
99
100 int m_priority{0};
101
102 Aws::String m_requestId;
103
104 Aws::String m_hostId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_jobIdHasBeenSet = false;
107 bool m_priorityHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109 bool m_hostIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace S3Control
114} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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