AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBackupVaultAccessPolicyResult.h
1
6#pragma once
7#include <aws/backup/Backup_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 Backup
24{
25namespace Model
26{
28 {
29 public:
33
34
36
41 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
42 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
43 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
44 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
46 inline GetBackupVaultAccessPolicyResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
47 inline GetBackupVaultAccessPolicyResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
49
51
56 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
57 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
58 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
59 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
61 inline GetBackupVaultAccessPolicyResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
62 inline GetBackupVaultAccessPolicyResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
64
66
69 inline const Aws::String& GetPolicy() const{ return m_policy; }
70 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
71 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
72 inline void SetPolicy(const char* value) { m_policy.assign(value); }
73 inline GetBackupVaultAccessPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
74 inline GetBackupVaultAccessPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
75 inline GetBackupVaultAccessPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetBackupVaultAccessPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetBackupVaultAccessPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetBackupVaultAccessPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_backupVaultName;
91
92 Aws::String m_backupVaultArn;
93
94 Aws::String m_policy;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace Backup
101} // namespace Aws
GetBackupVaultAccessPolicyResult & WithRequestId(const Aws::String &value)
GetBackupVaultAccessPolicyResult & WithBackupVaultName(const char *value)
GetBackupVaultAccessPolicyResult & WithPolicy(const Aws::String &value)
GetBackupVaultAccessPolicyResult & WithPolicy(const char *value)
GetBackupVaultAccessPolicyResult & WithBackupVaultName(const Aws::String &value)
GetBackupVaultAccessPolicyResult & WithBackupVaultArn(const char *value)
AWS_BACKUP_API GetBackupVaultAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultAccessPolicyResult & WithRequestId(const char *value)
GetBackupVaultAccessPolicyResult & WithBackupVaultArn(const Aws::String &value)
GetBackupVaultAccessPolicyResult & WithPolicy(Aws::String &&value)
AWS_BACKUP_API GetBackupVaultAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultAccessPolicyResult & WithRequestId(Aws::String &&value)
GetBackupVaultAccessPolicyResult & WithBackupVaultArn(Aws::String &&value)
GetBackupVaultAccessPolicyResult & WithBackupVaultName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue