AWS SDK for C++  1.9.104
AWS SDK for C++
CompleteVaultLockRequest.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 
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 "CompleteVaultLock"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
57  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
58 
67  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
68 
77  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
78 
87  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
88 
97  inline CompleteVaultLockRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
98 
107  inline CompleteVaultLockRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
108 
117  inline CompleteVaultLockRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
118 
119 
123  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
124 
128  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
129 
133  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
134 
138  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
139 
143  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
144 
148  inline CompleteVaultLockRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
149 
153  inline CompleteVaultLockRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
154 
158  inline CompleteVaultLockRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
159 
160 
165  inline const Aws::String& GetLockId() const{ return m_lockId; }
166 
171  inline bool LockIdHasBeenSet() const { return m_lockIdHasBeenSet; }
172 
177  inline void SetLockId(const Aws::String& value) { m_lockIdHasBeenSet = true; m_lockId = value; }
178 
183  inline void SetLockId(Aws::String&& value) { m_lockIdHasBeenSet = true; m_lockId = std::move(value); }
184 
189  inline void SetLockId(const char* value) { m_lockIdHasBeenSet = true; m_lockId.assign(value); }
190 
195  inline CompleteVaultLockRequest& WithLockId(const Aws::String& value) { SetLockId(value); return *this;}
196 
201  inline CompleteVaultLockRequest& WithLockId(Aws::String&& value) { SetLockId(std::move(value)); return *this;}
202 
207  inline CompleteVaultLockRequest& WithLockId(const char* value) { SetLockId(value); return *this;}
208 
209  private:
210 
211  Aws::String m_accountId;
212  bool m_accountIdHasBeenSet;
213 
214  Aws::String m_vaultName;
215  bool m_vaultNameHasBeenSet;
216 
217  Aws::String m_lockId;
218  bool m_lockIdHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace Glacier
223 } // namespace Aws
Aws::Glacier::Model::CompleteVaultLockRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:67
Aws::Glacier::Model::CompleteVaultLockRequest::WithVaultName
CompleteVaultLockRequest & WithVaultName(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:148
Aws::Glacier::Model::CompleteVaultLockRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:133
Aws::Glacier::Model::CompleteVaultLockRequest::WithAccountId
CompleteVaultLockRequest & WithAccountId(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:97
Aws::Glacier::Model::CompleteVaultLockRequest::LockIdHasBeenSet
bool LockIdHasBeenSet() const
Definition: CompleteVaultLockRequest.h:171
Aws::Glacier::Model::CompleteVaultLockRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: CompleteVaultLockRequest.h:47
Aws::Glacier::Model::CompleteVaultLockRequest::WithVaultName
CompleteVaultLockRequest & WithVaultName(const char *value)
Definition: CompleteVaultLockRequest.h:158
Aws::Glacier::Model::CompleteVaultLockRequest::SetVaultName
void SetVaultName(const char *value)
Definition: CompleteVaultLockRequest.h:143
Aws::Glacier::Model::CompleteVaultLockRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::CompleteVaultLockRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:77
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::CompleteVaultLockRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: CompleteVaultLockRequest.h:123
Aws::Glacier::Model::CompleteVaultLockRequest::SetAccountId
void SetAccountId(const char *value)
Definition: CompleteVaultLockRequest.h:87
Aws::Glacier::Model::CompleteVaultLockRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:138
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::CompleteVaultLockRequest::GetLockId
const Aws::String & GetLockId() const
Definition: CompleteVaultLockRequest.h:165
Aws::Glacier::Model::CompleteVaultLockRequest::WithAccountId
CompleteVaultLockRequest & WithAccountId(const char *value)
Definition: CompleteVaultLockRequest.h:117
Aws::Glacier::Model::CompleteVaultLockRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CompleteVaultLockRequest.h:34
Aws::Glacier::Model::CompleteVaultLockRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: CompleteVaultLockRequest.h:128
AWSString.h
Aws::Glacier::Model::CompleteVaultLockRequest::WithVaultName
CompleteVaultLockRequest & WithVaultName(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:153
GlacierRequest.h
Aws::Glacier::Model::CompleteVaultLockRequest
Definition: CompleteVaultLockRequest.h:26
Aws::Glacier::Model::CompleteVaultLockRequest::SetLockId
void SetLockId(const char *value)
Definition: CompleteVaultLockRequest.h:189
Aws::Glacier::Model::CompleteVaultLockRequest::WithAccountId
CompleteVaultLockRequest & WithAccountId(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:107
Aws::Glacier::Model::CompleteVaultLockRequest::SetLockId
void SetLockId(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:183
Aws::Glacier::Model::CompleteVaultLockRequest::WithLockId
CompleteVaultLockRequest & WithLockId(Aws::String &&value)
Definition: CompleteVaultLockRequest.h:201
Aws::Glacier::Model::CompleteVaultLockRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: CompleteVaultLockRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::CompleteVaultLockRequest::WithLockId
CompleteVaultLockRequest & WithLockId(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:195
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::CompleteVaultLockRequest::SetLockId
void SetLockId(const Aws::String &value)
Definition: CompleteVaultLockRequest.h:177
Aws::Glacier::Model::CompleteVaultLockRequest::WithLockId
CompleteVaultLockRequest & WithLockId(const char *value)
Definition: CompleteVaultLockRequest.h:207
Aws::Glacier::Model::CompleteVaultLockRequest::CompleteVaultLockRequest
CompleteVaultLockRequest()
Glacier_EXPORTS.h