AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetVaultLockResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
34 {
35 public:
36 AWS_GLACIER_API GetVaultLockResult() = default;
39
40
42
46 inline const Aws::String& GetPolicy() const { return m_policy; }
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>
50 GetVaultLockResult& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
52
54
58 inline const Aws::String& GetState() const { return m_state; }
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>
62 GetVaultLockResult& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
64
66
70 inline const Aws::String& GetExpirationDate() const { return m_expirationDate; }
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>
74 GetVaultLockResult& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
76
78
82 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
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>
86 GetVaultLockResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
95 GetVaultLockResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_policy;
100 bool m_policyHasBeenSet = false;
101
102 Aws::String m_state;
103 bool m_stateHasBeenSet = false;
104
105 Aws::String m_expirationDate;
106 bool m_expirationDateHasBeenSet = false;
107
108 Aws::String m_creationDate;
109 bool m_creationDateHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glacier
117} // namespace Aws
const Aws::String & GetRequestId() const
GetVaultLockResult & WithState(StateT &&value)
GetVaultLockResult & WithPolicy(PolicyT &&value)
GetVaultLockResult & WithExpirationDate(ExpirationDateT &&value)
GetVaultLockResult & WithCreationDate(CreationDateT &&value)
void SetExpirationDate(ExpirationDateT &&value)
const Aws::String & GetCreationDate() const
GetVaultLockResult & WithRequestId(RequestIdT &&value)
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