AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsBackupBackupVaultNotificationsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const Aws::Vector<Aws::String>& GetBackupVaultEvents() const{ return m_backupVaultEvents; }
53 inline bool BackupVaultEventsHasBeenSet() const { return m_backupVaultEventsHasBeenSet; }
54 inline void SetBackupVaultEvents(const Aws::Vector<Aws::String>& value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents = value; }
55 inline void SetBackupVaultEvents(Aws::Vector<Aws::String>&& value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents = std::move(value); }
58 inline AwsBackupBackupVaultNotificationsDetails& AddBackupVaultEvents(const Aws::String& value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents.push_back(value); return *this; }
59 inline AwsBackupBackupVaultNotificationsDetails& AddBackupVaultEvents(Aws::String&& value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents.push_back(std::move(value)); return *this; }
60 inline AwsBackupBackupVaultNotificationsDetails& AddBackupVaultEvents(const char* value) { m_backupVaultEventsHasBeenSet = true; m_backupVaultEvents.push_back(value); return *this; }
62
64
68 inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
69 inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
70 inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
71 inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
72 inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
74 inline AwsBackupBackupVaultNotificationsDetails& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
75 inline AwsBackupBackupVaultNotificationsDetails& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
77 private:
78
79 Aws::Vector<Aws::String> m_backupVaultEvents;
80 bool m_backupVaultEventsHasBeenSet = false;
81
82 Aws::String m_snsTopicArn;
83 bool m_snsTopicArnHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AwsBackupBackupVaultNotificationsDetails & AddBackupVaultEvents(Aws::String &&value)
AwsBackupBackupVaultNotificationsDetails & WithSnsTopicArn(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsBackupBackupVaultNotificationsDetails & WithSnsTopicArn(Aws::String &&value)
AwsBackupBackupVaultNotificationsDetails & WithBackupVaultEvents(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API AwsBackupBackupVaultNotificationsDetails(Aws::Utils::Json::JsonView jsonValue)
AwsBackupBackupVaultNotificationsDetails & WithBackupVaultEvents(const Aws::Vector< Aws::String > &value)
AwsBackupBackupVaultNotificationsDetails & WithSnsTopicArn(const char *value)
AwsBackupBackupVaultNotificationsDetails & AddBackupVaultEvents(const Aws::String &value)
AWS_SECURITYHUB_API AwsBackupBackupVaultNotificationsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsBackupBackupVaultNotificationsDetails & AddBackupVaultEvents(const char *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