7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
47 template<
typename PolicyT = Aws::String>
48 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
49 template<
typename PolicyT = Aws::String>
59 template<
typename StateT = Aws::String>
60 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
61 template<
typename StateT = Aws::String>
71 template<
typename ExpirationDateT = Aws::String>
72 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet =
true; m_expirationDate = std::forward<ExpirationDateT>(value); }
73 template<
typename ExpirationDateT = Aws::String>
83 template<
typename CreationDateT = Aws::String>
84 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
85 template<
typename CreationDateT = Aws::String>
92 template<
typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
94 template<
typename RequestIdT = Aws::String>
100 bool m_policyHasBeenSet =
false;
103 bool m_stateHasBeenSet =
false;
106 bool m_expirationDateHasBeenSet =
false;
109 bool m_creationDateHasBeenSet =
false;
112 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