AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
AbortVaultLockRequest.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
24 public:
25 AWS_GLACIER_API AbortVaultLockRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AbortVaultLock"; }
32
33 AWS_GLACIER_API Aws::String SerializePayload() const override;
34
36
44 inline const Aws::String& GetAccountId() const { return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 template <typename AccountIdT = Aws::String>
47 void SetAccountId(AccountIdT&& value) {
48 m_accountIdHasBeenSet = true;
49 m_accountId = std::forward<AccountIdT>(value);
50 }
51 template <typename AccountIdT = Aws::String>
52 AbortVaultLockRequest& WithAccountId(AccountIdT&& value) {
53 SetAccountId(std::forward<AccountIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetVaultName() const { return m_vaultName; }
63 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
64 template <typename VaultNameT = Aws::String>
65 void SetVaultName(VaultNameT&& value) {
66 m_vaultNameHasBeenSet = true;
67 m_vaultName = std::forward<VaultNameT>(value);
68 }
69 template <typename VaultNameT = Aws::String>
70 AbortVaultLockRequest& WithVaultName(VaultNameT&& value) {
71 SetVaultName(std::forward<VaultNameT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_accountId;
77 bool m_accountIdHasBeenSet = false;
78
79 Aws::String m_vaultName;
80 bool m_vaultNameHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Glacier
85} // namespace Aws
AWS_GLACIER_API AbortVaultLockRequest()=default
AbortVaultLockRequest & WithVaultName(VaultNameT &&value)
AbortVaultLockRequest & WithAccountId(AccountIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLACIER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String