AWS SDK for C++  1.9.107
AWS SDK for C++
AbortMultipartUploadRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glacier
15 {
16 namespace Model
17 {
18 
30  {
31  public:
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::String SerializePayload() const override;
41 
42 
50  inline const Aws::String& GetAccountId() const{ return m_accountId; }
51 
59  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
60 
68  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
69 
77  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
78 
86  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
87 
95  inline AbortMultipartUploadRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
96 
104  inline AbortMultipartUploadRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
105 
113  inline AbortMultipartUploadRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
114 
115 
119  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
120 
124  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
125 
129  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
130 
134  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
135 
139  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
140 
144  inline AbortMultipartUploadRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
145 
149  inline AbortMultipartUploadRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
150 
154  inline AbortMultipartUploadRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
155 
156 
160  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
161 
165  inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
166 
170  inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
171 
175  inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
176 
180  inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
181 
185  inline AbortMultipartUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
186 
190  inline AbortMultipartUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
191 
195  inline AbortMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
196 
197  private:
198 
199  Aws::String m_accountId;
200  bool m_accountIdHasBeenSet;
201 
202  Aws::String m_vaultName;
203  bool m_vaultNameHasBeenSet;
204 
205  Aws::String m_uploadId;
206  bool m_uploadIdHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Glacier
211 } // namespace Aws
Aws::Glacier::Model::AbortMultipartUploadRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:68
Aws::Glacier::Model::AbortMultipartUploadRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:129
Aws::Glacier::Model::AbortMultipartUploadRequest::WithVaultName
AbortMultipartUploadRequest & WithVaultName(const char *value)
Definition: AbortMultipartUploadRequest.h:154
Aws::Glacier::Model::AbortMultipartUploadRequest
Definition: AbortMultipartUploadRequest.h:30
Aws::Glacier::Model::AbortMultipartUploadRequest::SetAccountId
void SetAccountId(const char *value)
Definition: AbortMultipartUploadRequest.h:86
Aws::Glacier::Model::AbortMultipartUploadRequest::WithVaultName
AbortMultipartUploadRequest & WithVaultName(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:144
Aws::Glacier::Model::AbortMultipartUploadRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: AbortMultipartUploadRequest.h:119
Aws::Glacier::Model::AbortMultipartUploadRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AbortMultipartUploadRequest.h:38
Aws::Glacier::Model::AbortMultipartUploadRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:134
Aws::Glacier::Model::AbortMultipartUploadRequest::WithAccountId
AbortMultipartUploadRequest & WithAccountId(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:95
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::AbortMultipartUploadRequest::UploadIdHasBeenSet
bool UploadIdHasBeenSet() const
Definition: AbortMultipartUploadRequest.h:165
Aws::Glacier::Model::AbortMultipartUploadRequest::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:170
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::AbortMultipartUploadRequest::WithAccountId
AbortMultipartUploadRequest & WithAccountId(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:104
Aws::Glacier::Model::AbortMultipartUploadRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: AbortMultipartUploadRequest.h:124
Aws::Glacier::Model::AbortMultipartUploadRequest::WithUploadId
AbortMultipartUploadRequest & WithUploadId(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:190
Aws::Glacier::Model::AbortMultipartUploadRequest::SetVaultName
void SetVaultName(const char *value)
Definition: AbortMultipartUploadRequest.h:139
Aws::Glacier::Model::AbortMultipartUploadRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: AbortMultipartUploadRequest.h:50
Aws::Glacier::Model::AbortMultipartUploadRequest::GetUploadId
const Aws::String & GetUploadId() const
Definition: AbortMultipartUploadRequest.h:160
Aws::Glacier::Model::AbortMultipartUploadRequest::WithUploadId
AbortMultipartUploadRequest & WithUploadId(const char *value)
Definition: AbortMultipartUploadRequest.h:195
Aws::Glacier::Model::AbortMultipartUploadRequest::AbortMultipartUploadRequest
AbortMultipartUploadRequest()
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::AbortMultipartUploadRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::AbortMultipartUploadRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:77
Aws::Glacier::Model::AbortMultipartUploadRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: AbortMultipartUploadRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::AbortMultipartUploadRequest::SetUploadId
void SetUploadId(const char *value)
Definition: AbortMultipartUploadRequest.h:180
Aws::Glacier::Model::AbortMultipartUploadRequest::WithUploadId
AbortMultipartUploadRequest & WithUploadId(const Aws::String &value)
Definition: AbortMultipartUploadRequest.h:185
Aws::Glacier::Model::AbortMultipartUploadRequest::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:175
Aws::Glacier::Model::AbortMultipartUploadRequest::WithVaultName
AbortMultipartUploadRequest & WithVaultName(Aws::String &&value)
Definition: AbortMultipartUploadRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::AbortMultipartUploadRequest::WithAccountId
AbortMultipartUploadRequest & WithAccountId(const char *value)
Definition: AbortMultipartUploadRequest.h:113
Glacier_EXPORTS.h