AWS SDK for C++

AWS SDK for C++ Version 1.11.685

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