AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
InitiateMultipartUploadResult.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 {
30 public:
31 AWS_GLACIER_API InitiateMultipartUploadResult() = 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>
47 SetLocation(std::forward<LocationT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetUploadId() const { return m_uploadId; }
58 template <typename UploadIdT = Aws::String>
59 void SetUploadId(UploadIdT&& value) {
60 m_uploadIdHasBeenSet = true;
61 m_uploadId = std::forward<UploadIdT>(value);
62 }
63 template <typename UploadIdT = Aws::String>
65 SetUploadId(std::forward<UploadIdT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_location;
88
89 Aws::String m_uploadId;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_locationHasBeenSet = false;
94 bool m_uploadIdHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glacier
100} // namespace Aws
InitiateMultipartUploadResult & WithLocation(LocationT &&value)
InitiateMultipartUploadResult & WithUploadId(UploadIdT &&value)
AWS_GLACIER_API InitiateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLACIER_API InitiateMultipartUploadResult()=default
AWS_GLACIER_API InitiateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateMultipartUploadResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue