/* * 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model { /// /// The resource configuration for updating backend storage. /// public partial class UpdateBackendStorageResourceConfig { private BackendStoragePermissions _permissions; private ServiceName _serviceName; /// /// Gets and sets the property Permissions. /// /// The authorization configuration for the storage S3 bucket. /// /// [AWSProperty(Required=true)] public BackendStoragePermissions Permissions { get { return this._permissions; } set { this._permissions = value; } } // Check to see if Permissions property is set internal bool IsSetPermissions() { return this._permissions != null; } /// /// Gets and sets the property ServiceName. /// /// The name of the storage service. /// /// [AWSProperty(Required=true)] public ServiceName ServiceName { get { return this._serviceName; } set { this._serviceName = value; } } // Check to see if ServiceName property is set internal bool IsSetServiceName() { return this._serviceName != null; } } }