AWS SDK for C++  1.9.103
AWS SDK for C++
GetVaultLockResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Glacier
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetPolicy() const{ return m_policy; }
46 
51  inline void SetPolicy(const Aws::String& value) { m_policy = value; }
52 
57  inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
58 
63  inline void SetPolicy(const char* value) { m_policy.assign(value); }
64 
69  inline GetVaultLockResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
70 
75  inline GetVaultLockResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
76 
81  inline GetVaultLockResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
82 
83 
88  inline const Aws::String& GetState() const{ return m_state; }
89 
94  inline void SetState(const Aws::String& value) { m_state = value; }
95 
100  inline void SetState(Aws::String&& value) { m_state = std::move(value); }
101 
106  inline void SetState(const char* value) { m_state.assign(value); }
107 
112  inline GetVaultLockResult& WithState(const Aws::String& value) { SetState(value); return *this;}
113 
118  inline GetVaultLockResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
119 
124  inline GetVaultLockResult& WithState(const char* value) { SetState(value); return *this;}
125 
126 
131  inline const Aws::String& GetExpirationDate() const{ return m_expirationDate; }
132 
137  inline void SetExpirationDate(const Aws::String& value) { m_expirationDate = value; }
138 
143  inline void SetExpirationDate(Aws::String&& value) { m_expirationDate = std::move(value); }
144 
149  inline void SetExpirationDate(const char* value) { m_expirationDate.assign(value); }
150 
155  inline GetVaultLockResult& WithExpirationDate(const Aws::String& value) { SetExpirationDate(value); return *this;}
156 
161  inline GetVaultLockResult& WithExpirationDate(Aws::String&& value) { SetExpirationDate(std::move(value)); return *this;}
162 
167  inline GetVaultLockResult& WithExpirationDate(const char* value) { SetExpirationDate(value); return *this;}
168 
169 
174  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
175 
180  inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
181 
186  inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
187 
192  inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
193 
198  inline GetVaultLockResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
199 
204  inline GetVaultLockResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
205 
210  inline GetVaultLockResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
211 
212  private:
213 
214  Aws::String m_policy;
215 
216  Aws::String m_state;
217 
218  Aws::String m_expirationDate;
219 
220  Aws::String m_creationDate;
221  };
222 
223 } // namespace Model
224 } // namespace Glacier
225 } // namespace Aws
Aws::Glacier::Model::GetVaultLockResult::WithCreationDate
GetVaultLockResult & WithCreationDate(const Aws::String &value)
Definition: GetVaultLockResult.h:198
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::GetVaultLockResult::SetExpirationDate
void SetExpirationDate(const char *value)
Definition: GetVaultLockResult.h:149
Aws::Glacier::Model::GetVaultLockResult::GetPolicy
const Aws::String & GetPolicy() const
Definition: GetVaultLockResult.h:45
Aws::Glacier::Model::GetVaultLockResult::operator=
GetVaultLockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::GetVaultLockResult::WithExpirationDate
GetVaultLockResult & WithExpirationDate(const Aws::String &value)
Definition: GetVaultLockResult.h:155
Aws::Glacier::Model::GetVaultLockResult::SetPolicy
void SetPolicy(Aws::String &&value)
Definition: GetVaultLockResult.h:57
Aws::Glacier::Model::GetVaultLockResult::SetPolicy
void SetPolicy(const char *value)
Definition: GetVaultLockResult.h:63
Aws::Glacier::Model::GetVaultLockResult::WithExpirationDate
GetVaultLockResult & WithExpirationDate(const char *value)
Definition: GetVaultLockResult.h:167
Aws::Glacier::Model::GetVaultLockResult::SetExpirationDate
void SetExpirationDate(Aws::String &&value)
Definition: GetVaultLockResult.h:143
Aws::Glacier::Model::GetVaultLockResult::SetCreationDate
void SetCreationDate(const char *value)
Definition: GetVaultLockResult.h:192
Aws::Glacier::Model::GetVaultLockResult::WithState
GetVaultLockResult & WithState(Aws::String &&value)
Definition: GetVaultLockResult.h:118
Aws::Glacier::Model::GetVaultLockResult::WithCreationDate
GetVaultLockResult & WithCreationDate(Aws::String &&value)
Definition: GetVaultLockResult.h:204
Aws::Glacier::Model::GetVaultLockResult::WithState
GetVaultLockResult & WithState(const char *value)
Definition: GetVaultLockResult.h:124
Aws::Glacier::Model::GetVaultLockResult::SetState
void SetState(const char *value)
Definition: GetVaultLockResult.h:106
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::GetVaultLockResult::GetExpirationDate
const Aws::String & GetExpirationDate() const
Definition: GetVaultLockResult.h:131
Aws::Glacier::Model::GetVaultLockResult::SetCreationDate
void SetCreationDate(Aws::String &&value)
Definition: GetVaultLockResult.h:186
Aws::Glacier::Model::GetVaultLockResult::WithExpirationDate
GetVaultLockResult & WithExpirationDate(Aws::String &&value)
Definition: GetVaultLockResult.h:161
Aws::Glacier::Model::GetVaultLockResult::WithPolicy
GetVaultLockResult & WithPolicy(const Aws::String &value)
Definition: GetVaultLockResult.h:69
Aws::Glacier::Model::GetVaultLockResult::SetCreationDate
void SetCreationDate(const Aws::String &value)
Definition: GetVaultLockResult.h:180
Aws::Glacier::Model::GetVaultLockResult::GetVaultLockResult
GetVaultLockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::GetVaultLockResult::WithPolicy
GetVaultLockResult & WithPolicy(const char *value)
Definition: GetVaultLockResult.h:81
AWSString.h
Aws::Glacier::Model::GetVaultLockResult::SetState
void SetState(const Aws::String &value)
Definition: GetVaultLockResult.h:94
Aws::Glacier::Model::GetVaultLockResult::WithPolicy
GetVaultLockResult & WithPolicy(Aws::String &&value)
Definition: GetVaultLockResult.h:75
Aws::Glacier::Model::GetVaultLockResult::GetVaultLockResult
GetVaultLockResult()
Aws::Glacier::Model::GetVaultLockResult::WithCreationDate
GetVaultLockResult & WithCreationDate(const char *value)
Definition: GetVaultLockResult.h:210
Aws::Glacier::Model::GetVaultLockResult::GetCreationDate
const Aws::String & GetCreationDate() const
Definition: GetVaultLockResult.h:174
Aws::Glacier::Model::GetVaultLockResult::SetExpirationDate
void SetExpirationDate(const Aws::String &value)
Definition: GetVaultLockResult.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::GetVaultLockResult::GetState
const Aws::String & GetState() const
Definition: GetVaultLockResult.h:88
Aws::Glacier::Model::GetVaultLockResult
Definition: GetVaultLockResult.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::GetVaultLockResult::SetPolicy
void SetPolicy(const Aws::String &value)
Definition: GetVaultLockResult.h:51
Aws::Glacier::Model::GetVaultLockResult::SetState
void SetState(Aws::String &&value)
Definition: GetVaultLockResult.h:100
Aws::Glacier::Model::GetVaultLockResult::WithState
GetVaultLockResult & WithState(const Aws::String &value)
Definition: GetVaultLockResult.h:112
Glacier_EXPORTS.h