/* * 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 connect-2017-08-08.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.Connect.Model { /// /// Container for the parameters to the UpdateSecurityProfile operation. /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates a security profile. /// /// public partial class UpdateSecurityProfileRequest : AmazonConnectRequest { private Dictionary _allowedAccessControlTags = new Dictionary(); private string _description; private string _instanceId; private List _permissions = new List(); private string _securityProfileId; private List _tagRestrictedResources = new List(); /// /// Gets and sets the property AllowedAccessControlTags. /// /// The list of tags that a security profile uses to restrict access to resources in Amazon /// Connect. /// /// [AWSProperty(Max=2)] public Dictionary AllowedAccessControlTags { get { return this._allowedAccessControlTags; } set { this._allowedAccessControlTags = value; } } // Check to see if AllowedAccessControlTags property is set internal bool IsSetAllowedAccessControlTags() { return this._allowedAccessControlTags != null && this._allowedAccessControlTags.Count > 0; } /// /// Gets and sets the property Description. /// /// The description of the security profile. /// /// [AWSProperty(Max=250)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property InstanceId. /// /// The identifier of the Amazon Connect instance. You can find /// the instance ID in the Amazon Resource Name (ARN) of the instance. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property Permissions. /// /// The permissions granted to a security profile. For a list of valid permissions, see /// List /// of security profile permissions. /// /// [AWSProperty(Max=500)] public List Permissions { get { return this._permissions; } set { this._permissions = value; } } // Check to see if Permissions property is set internal bool IsSetPermissions() { return this._permissions != null && this._permissions.Count > 0; } /// /// Gets and sets the property SecurityProfileId. /// /// The identifier for the security profle. /// /// [AWSProperty(Required=true)] public string SecurityProfileId { get { return this._securityProfileId; } set { this._securityProfileId = value; } } // Check to see if SecurityProfileId property is set internal bool IsSetSecurityProfileId() { return this._securityProfileId != null; } /// /// Gets and sets the property TagRestrictedResources. /// /// The list of resources that a security profile applies tag restrictions to in Amazon /// Connect. /// /// [AWSProperty(Max=10)] public List TagRestrictedResources { get { return this._tagRestrictedResources; } set { this._tagRestrictedResources = value; } } // Check to see if TagRestrictedResources property is set internal bool IsSetTagRestrictedResources() { return this._tagRestrictedResources != null && this._tagRestrictedResources.Count > 0; } } }