AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
46 inline const Aws::String& GetPolicy() const{ return m_policy; }
47 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
48 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
49 inline void SetPolicy(const char* value) { m_policy.assign(value); }
50 inline GetVaultLockResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
51 inline GetVaultLockResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
52 inline GetVaultLockResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
54
56
60 inline const Aws::String& GetState() const{ return m_state; }
61 inline void SetState(const Aws::String& value) { m_state = value; }
62 inline void SetState(Aws::String&& value) { m_state = std::move(value); }
63 inline void SetState(const char* value) { m_state.assign(value); }
64 inline GetVaultLockResult& WithState(const Aws::String& value) { SetState(value); return *this;}
65 inline GetVaultLockResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
66 inline GetVaultLockResult& WithState(const char* value) { SetState(value); return *this;}
68
70
74 inline const Aws::String& GetExpirationDate() const{ return m_expirationDate; }
75 inline void SetExpirationDate(const Aws::String& value) { m_expirationDate = value; }
76 inline void SetExpirationDate(Aws::String&& value) { m_expirationDate = std::move(value); }
77 inline void SetExpirationDate(const char* value) { m_expirationDate.assign(value); }
78 inline GetVaultLockResult& WithExpirationDate(const Aws::String& value) { SetExpirationDate(value); return *this;}
79 inline GetVaultLockResult& WithExpirationDate(Aws::String&& value) { SetExpirationDate(std::move(value)); return *this;}
80 inline GetVaultLockResult& WithExpirationDate(const char* value) { SetExpirationDate(value); return *this;}
82
84
88 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
89 inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
90 inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
91 inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
92 inline GetVaultLockResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
93 inline GetVaultLockResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
94 inline GetVaultLockResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline GetVaultLockResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline GetVaultLockResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline GetVaultLockResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_policy;
110
111 Aws::String m_state;
112
113 Aws::String m_expirationDate;
114
115 Aws::String m_creationDate;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace Glacier
122} // namespace Aws
const Aws::String & GetRequestId() const
GetVaultLockResult & WithCreationDate(Aws::String &&value)
GetVaultLockResult & WithRequestId(const char *value)
GetVaultLockResult & WithExpirationDate(Aws::String &&value)
void SetCreationDate(const Aws::String &value)
GetVaultLockResult & WithState(const char *value)
GetVaultLockResult & WithRequestId(Aws::String &&value)
GetVaultLockResult & WithCreationDate(const char *value)
const Aws::String & GetCreationDate() const
GetVaultLockResult & WithExpirationDate(const char *value)
void SetExpirationDate(const Aws::String &value)
GetVaultLockResult & WithState(const Aws::String &value)
GetVaultLockResult & WithPolicy(Aws::String &&value)
AWS_GLACIER_API GetVaultLockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetExpirationDate() const
void SetState(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetVaultLockResult & WithPolicy(const char *value)
GetVaultLockResult & WithCreationDate(const Aws::String &value)
GetVaultLockResult & WithExpirationDate(const Aws::String &value)
void SetPolicy(const Aws::String &value)
GetVaultLockResult & WithPolicy(const Aws::String &value)
GetVaultLockResult & WithState(Aws::String &&value)
AWS_GLACIER_API GetVaultLockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVaultLockResult & WithRequestId(const Aws::String &value)
void SetExpirationDate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue