AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline UploadMultipartPartRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline UploadMultipartPartRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline UploadMultipartPartRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
63 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
64 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
65 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
66 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
67 inline UploadMultipartPartRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
68 inline UploadMultipartPartRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
69 inline UploadMultipartPartRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
71
73
76 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
77 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
78 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
79 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
80 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
81 inline UploadMultipartPartRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
82 inline UploadMultipartPartRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
83 inline UploadMultipartPartRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
85
87
90 inline const Aws::String& GetChecksum() const{ return m_checksum; }
91 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
92 inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
93 inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
94 inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
95 inline UploadMultipartPartRequest& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
96 inline UploadMultipartPartRequest& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
97 inline UploadMultipartPartRequest& WithChecksum(const char* value) { SetChecksum(value); return *this;}
99
101
107 inline const Aws::String& GetRange() const{ return m_range; }
108 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
109 inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
110 inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
111 inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
112 inline UploadMultipartPartRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
113 inline UploadMultipartPartRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
114 inline UploadMultipartPartRequest& WithRange(const char* value) { SetRange(value); return *this;}
116 private:
117
118 Aws::String m_accountId;
119 bool m_accountIdHasBeenSet = false;
120
121 Aws::String m_vaultName;
122 bool m_vaultNameHasBeenSet = false;
123
124 Aws::String m_uploadId;
125 bool m_uploadIdHasBeenSet = false;
126
127 Aws::String m_checksum;
128 bool m_checksumHasBeenSet = false;
129
130 Aws::String m_range;
131 bool m_rangeHasBeenSet = false;
132
133 };
134
135} // namespace Model
136} // namespace Glacier
137} // namespace Aws
UploadMultipartPartRequest & WithRange(const char *value)
UploadMultipartPartRequest & WithVaultName(const char *value)
UploadMultipartPartRequest & WithAccountId(const char *value)
UploadMultipartPartRequest & WithChecksum(const Aws::String &value)
UploadMultipartPartRequest & WithRange(const Aws::String &value)
UploadMultipartPartRequest & WithAccountId(Aws::String &&value)
UploadMultipartPartRequest & WithVaultName(Aws::String &&value)
UploadMultipartPartRequest & WithUploadId(const char *value)
UploadMultipartPartRequest & WithChecksum(const char *value)
UploadMultipartPartRequest & WithUploadId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UploadMultipartPartRequest & WithRange(Aws::String &&value)
UploadMultipartPartRequest & WithUploadId(const Aws::String &value)
UploadMultipartPartRequest & WithAccountId(const Aws::String &value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UploadMultipartPartRequest & WithChecksum(Aws::String &&value)
UploadMultipartPartRequest & WithVaultName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String