/* * 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 transfer-2018-11-05.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.Transfer.Model { /// /// Consists of the logging role and the log group name. /// public partial class LoggingConfiguration { private string _loggingRole; private string _logGroupName; /// /// Gets and sets the property LoggingRole. /// /// The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that /// allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. /// When set, you can view user activity in your CloudWatch logs. /// /// [AWSProperty(Min=20, Max=2048)] public string LoggingRole { get { return this._loggingRole; } set { this._loggingRole = value; } } // Check to see if LoggingRole property is set internal bool IsSetLoggingRole() { return this._loggingRole != null; } /// /// Gets and sets the property LogGroupName. /// /// The name of the CloudWatch logging group for the Transfer Family server to which this /// workflow belongs. /// /// [AWSProperty(Min=1, Max=512)] public string LogGroupName { get { return this._logGroupName; } set { this._logGroupName = value; } } // Check to see if LogGroupName property is set internal bool IsSetLogGroupName() { return this._logGroupName != null; } } }