AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AbortMultipartUploadRequest.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
30 {
31 public:
32 AWS_GLACIER_API AbortMultipartUploadRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "AbortMultipartUpload"; }
39
40 AWS_GLACIER_API Aws::String SerializePayload() const override;
41
42
44
51 inline const Aws::String& GetAccountId() const{ return m_accountId; }
52 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
55 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
56 inline AbortMultipartUploadRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
57 inline AbortMultipartUploadRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
58 inline AbortMultipartUploadRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
60
62
65 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
66 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
67 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
68 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
69 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
70 inline AbortMultipartUploadRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
71 inline AbortMultipartUploadRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
72 inline AbortMultipartUploadRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
74
76
79 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
80 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
81 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
82 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
83 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
84 inline AbortMultipartUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
85 inline AbortMultipartUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
86 inline AbortMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
88 private:
89
90 Aws::String m_accountId;
91 bool m_accountIdHasBeenSet = false;
92
93 Aws::String m_vaultName;
94 bool m_vaultNameHasBeenSet = false;
95
96 Aws::String m_uploadId;
97 bool m_uploadIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Glacier
102} // namespace Aws
AbortMultipartUploadRequest & WithUploadId(const Aws::String &value)
AbortMultipartUploadRequest & WithVaultName(Aws::String &&value)
AbortMultipartUploadRequest & WithVaultName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AbortMultipartUploadRequest & WithAccountId(Aws::String &&value)
AWS_GLACIER_API Aws::String SerializePayload() const override
AbortMultipartUploadRequest & WithAccountId(const char *value)
AbortMultipartUploadRequest & WithUploadId(Aws::String &&value)
AbortMultipartUploadRequest & WithUploadId(const char *value)
AbortMultipartUploadRequest & WithVaultName(const char *value)
AbortMultipartUploadRequest & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String