AWS SDK for C++  1.9.103
AWS SDK for C++
AbortVaultLockRequest.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 "AbortVaultLock"; }
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 AbortVaultLockRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
98 
107  inline AbortVaultLockRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
108 
117  inline AbortVaultLockRequest& 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 AbortVaultLockRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
149 
153  inline AbortVaultLockRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
154 
158  inline AbortVaultLockRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
159 
160  private:
161 
162  Aws::String m_accountId;
163  bool m_accountIdHasBeenSet;
164 
165  Aws::String m_vaultName;
166  bool m_vaultNameHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace Glacier
171 } // namespace Aws
Aws::Glacier::Model::AbortVaultLockRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: AbortVaultLockRequest.h:138
Aws::Glacier::Model::AbortVaultLockRequest::WithAccountId
AbortVaultLockRequest & WithAccountId(Aws::String &&value)
Definition: AbortVaultLockRequest.h:107
Aws::Glacier::Model::AbortVaultLockRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: AbortVaultLockRequest.h:47
Aws::Glacier::Model::AbortVaultLockRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: AbortVaultLockRequest.h:77
Aws::Glacier::Model::AbortVaultLockRequest::SetAccountId
void SetAccountId(const char *value)
Definition: AbortVaultLockRequest.h:87
Aws::Glacier::Model::AbortVaultLockRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: AbortVaultLockRequest.h:133
Aws::Glacier::Model::AbortVaultLockRequest::SetVaultName
void SetVaultName(const char *value)
Definition: AbortVaultLockRequest.h:143
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::AbortVaultLockRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: AbortVaultLockRequest.h:123
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::AbortVaultLockRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: AbortVaultLockRequest.h:128
AWSString.h
Aws::Glacier::Model::AbortVaultLockRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::AbortVaultLockRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AbortVaultLockRequest.h:34
GlacierRequest.h
Aws::Glacier::Model::AbortVaultLockRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: AbortVaultLockRequest.h:57
Aws::Glacier::Model::AbortVaultLockRequest
Definition: AbortVaultLockRequest.h:26
Aws::Glacier::Model::AbortVaultLockRequest::WithAccountId
AbortVaultLockRequest & WithAccountId(const Aws::String &value)
Definition: AbortVaultLockRequest.h:97
Aws::Glacier::Model::AbortVaultLockRequest::WithVaultName
AbortVaultLockRequest & WithVaultName(const Aws::String &value)
Definition: AbortVaultLockRequest.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::AbortVaultLockRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: AbortVaultLockRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::AbortVaultLockRequest::WithAccountId
AbortVaultLockRequest & WithAccountId(const char *value)
Definition: AbortVaultLockRequest.h:117
Aws::Glacier::Model::AbortVaultLockRequest::WithVaultName
AbortVaultLockRequest & WithVaultName(Aws::String &&value)
Definition: AbortVaultLockRequest.h:153
Aws::Glacier::Model::AbortVaultLockRequest::AbortVaultLockRequest
AbortVaultLockRequest()
Aws::Glacier::Model::AbortVaultLockRequest::WithVaultName
AbortVaultLockRequest & WithVaultName(const char *value)
Definition: AbortVaultLockRequest.h:158
Glacier_EXPORTS.h