AWS SDK for C++  1.9.104
AWS SDK for C++
GetVaultAccessPolicyResult.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 {
33  {
34  public:
38 
39 
43  inline const VaultAccessPolicy& GetPolicy() const{ return m_policy; }
44 
48  inline void SetPolicy(const VaultAccessPolicy& value) { m_policy = value; }
49 
53  inline void SetPolicy(VaultAccessPolicy&& value) { m_policy = std::move(value); }
54 
58  inline GetVaultAccessPolicyResult& WithPolicy(const VaultAccessPolicy& value) { SetPolicy(value); return *this;}
59 
63  inline GetVaultAccessPolicyResult& WithPolicy(VaultAccessPolicy&& value) { SetPolicy(std::move(value)); return *this;}
64 
65  private:
66 
67  VaultAccessPolicy m_policy;
68  };
69 
70 } // namespace Model
71 } // namespace Glacier
72 } // namespace Aws
VaultAccessPolicy.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::GetVaultAccessPolicyResult::WithPolicy
GetVaultAccessPolicyResult & WithPolicy(const VaultAccessPolicy &value)
Definition: GetVaultAccessPolicyResult.h:58
Aws::Glacier::Model::GetVaultAccessPolicyResult::GetPolicy
const VaultAccessPolicy & GetPolicy() const
Definition: GetVaultAccessPolicyResult.h:43
Aws::Glacier::Model::GetVaultAccessPolicyResult::SetPolicy
void SetPolicy(const VaultAccessPolicy &value)
Definition: GetVaultAccessPolicyResult.h:48
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::GetVaultAccessPolicyResult
Definition: GetVaultAccessPolicyResult.h:33
Aws::Glacier::Model::GetVaultAccessPolicyResult::GetVaultAccessPolicyResult
GetVaultAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::GetVaultAccessPolicyResult::GetVaultAccessPolicyResult
GetVaultAccessPolicyResult()
Aws::Glacier::Model::GetVaultAccessPolicyResult::WithPolicy
GetVaultAccessPolicyResult & WithPolicy(VaultAccessPolicy &&value)
Definition: GetVaultAccessPolicyResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::VaultAccessPolicy
Definition: VaultAccessPolicy.h:32
Aws::Glacier::Model::GetVaultAccessPolicyResult::SetPolicy
void SetPolicy(VaultAccessPolicy &&value)
Definition: GetVaultAccessPolicyResult.h:53
Aws::Glacier::Model::GetVaultAccessPolicyResult::operator=
GetVaultAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Glacier_EXPORTS.h