AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBackupVaultNotificationsResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/backup/model/BackupVaultEvent.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUP_API GetBackupVaultNotificationsResult() = default;
35
36
38
43 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
44 template<typename BackupVaultNameT = Aws::String>
45 void SetBackupVaultName(BackupVaultNameT&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::forward<BackupVaultNameT>(value); }
46 template<typename BackupVaultNameT = Aws::String>
47 GetBackupVaultNotificationsResult& WithBackupVaultName(BackupVaultNameT&& value) { SetBackupVaultName(std::forward<BackupVaultNameT>(value)); return *this;}
49
51
56 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
57 template<typename BackupVaultArnT = Aws::String>
58 void SetBackupVaultArn(BackupVaultArnT&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::forward<BackupVaultArnT>(value); }
59 template<typename BackupVaultArnT = Aws::String>
60 GetBackupVaultNotificationsResult& WithBackupVaultArn(BackupVaultArnT&& value) { SetBackupVaultArn(std::forward<BackupVaultArnT>(value)); return *this;}
62
64
69 inline const Aws::String& GetSNSTopicArn() const { return m_sNSTopicArn; }
70 template<typename SNSTopicArnT = Aws::String>
71 void SetSNSTopicArn(SNSTopicArnT&& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = std::forward<SNSTopicArnT>(value); }
72 template<typename SNSTopicArnT = Aws::String>
73 GetBackupVaultNotificationsResult& WithSNSTopicArn(SNSTopicArnT&& value) { SetSNSTopicArn(std::forward<SNSTopicArnT>(value)); return *this;}
75
77
81 inline const Aws::Vector<BackupVaultEvent>& GetBackupVaultEvents() const { return m_backupVaultEvents; }
82 template<typename BackupVaultEventsT = Aws::Vector<BackupVaultEvent>>
83 void SetBackupVaultEvents(BackupVaultEventsT&& value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents = std::forward<BackupVaultEventsT>(value); }
84 template<typename BackupVaultEventsT = Aws::Vector<BackupVaultEvent>>
85 GetBackupVaultNotificationsResult& WithBackupVaultEvents(BackupVaultEventsT&& value) { SetBackupVaultEvents(std::forward<BackupVaultEventsT>(value)); return *this;}
86 inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(BackupVaultEvent value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents.push_back(value); return *this; }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template<typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
94 template<typename RequestIdT = Aws::String>
95 GetBackupVaultNotificationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_backupVaultName;
100 bool m_backupVaultNameHasBeenSet = false;
101
102 Aws::String m_backupVaultArn;
103 bool m_backupVaultArnHasBeenSet = false;
104
105 Aws::String m_sNSTopicArn;
106 bool m_sNSTopicArnHasBeenSet = false;
107
108 Aws::Vector<BackupVaultEvent> m_backupVaultEvents;
109 bool m_backupVaultEventsHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Backup
117} // 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