AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CompleteMultipartUploadResult.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{
38 {
39 public:
40 AWS_GLACIER_API CompleteMultipartUploadResult() = default;
43
44
46
49 inline const Aws::String& GetLocation() const { return m_location; }
50 template<typename LocationT = Aws::String>
51 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
52 template<typename LocationT = Aws::String>
53 CompleteMultipartUploadResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
55
57
60 inline const Aws::String& GetChecksum() const { return m_checksum; }
61 template<typename ChecksumT = Aws::String>
62 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
63 template<typename ChecksumT = Aws::String>
64 CompleteMultipartUploadResult& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
66
68
72 inline const Aws::String& GetArchiveId() const { return m_archiveId; }
73 template<typename ArchiveIdT = Aws::String>
74 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet = true; m_archiveId = std::forward<ArchiveIdT>(value); }
75 template<typename ArchiveIdT = Aws::String>
76 CompleteMultipartUploadResult& WithArchiveId(ArchiveIdT&& value) { SetArchiveId(std::forward<ArchiveIdT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 CompleteMultipartUploadResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_location;
90 bool m_locationHasBeenSet = false;
91
92 Aws::String m_checksum;
93 bool m_checksumHasBeenSet = false;
94
95 Aws::String m_archiveId;
96 bool m_archiveIdHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glacier
104} // namespace Aws
CompleteMultipartUploadResult & WithRequestId(RequestIdT &&value)
AWS_GLACIER_API CompleteMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CompleteMultipartUploadResult & WithChecksum(ChecksumT &&value)
CompleteMultipartUploadResult & WithArchiveId(ArchiveIdT &&value)
CompleteMultipartUploadResult & WithLocation(LocationT &&value)
AWS_GLACIER_API CompleteMultipartUploadResult()=default
AWS_GLACIER_API CompleteMultipartUploadResult(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