AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CompleteVaultLockRequest.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 CompleteVaultLockRequest() = 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 "CompleteVaultLock"; }
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>
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>
71 SetVaultName(std::forward<VaultNameT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetLockId() const { return m_lockId; }
82 inline bool LockIdHasBeenSet() const { return m_lockIdHasBeenSet; }
83 template <typename LockIdT = Aws::String>
84 void SetLockId(LockIdT&& value) {
85 m_lockIdHasBeenSet = true;
86 m_lockId = std::forward<LockIdT>(value);
87 }
88 template <typename LockIdT = Aws::String>
90 SetLockId(std::forward<LockIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_accountId;
96 bool m_accountIdHasBeenSet = false;
97
98 Aws::String m_vaultName;
99 bool m_vaultNameHasBeenSet = false;
100
101 Aws::String m_lockId;
102 bool m_lockIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Glacier
107} // namespace Aws
AWS_GLACIER_API CompleteVaultLockRequest()=default
CompleteVaultLockRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API Aws::String SerializePayload() const override
CompleteVaultLockRequest & WithLockId(LockIdT &&value)
CompleteVaultLockRequest & WithVaultName(VaultNameT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String