7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
41 template <
typename PolicyT = Aws::String>
43 m_policyHasBeenSet =
true;
44 m_policy = std::forward<PolicyT>(value);
46 template <
typename PolicyT = Aws::String>
59 template <
typename StateT = Aws::String>
61 m_stateHasBeenSet =
true;
62 m_state = std::forward<StateT>(value);
64 template <
typename StateT = Aws::String>
66 SetState(std::forward<StateT>(value));
77 template <
typename ExpirationDateT = Aws::String>
79 m_expirationDateHasBeenSet =
true;
80 m_expirationDate = std::forward<ExpirationDateT>(value);
82 template <
typename ExpirationDateT = Aws::String>
95 template <
typename CreationDateT = Aws::String>
97 m_creationDateHasBeenSet =
true;
98 m_creationDate = std::forward<CreationDateT>(value);
100 template <
typename CreationDateT = Aws::String>
110 template <
typename RequestIdT = Aws::String>
112 m_requestIdHasBeenSet =
true;
113 m_requestId = std::forward<RequestIdT>(value);
115 template <
typename RequestIdT = Aws::String>
123 bool m_policyHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 bool m_expirationDateHasBeenSet =
false;
132 bool m_creationDateHasBeenSet =
false;
135 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)
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