7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
42 template <
typename PolicyT = Aws::String>
44 m_policyHasBeenSet =
true;
45 m_policy = std::forward<PolicyT>(value);
47 template <
typename PolicyT = Aws::String>
60 template <
typename StateT = Aws::String>
62 m_stateHasBeenSet =
true;
63 m_state = std::forward<StateT>(value);
65 template <
typename StateT = Aws::String>
67 SetState(std::forward<StateT>(value));
78 template <
typename ExpirationDateT = Aws::String>
80 m_expirationDateHasBeenSet =
true;
81 m_expirationDate = std::forward<ExpirationDateT>(value);
83 template <
typename ExpirationDateT = Aws::String>
96 template <
typename CreationDateT = Aws::String>
98 m_creationDateHasBeenSet =
true;
99 m_creationDate = std::forward<CreationDateT>(value);
101 template <
typename CreationDateT = Aws::String>
111 template <
typename RequestIdT = Aws::String>
113 m_requestIdHasBeenSet =
true;
114 m_requestId = std::forward<RequestIdT>(value);
116 template <
typename RequestIdT = Aws::String>
135 bool m_policyHasBeenSet =
false;
136 bool m_stateHasBeenSet =
false;
137 bool m_expirationDateHasBeenSet =
false;
138 bool m_creationDateHasBeenSet =
false;
139 bool m_requestIdHasBeenSet =
false;
void SetState(StateT &&value)
const Aws::String & GetRequestId() const
GetVaultLockResult & WithState(StateT &&value)
GetVaultLockResult & WithPolicy(PolicyT &&value)
const Aws::String & GetState() const
GetVaultLockResult & WithExpirationDate(ExpirationDateT &&value)
GetVaultLockResult & WithCreationDate(CreationDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetExpirationDate(ExpirationDateT &&value)
const Aws::String & GetCreationDate() const
void SetPolicy(PolicyT &&value)
GetVaultLockResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetPolicy() const
AWS_GLACIER_API GetVaultLockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLACIER_API GetVaultLockResult()=default
const Aws::String & GetExpirationDate() const
void SetCreationDate(CreationDateT &&value)
AWS_GLACIER_API GetVaultLockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue