/* * 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. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using Amazon.Runtime; namespace Amazon.S3.Model { /// /// Returns information about the GetBucketNotification response and response metadata. /// public class GetBucketNotificationResponse : AmazonWebServiceResponse { List _topicConfigurations; /// /// Gets and sets the TopicConfigurations property. TopicConfigurations are configuration /// for Amazon S3 events to be sent to Amazon SNS topics. /// public List TopicConfigurations { get { if (this._topicConfigurations == null) this._topicConfigurations = new List(); return this._topicConfigurations; } set { this._topicConfigurations = value; } } List _queueConfigurations; /// /// Gets and sets the QueueConfigurations property. QueueConfigurations are configuration /// for Amazon S3 events to be sent to Amazon SQS queues. /// public List QueueConfigurations { get { if (this._queueConfigurations == null) this._queueConfigurations = new List(); return this._queueConfigurations; } set { this._queueConfigurations = value; } } List _lambdaFunctionConfigurations; /// /// Gets and sets the property LambdaFunctionConfigurations. /// /// Describes the Lambda functions to invoke and the events for which to invoke them. /// /// public List LambdaFunctionConfigurations { get { if (this._lambdaFunctionConfigurations == null) this._lambdaFunctionConfigurations = new List(); return this._lambdaFunctionConfigurations; } set { this._lambdaFunctionConfigurations = value; } } private EventBridgeConfiguration _eventBridgeConfiguration; /// /// Gets and sets the property EventBridgeConfiguration. /// /// Enables delivery of all bucket events to Amazon EventBridge. /// /// public EventBridgeConfiguration EventBridgeConfiguration { get { return this._eventBridgeConfiguration; } set { this._eventBridgeConfiguration = value; } } // Check to see if EventBridgeConfiguration property is set internal bool IsSetEventBridgeConfiguration() { return this._eventBridgeConfiguration != null; } } }