AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
UploadMultipartPartRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/GlacierRequest.h>
10#include <aws/glacier/Glacier_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glacier {
16namespace Model {
17
25 public:
26 AWS_GLACIER_API UploadMultipartPartRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UploadMultipartPart"; }
33
35
37
44 inline const Aws::String& GetAccountId() const { return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 template <typename AccountIdT = Aws::String>
47 void SetAccountId(AccountIdT&& value) {
48 m_accountIdHasBeenSet = true;
49 m_accountId = std::forward<AccountIdT>(value);
50 }
51 template <typename AccountIdT = Aws::String>
53 SetAccountId(std::forward<AccountIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetVaultName() const { return m_vaultName; }
63 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
64 template <typename VaultNameT = Aws::String>
65 void SetVaultName(VaultNameT&& value) {
66 m_vaultNameHasBeenSet = true;
67 m_vaultName = std::forward<VaultNameT>(value);
68 }
69 template <typename VaultNameT = Aws::String>
71 SetVaultName(std::forward<VaultNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetUploadId() const { return m_uploadId; }
81 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
82 template <typename UploadIdT = Aws::String>
83 void SetUploadId(UploadIdT&& value) {
84 m_uploadIdHasBeenSet = true;
85 m_uploadId = std::forward<UploadIdT>(value);
86 }
87 template <typename UploadIdT = Aws::String>
89 SetUploadId(std::forward<UploadIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetChecksum() const { return m_checksum; }
99 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
100 template <typename ChecksumT = Aws::String>
101 void SetChecksum(ChecksumT&& value) {
102 m_checksumHasBeenSet = true;
103 m_checksum = std::forward<ChecksumT>(value);
104 }
105 template <typename ChecksumT = Aws::String>
107 SetChecksum(std::forward<ChecksumT>(value));
108 return *this;
109 }
111
113
119 inline const Aws::String& GetRange() const { return m_range; }
120 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
121 template <typename RangeT = Aws::String>
122 void SetRange(RangeT&& value) {
123 m_rangeHasBeenSet = true;
124 m_range = std::forward<RangeT>(value);
125 }
126 template <typename RangeT = Aws::String>
128 SetRange(std::forward<RangeT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_accountId;
134
135 Aws::String m_vaultName;
136
137 Aws::String m_uploadId;
138
139 Aws::String m_checksum;
140
141 Aws::String m_range;
142
143 bool m_accountIdHasBeenSet = false;
144 bool m_vaultNameHasBeenSet = false;
145 bool m_uploadIdHasBeenSet = false;
146 bool m_checksumHasBeenSet = false;
147 bool m_rangeHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace Glacier
152} // namespace Aws
UploadMultipartPartRequest & WithChecksum(ChecksumT &&value)
UploadMultipartPartRequest & WithVaultName(VaultNameT &&value)
UploadMultipartPartRequest & WithRange(RangeT &&value)
UploadMultipartPartRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API UploadMultipartPartRequest()=default
virtual const char * GetServiceRequestName() const override
UploadMultipartPartRequest & WithUploadId(UploadIdT &&value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String