AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InitiateMultipartUploadResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
33 {
34 public:
35 AWS_GLACIER_API InitiateMultipartUploadResult() = default;
38
39
41
45 inline const Aws::String& GetLocation() const { return m_location; }
46 template<typename LocationT = Aws::String>
47 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
48 template<typename LocationT = Aws::String>
49 InitiateMultipartUploadResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
51
53
57 inline const Aws::String& GetUploadId() const { return m_uploadId; }
58 template<typename UploadIdT = Aws::String>
59 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::forward<UploadIdT>(value); }
60 template<typename UploadIdT = Aws::String>
61 InitiateMultipartUploadResult& WithUploadId(UploadIdT&& value) { SetUploadId(std::forward<UploadIdT>(value)); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 InitiateMultipartUploadResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::String m_location;
75 bool m_locationHasBeenSet = false;
76
77 Aws::String m_uploadId;
78 bool m_uploadIdHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Glacier
86} // 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