AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AbortMultipartUploadRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glacier {
15namespace Model {
16
28 public:
29 AWS_GLACIER_API AbortMultipartUploadRequest() = 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 "AbortMultipartUpload"; }
36
37 AWS_GLACIER_API Aws::String SerializePayload() const override;
38
40
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template <typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) {
51 m_accountIdHasBeenSet = true;
52 m_accountId = std::forward<AccountIdT>(value);
53 }
54 template <typename AccountIdT = Aws::String>
56 SetAccountId(std::forward<AccountIdT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetVaultName() const { return m_vaultName; }
66 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
67 template <typename VaultNameT = Aws::String>
68 void SetVaultName(VaultNameT&& value) {
69 m_vaultNameHasBeenSet = true;
70 m_vaultName = std::forward<VaultNameT>(value);
71 }
72 template <typename VaultNameT = Aws::String>
74 SetVaultName(std::forward<VaultNameT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetUploadId() const { return m_uploadId; }
84 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
85 template <typename UploadIdT = Aws::String>
86 void SetUploadId(UploadIdT&& value) {
87 m_uploadIdHasBeenSet = true;
88 m_uploadId = std::forward<UploadIdT>(value);
89 }
90 template <typename UploadIdT = Aws::String>
92 SetUploadId(std::forward<UploadIdT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_accountId;
98
99 Aws::String m_vaultName;
100
101 Aws::String m_uploadId;
102 bool m_accountIdHasBeenSet = false;
103 bool m_vaultNameHasBeenSet = false;
104 bool m_uploadIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Glacier
109} // namespace Aws
AbortMultipartUploadRequest & WithAccountId(AccountIdT &&value)
AbortMultipartUploadRequest & WithVaultName(VaultNameT &&value)
virtual const char * GetServiceRequestName() const override
AbortMultipartUploadRequest & WithUploadId(UploadIdT &&value)
AWS_GLACIER_API Aws::String SerializePayload() const override
AWS_GLACIER_API AbortMultipartUploadRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String