AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
InitiateJobResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Glacier {
22namespace Model {
30 public:
31 AWS_GLACIER_API InitiateJobResult() = default;
34
36
39 inline const Aws::String& GetLocation() const { return m_location; }
40 template <typename LocationT = Aws::String>
41 void SetLocation(LocationT&& value) {
42 m_locationHasBeenSet = true;
43 m_location = std::forward<LocationT>(value);
44 }
45 template <typename LocationT = Aws::String>
46 InitiateJobResult& WithLocation(LocationT&& value) {
47 SetLocation(std::forward<LocationT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetJobId() const { return m_jobId; }
57 template <typename JobIdT = Aws::String>
58 void SetJobId(JobIdT&& value) {
59 m_jobIdHasBeenSet = true;
60 m_jobId = std::forward<JobIdT>(value);
61 }
62 template <typename JobIdT = Aws::String>
63 InitiateJobResult& WithJobId(JobIdT&& value) {
64 SetJobId(std::forward<JobIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetJobOutputPath() const { return m_jobOutputPath; }
74 template <typename JobOutputPathT = Aws::String>
75 void SetJobOutputPath(JobOutputPathT&& value) {
76 m_jobOutputPathHasBeenSet = true;
77 m_jobOutputPath = std::forward<JobOutputPathT>(value);
78 }
79 template <typename JobOutputPathT = Aws::String>
80 InitiateJobResult& WithJobOutputPath(JobOutputPathT&& value) {
81 SetJobOutputPath(std::forward<JobOutputPathT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
95 InitiateJobResult& WithRequestId(RequestIdT&& value) {
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_location;
102
103 Aws::String m_jobId;
104
105 Aws::String m_jobOutputPath;
106
107 Aws::String m_requestId;
108 bool m_locationHasBeenSet = false;
109 bool m_jobIdHasBeenSet = false;
110 bool m_jobOutputPathHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace Glacier
116} // namespace Aws
void SetJobOutputPath(JobOutputPathT &&value)
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