AWS SDK for C++  1.9.15
AWS SDK for C++
InitiateVaultLockResult.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 
44  inline const Aws::String& GetLockId() const{ return m_lockId; }
45 
49  inline void SetLockId(const Aws::String& value) { m_lockId = value; }
50 
54  inline void SetLockId(Aws::String&& value) { m_lockId = std::move(value); }
55 
59  inline void SetLockId(const char* value) { m_lockId.assign(value); }
60 
64  inline InitiateVaultLockResult& WithLockId(const Aws::String& value) { SetLockId(value); return *this;}
65 
69  inline InitiateVaultLockResult& WithLockId(Aws::String&& value) { SetLockId(std::move(value)); return *this;}
70 
74  inline InitiateVaultLockResult& WithLockId(const char* value) { SetLockId(value); return *this;}
75 
76  private:
77 
78  Aws::String m_lockId;
79  };
80 
81 } // namespace Model
82 } // namespace Glacier
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::InitiateVaultLockResult::GetLockId
const Aws::String & GetLockId() const
Definition: InitiateVaultLockResult.h:44
Aws::Glacier::Model::InitiateVaultLockResult::WithLockId
InitiateVaultLockResult & WithLockId(const char *value)
Definition: InitiateVaultLockResult.h:74
Aws::Glacier::Model::InitiateVaultLockResult::operator=
InitiateVaultLockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::InitiateVaultLockResult::WithLockId
InitiateVaultLockResult & WithLockId(Aws::String &&value)
Definition: InitiateVaultLockResult.h:69
Aws::Glacier::Model::InitiateVaultLockResult::SetLockId
void SetLockId(Aws::String &&value)
Definition: InitiateVaultLockResult.h:54
Aws::Glacier::Model::InitiateVaultLockResult::SetLockId
void SetLockId(const char *value)
Definition: InitiateVaultLockResult.h:59
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::InitiateVaultLockResult
Definition: InitiateVaultLockResult.h:34
Aws::Glacier::Model::InitiateVaultLockResult::SetLockId
void SetLockId(const Aws::String &value)
Definition: InitiateVaultLockResult.h:49
AWSString.h
Aws::Glacier::Model::InitiateVaultLockResult::InitiateVaultLockResult
InitiateVaultLockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::InitiateVaultLockResult::InitiateVaultLockResult
InitiateVaultLockResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::InitiateVaultLockResult::WithLockId
InitiateVaultLockResult & WithLockId(const Aws::String &value)
Definition: InitiateVaultLockResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Glacier_EXPORTS.h