AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
43 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
44 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
45 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
46 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
48 inline GetBackupVaultNotificationsResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
49 inline GetBackupVaultNotificationsResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
51
53
58 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
59 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
60 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
61 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
63 inline GetBackupVaultNotificationsResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
64 inline GetBackupVaultNotificationsResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
66
68
73 inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; }
74 inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArn = value; }
75 inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArn = std::move(value); }
76 inline void SetSNSTopicArn(const char* value) { m_sNSTopicArn.assign(value); }
77 inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;}
78 inline GetBackupVaultNotificationsResult& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;}
79 inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;}
81
83
87 inline const Aws::Vector<BackupVaultEvent>& GetBackupVaultEvents() const{ return m_backupVaultEvents; }
88 inline void SetBackupVaultEvents(const Aws::Vector<BackupVaultEvent>& value) { m_backupVaultEvents = value; }
89 inline void SetBackupVaultEvents(Aws::Vector<BackupVaultEvent>&& value) { m_backupVaultEvents = std::move(value); }
92 inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(const BackupVaultEvent& value) { m_backupVaultEvents.push_back(value); return *this; }
93 inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(BackupVaultEvent&& value) { m_backupVaultEvents.push_back(std::move(value)); return *this; }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline GetBackupVaultNotificationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline GetBackupVaultNotificationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline GetBackupVaultNotificationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_backupVaultName;
109
110 Aws::String m_backupVaultArn;
111
112 Aws::String m_sNSTopicArn;
113
114 Aws::Vector<BackupVaultEvent> m_backupVaultEvents;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace Backup
121} // namespace Aws
AWS_BACKUP_API GetBackupVaultNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultNotificationsResult & WithSNSTopicArn(Aws::String &&value)
GetBackupVaultNotificationsResult & WithRequestId(const char *value)
GetBackupVaultNotificationsResult & WithSNSTopicArn(const Aws::String &value)
GetBackupVaultNotificationsResult & WithBackupVaultArn(const Aws::String &value)
GetBackupVaultNotificationsResult & WithBackupVaultName(const Aws::String &value)
void SetBackupVaultEvents(Aws::Vector< BackupVaultEvent > &&value)
GetBackupVaultNotificationsResult & WithBackupVaultName(const char *value)
GetBackupVaultNotificationsResult & WithRequestId(const Aws::String &value)
GetBackupVaultNotificationsResult & WithBackupVaultName(Aws::String &&value)
AWS_BACKUP_API GetBackupVaultNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupVaultNotificationsResult & WithBackupVaultEvents(Aws::Vector< BackupVaultEvent > &&value)
void SetBackupVaultEvents(const Aws::Vector< BackupVaultEvent > &value)
GetBackupVaultNotificationsResult & WithBackupVaultArn(const char *value)
GetBackupVaultNotificationsResult & WithBackupVaultEvents(const Aws::Vector< BackupVaultEvent > &value)
GetBackupVaultNotificationsResult & AddBackupVaultEvents(BackupVaultEvent &&value)
GetBackupVaultNotificationsResult & WithRequestId(Aws::String &&value)
GetBackupVaultNotificationsResult & WithSNSTopicArn(const char *value)
GetBackupVaultNotificationsResult & WithBackupVaultArn(Aws::String &&value)
const Aws::Vector< BackupVaultEvent > & GetBackupVaultEvents() const
GetBackupVaultNotificationsResult & AddBackupVaultEvents(const BackupVaultEvent &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