AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
InitiateJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glacier {
23namespace Model {
31 public:
32 AWS_GLACIER_API InitiateJobResult() = default;
35
37
40 inline const Aws::String& GetLocation() const { return m_location; }
41 template <typename LocationT = Aws::String>
42 void SetLocation(LocationT&& value) {
43 m_locationHasBeenSet = true;
44 m_location = std::forward<LocationT>(value);
45 }
46 template <typename LocationT = Aws::String>
47 InitiateJobResult& WithLocation(LocationT&& value) {
48 SetLocation(std::forward<LocationT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetJobId() const { return m_jobId; }
58 template <typename JobIdT = Aws::String>
59 void SetJobId(JobIdT&& value) {
60 m_jobIdHasBeenSet = true;
61 m_jobId = std::forward<JobIdT>(value);
62 }
63 template <typename JobIdT = Aws::String>
64 InitiateJobResult& WithJobId(JobIdT&& value) {
65 SetJobId(std::forward<JobIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJobOutputPath() const { return m_jobOutputPath; }
75 template <typename JobOutputPathT = Aws::String>
76 void SetJobOutputPath(JobOutputPathT&& value) {
77 m_jobOutputPathHasBeenSet = true;
78 m_jobOutputPath = std::forward<JobOutputPathT>(value);
79 }
80 template <typename JobOutputPathT = Aws::String>
81 InitiateJobResult& WithJobOutputPath(JobOutputPathT&& value) {
82 SetJobOutputPath(std::forward<JobOutputPathT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
96 InitiateJobResult& WithRequestId(RequestIdT&& value) {
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_location;
105
106 Aws::String m_jobId;
107
108 Aws::String m_jobOutputPath;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_locationHasBeenSet = false;
113 bool m_jobIdHasBeenSet = false;
114 bool m_jobOutputPathHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Glacier
120} // namespace Aws
void SetJobOutputPath(JobOutputPathT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
InitiateJobResult & WithJobOutputPath(JobOutputPathT &&value)
InitiateJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetJobId() const
const Aws::String & GetLocation() const
const Aws::String & GetRequestId() const
AWS_GLACIER_API InitiateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateJobResult & WithLocation(LocationT &&value)
AWS_GLACIER_API InitiateJobResult()=default
const Aws::String & GetJobOutputPath() const
InitiateJobResult & WithJobId(JobIdT &&value)
AWS_GLACIER_API InitiateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue