AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsBackupBackupVaultDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsBackupBackupVaultNotificationsDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsBackupBackupVaultDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
47 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
48 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; }
49 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); }
50 inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); }
51 inline AwsBackupBackupVaultDetails& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
52 inline AwsBackupBackupVaultDetails& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
53 inline AwsBackupBackupVaultDetails& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
55
57
63 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
64 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
65 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
66 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
67 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
69 inline AwsBackupBackupVaultDetails& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
70 inline AwsBackupBackupVaultDetails& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
72
74
80 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
81 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
82 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
83 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
84 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
86 inline AwsBackupBackupVaultDetails& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
87 inline AwsBackupBackupVaultDetails& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
89
91
94 inline const AwsBackupBackupVaultNotificationsDetails& GetNotifications() const{ return m_notifications; }
95 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
96 inline void SetNotifications(const AwsBackupBackupVaultNotificationsDetails& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
97 inline void SetNotifications(AwsBackupBackupVaultNotificationsDetails&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
101
103
107 inline const Aws::String& GetAccessPolicy() const{ return m_accessPolicy; }
108 inline bool AccessPolicyHasBeenSet() const { return m_accessPolicyHasBeenSet; }
109 inline void SetAccessPolicy(const Aws::String& value) { m_accessPolicyHasBeenSet = true; m_accessPolicy = value; }
110 inline void SetAccessPolicy(Aws::String&& value) { m_accessPolicyHasBeenSet = true; m_accessPolicy = std::move(value); }
111 inline void SetAccessPolicy(const char* value) { m_accessPolicyHasBeenSet = true; m_accessPolicy.assign(value); }
112 inline AwsBackupBackupVaultDetails& WithAccessPolicy(const Aws::String& value) { SetAccessPolicy(value); return *this;}
113 inline AwsBackupBackupVaultDetails& WithAccessPolicy(Aws::String&& value) { SetAccessPolicy(std::move(value)); return *this;}
114 inline AwsBackupBackupVaultDetails& WithAccessPolicy(const char* value) { SetAccessPolicy(value); return *this;}
116 private:
117
118 Aws::String m_backupVaultArn;
119 bool m_backupVaultArnHasBeenSet = false;
120
121 Aws::String m_backupVaultName;
122 bool m_backupVaultNameHasBeenSet = false;
123
124 Aws::String m_encryptionKeyArn;
125 bool m_encryptionKeyArnHasBeenSet = false;
126
128 bool m_notificationsHasBeenSet = false;
129
130 Aws::String m_accessPolicy;
131 bool m_accessPolicyHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SecurityHub
136} // namespace Aws
AWS_SECURITYHUB_API AwsBackupBackupVaultDetails(Aws::Utils::Json::JsonView jsonValue)
AwsBackupBackupVaultDetails & WithEncryptionKeyArn(const Aws::String &value)
AwsBackupBackupVaultDetails & WithBackupVaultArn(Aws::String &&value)
AwsBackupBackupVaultDetails & WithAccessPolicy(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsBackupBackupVaultDetails & WithBackupVaultArn(const Aws::String &value)
AwsBackupBackupVaultDetails & WithBackupVaultName(Aws::String &&value)
AwsBackupBackupVaultDetails & WithEncryptionKeyArn(Aws::String &&value)
AwsBackupBackupVaultDetails & WithAccessPolicy(Aws::String &&value)
AwsBackupBackupVaultDetails & WithBackupVaultName(const Aws::String &value)
AwsBackupBackupVaultDetails & WithNotifications(AwsBackupBackupVaultNotificationsDetails &&value)
void SetNotifications(const AwsBackupBackupVaultNotificationsDetails &value)
AwsBackupBackupVaultDetails & WithBackupVaultName(const char *value)
AwsBackupBackupVaultDetails & WithBackupVaultArn(const char *value)
void SetNotifications(AwsBackupBackupVaultNotificationsDetails &&value)
AWS_SECURITYHUB_API AwsBackupBackupVaultDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsBackupBackupVaultNotificationsDetails & GetNotifications() const
AwsBackupBackupVaultDetails & WithAccessPolicy(const char *value)
AwsBackupBackupVaultDetails & WithNotifications(const AwsBackupBackupVaultNotificationsDetails &value)
AwsBackupBackupVaultDetails & WithEncryptionKeyArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue