/* * 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 s3control-2018-08-20.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.S3Control.Model { /// /// A configuration used when creating an Object Lambda Access Point. /// public partial class ObjectLambdaConfiguration { private List _allowedFeatures = new List(); private bool? _cloudWatchMetricsEnabled; private string _supportingAccessPoint; private List _transformationConfigurations = new List(); /// /// Gets and sets the property AllowedFeatures. /// /// A container for allowed features. Valid inputs are GetObject-Range, GetObject-PartNumber, /// HeadObject-Range, and HeadObject-PartNumber. /// /// public List AllowedFeatures { get { return this._allowedFeatures; } set { this._allowedFeatures = value; } } // Check to see if AllowedFeatures property is set internal bool IsSetAllowedFeatures() { return this._allowedFeatures != null && this._allowedFeatures.Count > 0; } /// /// Gets and sets the property CloudWatchMetricsEnabled. /// /// A container for whether the CloudWatch metrics configuration is enabled. /// /// public bool CloudWatchMetricsEnabled { get { return this._cloudWatchMetricsEnabled.GetValueOrDefault(); } set { this._cloudWatchMetricsEnabled = value; } } // Check to see if CloudWatchMetricsEnabled property is set internal bool IsSetCloudWatchMetricsEnabled() { return this._cloudWatchMetricsEnabled.HasValue; } /// /// Gets and sets the property SupportingAccessPoint. /// /// Standard access point associated with the Object Lambda Access Point. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string SupportingAccessPoint { get { return this._supportingAccessPoint; } set { this._supportingAccessPoint = value; } } // Check to see if SupportingAccessPoint property is set internal bool IsSetSupportingAccessPoint() { return this._supportingAccessPoint != null; } /// /// Gets and sets the property TransformationConfigurations. /// /// A container for transformation configurations for an Object Lambda Access Point. /// /// [AWSProperty(Required=true)] public List TransformationConfigurations { get { return this._transformationConfigurations; } set { this._transformationConfigurations = value; } } // Check to see if TransformationConfigurations property is set internal bool IsSetTransformationConfigurations() { return this._transformationConfigurations != null && this._transformationConfigurations.Count > 0; } } }