AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UploadMultipartPartRequest.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glacier
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_GLACIER_API UploadMultipartPartRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UploadMultipartPart"; }
36
38
39
41
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 UploadMultipartPartRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetVaultName() const { return m_vaultName; }
61 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
62 template<typename VaultNameT = Aws::String>
63 void SetVaultName(VaultNameT&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::forward<VaultNameT>(value); }
64 template<typename VaultNameT = Aws::String>
65 UploadMultipartPartRequest& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetUploadId() const { return m_uploadId; }
73 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
74 template<typename UploadIdT = Aws::String>
75 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::forward<UploadIdT>(value); }
76 template<typename UploadIdT = Aws::String>
77 UploadMultipartPartRequest& WithUploadId(UploadIdT&& value) { SetUploadId(std::forward<UploadIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetChecksum() const { return m_checksum; }
85 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
86 template<typename ChecksumT = Aws::String>
87 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
88 template<typename ChecksumT = Aws::String>
89 UploadMultipartPartRequest& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
91
93
99 inline const Aws::String& GetRange() const { return m_range; }
100 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
101 template<typename RangeT = Aws::String>
102 void SetRange(RangeT&& value) { m_rangeHasBeenSet = true; m_range = std::forward<RangeT>(value); }
103 template<typename RangeT = Aws::String>
104 UploadMultipartPartRequest& WithRange(RangeT&& value) { SetRange(std::forward<RangeT>(value)); return *this;}
106 private:
107
108 Aws::String m_accountId;
109 bool m_accountIdHasBeenSet = false;
110
111 Aws::String m_vaultName;
112 bool m_vaultNameHasBeenSet = false;
113
114 Aws::String m_uploadId;
115 bool m_uploadIdHasBeenSet = false;
116
117 Aws::String m_checksum;
118 bool m_checksumHasBeenSet = false;
119
120 Aws::String m_range;
121 bool m_rangeHasBeenSet = false;
122
123 };
124
125} // namespace Model
126} // namespace Glacier
127} // 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