/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides options to configure notifications that will be sent when specific
* events happen to a vault.See Also:
AWS
* API Reference
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The name of the vault.
*/ inline const Aws::String& GetVaultName() const{ return m_vaultName; } /** *The name of the vault.
*/ inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; } /** *The name of the vault.
*/ inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; } /** *The name of the vault.
*/ inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); } /** *The name of the vault.
*/ inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); } /** *The name of the vault.
*/ inline SetVaultNotificationsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;} /** *The name of the vault.
*/ inline SetVaultNotificationsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;} /** *The name of the vault.
*/ inline SetVaultNotificationsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;} /** *Provides options for specifying notification configuration.
*/ inline const VaultNotificationConfig& GetVaultNotificationConfig() const{ return m_vaultNotificationConfig; } /** *Provides options for specifying notification configuration.
*/ inline bool VaultNotificationConfigHasBeenSet() const { return m_vaultNotificationConfigHasBeenSet; } /** *Provides options for specifying notification configuration.
*/ inline void SetVaultNotificationConfig(const VaultNotificationConfig& value) { m_vaultNotificationConfigHasBeenSet = true; m_vaultNotificationConfig = value; } /** *Provides options for specifying notification configuration.
*/ inline void SetVaultNotificationConfig(VaultNotificationConfig&& value) { m_vaultNotificationConfigHasBeenSet = true; m_vaultNotificationConfig = std::move(value); } /** *Provides options for specifying notification configuration.
*/ inline SetVaultNotificationsRequest& WithVaultNotificationConfig(const VaultNotificationConfig& value) { SetVaultNotificationConfig(value); return *this;} /** *Provides options for specifying notification configuration.
*/ inline SetVaultNotificationsRequest& WithVaultNotificationConfig(VaultNotificationConfig&& value) { SetVaultNotificationConfig(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_vaultName; bool m_vaultNameHasBeenSet = false; VaultNotificationConfig m_vaultNotificationConfig; bool m_vaultNotificationConfigHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws