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/DataRetrievalPolicy.h>
50 template<
typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
52 template<
typename AccountIdT = Aws::String>
62 template<
typename PolicyT = DataRetrievalPolicy>
63 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
64 template<
typename PolicyT = DataRetrievalPolicy>
70 bool m_accountIdHasBeenSet =
false;
73 bool m_policyHasBeenSet =
false;
SetDataRetrievalPolicyRequest & WithPolicy(PolicyT &&value)
bool AccountIdHasBeenSet() const
SetDataRetrievalPolicyRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API SetDataRetrievalPolicyRequest()=default
AWS_GLACIER_API Aws::String SerializePayload() const override
void SetAccountId(AccountIdT &&value)
bool PolicyHasBeenSet() const
const DataRetrievalPolicy & GetPolicy() const
void SetPolicy(PolicyT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String