7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9#include <aws/glacier/model/VaultAccessPolicy.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
40 template <
typename PolicyT = VaultAccessPolicy>
42 m_policyHasBeenSet =
true;
43 m_policy = std::forward<PolicyT>(value);
45 template <
typename PolicyT = VaultAccessPolicy>
55 template <
typename RequestIdT = Aws::String>
57 m_requestIdHasBeenSet =
true;
58 m_requestId = std::forward<RequestIdT>(value);
60 template <
typename RequestIdT = Aws::String>
70 bool m_policyHasBeenSet =
false;
71 bool m_requestIdHasBeenSet =
false;
void SetPolicy(PolicyT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_GLACIER_API GetVaultAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const VaultAccessPolicy & GetPolicy() const
GetVaultAccessPolicyResult & WithRequestId(RequestIdT &&value)
AWS_GLACIER_API GetVaultAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLACIER_API GetVaultAccessPolicyResult()=default
GetVaultAccessPolicyResult & WithPolicy(PolicyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue