AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
GetBackupVaultNotificationsResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/BackupVaultEvent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Backup {
24namespace Model {
26 public:
27 AWS_BACKUP_API GetBackupVaultNotificationsResult() = default;
30
32
37 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
38 template <typename BackupVaultNameT = Aws::String>
39 void SetBackupVaultName(BackupVaultNameT&& value) {
40 m_backupVaultNameHasBeenSet = true;
41 m_backupVaultName = std::forward<BackupVaultNameT>(value);
42 }
43 template <typename BackupVaultNameT = Aws::String>
45 SetBackupVaultName(std::forward<BackupVaultNameT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
57 template <typename BackupVaultArnT = Aws::String>
58 void SetBackupVaultArn(BackupVaultArnT&& value) {
59 m_backupVaultArnHasBeenSet = true;
60 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
61 }
62 template <typename BackupVaultArnT = Aws::String>
64 SetBackupVaultArn(std::forward<BackupVaultArnT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetSNSTopicArn() const { return m_sNSTopicArn; }
76 template <typename SNSTopicArnT = Aws::String>
77 void SetSNSTopicArn(SNSTopicArnT&& value) {
78 m_sNSTopicArnHasBeenSet = true;
79 m_sNSTopicArn = std::forward<SNSTopicArnT>(value);
80 }
81 template <typename SNSTopicArnT = Aws::String>
83 SetSNSTopicArn(std::forward<SNSTopicArnT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::Vector<BackupVaultEvent>& GetBackupVaultEvents() const { return m_backupVaultEvents; }
94 template <typename BackupVaultEventsT = Aws::Vector<BackupVaultEvent>>
95 void SetBackupVaultEvents(BackupVaultEventsT&& value) {
96 m_backupVaultEventsHasBeenSet = true;
97 m_backupVaultEvents = std::forward<BackupVaultEventsT>(value);
98 }
99 template <typename BackupVaultEventsT = Aws::Vector<BackupVaultEvent>>
101 SetBackupVaultEvents(std::forward<BackupVaultEventsT>(value));
102 return *this;
103 }
105 m_backupVaultEventsHasBeenSet = true;
106 m_backupVaultEvents.push_back(value);
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_backupVaultName;
127
128 Aws::String m_backupVaultArn;
129
130 Aws::String m_sNSTopicArn;
131
132 Aws::Vector<BackupVaultEvent> m_backupVaultEvents;
133
134 Aws::String m_requestId;
135 bool m_backupVaultNameHasBeenSet = false;
136 bool m_backupVaultArnHasBeenSet = false;
137 bool m_sNSTopicArnHasBeenSet = false;
138 bool m_backupVaultEventsHasBeenSet = false;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Backup
144} // namespace Aws
AWS_BACKUP_API GetBackupVaultNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultNotificationsResult & AddBackupVaultEvents(BackupVaultEvent value)
GetBackupVaultNotificationsResult & WithBackupVaultArn(BackupVaultArnT &&value)
GetBackupVaultNotificationsResult & WithRequestId(RequestIdT &&value)
AWS_BACKUP_API GetBackupVaultNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultNotificationsResult & WithBackupVaultName(BackupVaultNameT &&value)
GetBackupVaultNotificationsResult & WithBackupVaultEvents(BackupVaultEventsT &&value)
const Aws::Vector< BackupVaultEvent > & GetBackupVaultEvents() const
GetBackupVaultNotificationsResult & WithSNSTopicArn(SNSTopicArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue