7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glacier/model/VaultLockPolicy.h>
53 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
67 inline void SetVaultName(
const char* value) { m_vaultNameHasBeenSet =
true; m_vaultName.assign(value); }
88 bool m_accountIdHasBeenSet =
false;
91 bool m_vaultNameHasBeenSet =
false;
94 bool m_policyHasBeenSet =
false;
InitiateVaultLockRequest & WithPolicy(VaultLockPolicy &&value)
AWS_GLACIER_API InitiateVaultLockRequest()
void SetPolicy(VaultLockPolicy &&value)
InitiateVaultLockRequest & WithVaultName(const Aws::String &value)
void SetAccountId(const char *value)
InitiateVaultLockRequest & WithPolicy(const VaultLockPolicy &value)
void SetVaultName(const char *value)
bool AccountIdHasBeenSet() const
InitiateVaultLockRequest & WithVaultName(const char *value)
virtual const char * GetServiceRequestName() const override
void SetVaultName(const Aws::String &value)
InitiateVaultLockRequest & WithVaultName(Aws::String &&value)
void SetVaultName(Aws::String &&value)
void SetAccountId(Aws::String &&value)
const Aws::String & GetVaultName() const
const Aws::String & GetAccountId() const
bool PolicyHasBeenSet() const
void SetAccountId(const Aws::String &value)
const VaultLockPolicy & GetPolicy() const
void SetPolicy(const VaultLockPolicy &value)
bool VaultNameHasBeenSet() const
InitiateVaultLockRequest & WithAccountId(Aws::String &&value)
InitiateVaultLockRequest & WithAccountId(const char *value)
AWS_GLACIER_API Aws::String SerializePayload() const override
InitiateVaultLockRequest & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String