/* * 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 { /// /// Contains information about a security profile. /// public partial class SecurityProfile { private Dictionary _allowedAccessControlTags = new Dictionary(); private string _arn; private string _description; private string _id; private string _organizationResourceId; private string _securityProfileName; private List _tagRestrictedResources = new List(); private Dictionary _tags = new Dictionary(); /// /// 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 Arn. /// /// The Amazon Resource Name (ARN) for the secruity profile. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// 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 Id. /// /// The identifier for the security profile. /// /// public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property OrganizationResourceId. /// /// The organization resource identifier for the security profile. /// /// [AWSProperty(Min=1, Max=100)] public string OrganizationResourceId { get { return this._organizationResourceId; } set { this._organizationResourceId = value; } } // Check to see if OrganizationResourceId property is set internal bool IsSetOrganizationResourceId() { return this._organizationResourceId != null; } /// /// Gets and sets the property SecurityProfileName. /// /// The name for the security profile. /// /// public string SecurityProfileName { get { return this._securityProfileName; } set { this._securityProfileName = value; } } // Check to see if SecurityProfileName property is set internal bool IsSetSecurityProfileName() { return this._securityProfileName != 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; } /// /// Gets and sets the property Tags. /// /// The tags used to organize, track, or control access for this resource. For example, /// { "tags": {"key1":"value1", "key2":"value2"} }. /// /// [AWSProperty(Min=1, Max=50)] public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }