/* * 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 securitylake-2018-05-10.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.SecurityLake.Model { /// /// Container for the parameters to the CreateSubscriber operation. /// Creates a subscription permission for accounts that are already enabled in Amazon /// Security Lake. You can create a subscriber with access to data in the current Amazon /// Web Services Region. /// public partial class CreateSubscriberRequest : AmazonSecurityLakeRequest { private List _accessTypes = new List(); private List _sources = new List(); private string _subscriberDescription; private AwsIdentity _subscriberIdentity; private string _subscriberName; private List _tags = new List(); /// /// Gets and sets the property AccessTypes. /// /// The Amazon S3 or Lake Formation access type. /// /// public List AccessTypes { get { return this._accessTypes; } set { this._accessTypes = value; } } // Check to see if AccessTypes property is set internal bool IsSetAccessTypes() { return this._accessTypes != null && this._accessTypes.Count > 0; } /// /// Gets and sets the property Sources. /// /// The supported Amazon Web Services from which logs and events are collected. Security /// Lake supports log and event collection for natively supported Amazon Web Services. /// /// [AWSProperty(Required=true)] public List Sources { get { return this._sources; } set { this._sources = value; } } // Check to see if Sources property is set internal bool IsSetSources() { return this._sources != null && this._sources.Count > 0; } /// /// Gets and sets the property SubscriberDescription. /// /// The description for your subscriber account in Security Lake. /// /// public string SubscriberDescription { get { return this._subscriberDescription; } set { this._subscriberDescription = value; } } // Check to see if SubscriberDescription property is set internal bool IsSetSubscriberDescription() { return this._subscriberDescription != null; } /// /// Gets and sets the property SubscriberIdentity. /// /// The AWS identity used to access your data. /// /// [AWSProperty(Required=true)] public AwsIdentity SubscriberIdentity { get { return this._subscriberIdentity; } set { this._subscriberIdentity = value; } } // Check to see if SubscriberIdentity property is set internal bool IsSetSubscriberIdentity() { return this._subscriberIdentity != null; } /// /// Gets and sets the property SubscriberName. /// /// The name of your Security Lake subscriber account. /// /// [AWSProperty(Required=true, Min=0, Max=64)] public string SubscriberName { get { return this._subscriberName; } set { this._subscriberName = value; } } // Check to see if SubscriberName property is set internal bool IsSetSubscriberName() { return this._subscriberName != null; } /// /// Gets and sets the property Tags. /// /// An array of objects, one for each tag to associate with the subscriber. For each tag, /// you must specify both a tag key and a tag value. A tag value cannot be null, but it /// can be an empty string. /// /// [AWSProperty(Min=0, Max=50)] public List 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; } } }