/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the backup-2018-11-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Backup.Model
{
///
/// Container for the parameters to the UpdateRegionSettings operation.
/// Updates the current service opt-in settings for the Region. If service-opt-in is enabled
/// for a service, Backup tries to protect that service's resources in this Region, when
/// the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
/// Backup does not try to protect that service's resources in this Region. Use the DescribeRegionSettings
/// API to determine the resource types that are supported.
///
public partial class UpdateRegionSettingsRequest : AmazonBackupRequest
{
private Dictionary _resourceTypeManagementPreference = new Dictionary();
private Dictionary _resourceTypeOptInPreference = new Dictionary();
///
/// Gets and sets the property ResourceTypeManagementPreference.
///
/// Enables or disables full Backup management of backups for a resource type. To enable
/// full Backup management for DynamoDB along with
/// Backup's advanced DynamoDB backup features, follow the procedure to
/// enable advanced DynamoDB backup programmatically.
///
///
public Dictionary ResourceTypeManagementPreference
{
get { return this._resourceTypeManagementPreference; }
set { this._resourceTypeManagementPreference = value; }
}
// Check to see if ResourceTypeManagementPreference property is set
internal bool IsSetResourceTypeManagementPreference()
{
return this._resourceTypeManagementPreference != null && this._resourceTypeManagementPreference.Count > 0;
}
///
/// Gets and sets the property ResourceTypeOptInPreference.
///
/// Updates the list of services along with the opt-in preferences for the Region.
///
///
public Dictionary ResourceTypeOptInPreference
{
get { return this._resourceTypeOptInPreference; }
set { this._resourceTypeOptInPreference = value; }
}
// Check to see if ResourceTypeOptInPreference property is set
internal bool IsSetResourceTypeOptInPreference()
{
return this._resourceTypeOptInPreference != null && this._resourceTypeOptInPreference.Count > 0;
}
}
}