AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InitiateMultipartUploadRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glacier
15{
16namespace Model
17{
18
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "InitiateMultipartUpload"; }
35
36 AWS_GLACIER_API Aws::String SerializePayload() const override;
37
39
40
42
49 inline const Aws::String& GetAccountId() const{ return m_accountId; }
50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
52 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
53 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
54 inline InitiateMultipartUploadRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
55 inline InitiateMultipartUploadRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
56 inline InitiateMultipartUploadRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
58
60
63 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
64 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
65 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
66 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
67 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
68 inline InitiateMultipartUploadRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
69 inline InitiateMultipartUploadRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
70 inline InitiateMultipartUploadRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
72
74
80 inline const Aws::String& GetArchiveDescription() const{ return m_archiveDescription; }
81 inline bool ArchiveDescriptionHasBeenSet() const { return m_archiveDescriptionHasBeenSet; }
82 inline void SetArchiveDescription(const Aws::String& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = value; }
83 inline void SetArchiveDescription(Aws::String&& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = std::move(value); }
84 inline void SetArchiveDescription(const char* value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription.assign(value); }
87 inline InitiateMultipartUploadRequest& WithArchiveDescription(const char* value) { SetArchiveDescription(value); return *this;}
89
91
95 inline const Aws::String& GetPartSize() const{ return m_partSize; }
96 inline bool PartSizeHasBeenSet() const { return m_partSizeHasBeenSet; }
97 inline void SetPartSize(const Aws::String& value) { m_partSizeHasBeenSet = true; m_partSize = value; }
98 inline void SetPartSize(Aws::String&& value) { m_partSizeHasBeenSet = true; m_partSize = std::move(value); }
99 inline void SetPartSize(const char* value) { m_partSizeHasBeenSet = true; m_partSize.assign(value); }
100 inline InitiateMultipartUploadRequest& WithPartSize(const Aws::String& value) { SetPartSize(value); return *this;}
101 inline InitiateMultipartUploadRequest& WithPartSize(Aws::String&& value) { SetPartSize(std::move(value)); return *this;}
102 inline InitiateMultipartUploadRequest& WithPartSize(const char* value) { SetPartSize(value); return *this;}
104 private:
105
106 Aws::String m_accountId;
107 bool m_accountIdHasBeenSet = false;
108
109 Aws::String m_vaultName;
110 bool m_vaultNameHasBeenSet = false;
111
112 Aws::String m_archiveDescription;
113 bool m_archiveDescriptionHasBeenSet = false;
114
115 Aws::String m_partSize;
116 bool m_partSizeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glacier
121} // namespace Aws
AWS_GLACIER_API Aws::String SerializePayload() const override
InitiateMultipartUploadRequest & WithAccountId(Aws::String &&value)
InitiateMultipartUploadRequest & WithPartSize(const Aws::String &value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
InitiateMultipartUploadRequest & WithArchiveDescription(const Aws::String &value)
InitiateMultipartUploadRequest & WithArchiveDescription(const char *value)
InitiateMultipartUploadRequest & WithVaultName(Aws::String &&value)
InitiateMultipartUploadRequest & WithAccountId(const char *value)
InitiateMultipartUploadRequest & WithVaultName(const char *value)
InitiateMultipartUploadRequest & WithVaultName(const Aws::String &value)
InitiateMultipartUploadRequest & WithArchiveDescription(Aws::String &&value)
InitiateMultipartUploadRequest & WithPartSize(const char *value)
InitiateMultipartUploadRequest & WithPartSize(Aws::String &&value)
InitiateMultipartUploadRequest & WithAccountId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String