/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Backup { namespace Model { class GetBackupVaultNotificationsResult { public: AWS_BACKUP_API GetBackupVaultNotificationsResult(); AWS_BACKUP_API GetBackupVaultNotificationsResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API GetBackupVaultNotificationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Region where they are created. They consist of lowercase letters, numbers, and * hyphens.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;} /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; } /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArn = value; } /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArn = std::move(value); } /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline void SetSNSTopicArn(const char* value) { m_sNSTopicArn.assign(value); } /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;} /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline GetBackupVaultNotificationsResult& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;} /** *

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon * SNS) topic; for example, * arn:aws:sns:us-west-2:111122223333:MyTopic.

*/ inline GetBackupVaultNotificationsResult& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;} /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline const Aws::Vector& GetBackupVaultEvents() const{ return m_backupVaultEvents; } /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline void SetBackupVaultEvents(const Aws::Vector& value) { m_backupVaultEvents = value; } /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline void SetBackupVaultEvents(Aws::Vector&& value) { m_backupVaultEvents = std::move(value); } /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultEvents(const Aws::Vector& value) { SetBackupVaultEvents(value); return *this;} /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline GetBackupVaultNotificationsResult& WithBackupVaultEvents(Aws::Vector&& value) { SetBackupVaultEvents(std::move(value)); return *this;} /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(const BackupVaultEvent& value) { m_backupVaultEvents.push_back(value); return *this; } /** *

An array of events that indicate the status of jobs to back up resources to * the backup vault.

*/ inline GetBackupVaultNotificationsResult& AddBackupVaultEvents(BackupVaultEvent&& value) { m_backupVaultEvents.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetBackupVaultNotificationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBackupVaultNotificationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBackupVaultNotificationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_backupVaultName; Aws::String m_backupVaultArn; Aws::String m_sNSTopicArn; Aws::Vector m_backupVaultEvents; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws