AWS SDK for C++  1.9.158
AWS SDK for C++
GetBackupVaultNotificationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Backup
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
44 
51  inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
52 
59  inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
60 
67  inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
68 
75  inline GetBackupVaultNotificationsResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
76 
83  inline GetBackupVaultNotificationsResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
84 
91  inline GetBackupVaultNotificationsResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
92 
93 
99  inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
100 
106  inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
107 
113  inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
114 
120  inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
121 
127  inline GetBackupVaultNotificationsResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
128 
134  inline GetBackupVaultNotificationsResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
135 
141  inline GetBackupVaultNotificationsResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
142 
143 
149  inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; }
150 
156  inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArn = value; }
157 
163  inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArn = std::move(value); }
164 
170  inline void SetSNSTopicArn(const char* value) { m_sNSTopicArn.assign(value); }
171 
177  inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;}
178 
184  inline GetBackupVaultNotificationsResult& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;}
185 
191  inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;}
192 
193 
198  inline const Aws::Vector<BackupVaultEvent>& GetBackupVaultEvents() const{ return m_backupVaultEvents; }
199 
204  inline void SetBackupVaultEvents(const Aws::Vector<BackupVaultEvent>& value) { m_backupVaultEvents = value; }
205 
210  inline void SetBackupVaultEvents(Aws::Vector<BackupVaultEvent>&& value) { m_backupVaultEvents = std::move(value); }
211 
216  inline GetBackupVaultNotificationsResult& WithBackupVaultEvents(const Aws::Vector<BackupVaultEvent>& value) { SetBackupVaultEvents(value); return *this;}
217 
222  inline GetBackupVaultNotificationsResult& WithBackupVaultEvents(Aws::Vector<BackupVaultEvent>&& value) { SetBackupVaultEvents(std::move(value)); return *this;}
223 
228  inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(const BackupVaultEvent& value) { m_backupVaultEvents.push_back(value); return *this; }
229 
234  inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(BackupVaultEvent&& value) { m_backupVaultEvents.push_back(std::move(value)); return *this; }
235 
236  private:
237 
238  Aws::String m_backupVaultName;
239 
240  Aws::String m_backupVaultArn;
241 
242  Aws::String m_sNSTopicArn;
243 
244  Aws::Vector<BackupVaultEvent> m_backupVaultEvents;
245  };
246 
247 } // namespace Model
248 } // namespace Backup
249 } // namespace Aws
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetBackupVaultArn
const Aws::String & GetBackupVaultArn() const
Definition: GetBackupVaultNotificationsResult.h:99
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithSNSTopicArn
GetBackupVaultNotificationsResult & WithSNSTopicArn(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:184
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithSNSTopicArn
GetBackupVaultNotificationsResult & WithSNSTopicArn(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:177
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultArn
GetBackupVaultNotificationsResult & WithBackupVaultArn(const char *value)
Definition: GetBackupVaultNotificationsResult.h:141
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultEvents
GetBackupVaultNotificationsResult & WithBackupVaultEvents(Aws::Vector< BackupVaultEvent > &&value)
Definition: GetBackupVaultNotificationsResult.h:222
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultName
GetBackupVaultNotificationsResult & WithBackupVaultName(const char *value)
Definition: GetBackupVaultNotificationsResult.h:91
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetSNSTopicArn
void SetSNSTopicArn(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:156
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultEvents
void SetBackupVaultEvents(const Aws::Vector< BackupVaultEvent > &value)
Definition: GetBackupVaultNotificationsResult.h:204
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultName
GetBackupVaultNotificationsResult & WithBackupVaultName(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:75
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetBackupVaultNotificationsResult
GetBackupVaultNotificationsResult()
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetSNSTopicArn
void SetSNSTopicArn(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:163
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetBackupVaultNotificationsResult
GetBackupVaultNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultArn
GetBackupVaultNotificationsResult & WithBackupVaultArn(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:127
AWSVector.h
Aws::Backup::Model::GetBackupVaultNotificationsResult::AddBackupVaultEvents
GetBackupVaultNotificationsResult & AddBackupVaultEvents(const BackupVaultEvent &value)
Definition: GetBackupVaultNotificationsResult.h:228
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultEvents
GetBackupVaultNotificationsResult & WithBackupVaultEvents(const Aws::Vector< BackupVaultEvent > &value)
Definition: GetBackupVaultNotificationsResult.h:216
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultArn
void SetBackupVaultArn(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:106
BackupVaultEvent.h
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultArn
void SetBackupVaultArn(const char *value)
Definition: GetBackupVaultNotificationsResult.h:120
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultArn
void SetBackupVaultArn(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:113
Aws::Backup::Model::GetBackupVaultNotificationsResult
Definition: GetBackupVaultNotificationsResult.h:30
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetBackupVaultEvents
const Aws::Vector< BackupVaultEvent > & GetBackupVaultEvents() const
Definition: GetBackupVaultNotificationsResult.h:198
AWSString.h
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:59
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: GetBackupVaultNotificationsResult.h:67
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: GetBackupVaultNotificationsResult.h:51
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultArn
GetBackupVaultNotificationsResult & WithBackupVaultArn(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:134
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetSNSTopicArn
void SetSNSTopicArn(const char *value)
Definition: GetBackupVaultNotificationsResult.h:170
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetSNSTopicArn
const Aws::String & GetSNSTopicArn() const
Definition: GetBackupVaultNotificationsResult.h:149
Backup_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Backup::Model::GetBackupVaultNotificationsResult::SetBackupVaultEvents
void SetBackupVaultEvents(Aws::Vector< BackupVaultEvent > &&value)
Definition: GetBackupVaultNotificationsResult.h:210
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::GetBackupVaultNotificationsResult::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: GetBackupVaultNotificationsResult.h:43
Aws::Backup::Model::BackupVaultEvent
BackupVaultEvent
Definition: BackupVaultEvent.h:17
Aws::Backup::Model::GetBackupVaultNotificationsResult::AddBackupVaultEvents
GetBackupVaultNotificationsResult & AddBackupVaultEvents(BackupVaultEvent &&value)
Definition: GetBackupVaultNotificationsResult.h:234
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithSNSTopicArn
GetBackupVaultNotificationsResult & WithSNSTopicArn(const char *value)
Definition: GetBackupVaultNotificationsResult.h:191
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::GetBackupVaultNotificationsResult::WithBackupVaultName
GetBackupVaultNotificationsResult & WithBackupVaultName(Aws::String &&value)
Definition: GetBackupVaultNotificationsResult.h:83
Aws::Backup::Model::GetBackupVaultNotificationsResult::operator=
GetBackupVaultNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)