/* * 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 kinesisanalytics-2015-08-14.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.KinesisAnalytics.Model { /// /// Describes CloudWatch logging option updates. /// public partial class CloudWatchLoggingOptionUpdate { private string _cloudWatchLoggingOptionId; private string _logStreamARNUpdate; private string _roleARNUpdate; /// /// Gets and sets the property CloudWatchLoggingOptionId. /// /// ID of the CloudWatch logging option to update /// /// [AWSProperty(Required=true, Min=1, Max=50)] public string CloudWatchLoggingOptionId { get { return this._cloudWatchLoggingOptionId; } set { this._cloudWatchLoggingOptionId = value; } } // Check to see if CloudWatchLoggingOptionId property is set internal bool IsSetCloudWatchLoggingOptionId() { return this._cloudWatchLoggingOptionId != null; } /// /// Gets and sets the property LogStreamARNUpdate. /// /// ARN of the CloudWatch log to receive application messages. /// /// [AWSProperty(Min=1, Max=2048)] public string LogStreamARNUpdate { get { return this._logStreamARNUpdate; } set { this._logStreamARNUpdate = value; } } // Check to see if LogStreamARNUpdate property is set internal bool IsSetLogStreamARNUpdate() { return this._logStreamARNUpdate != null; } /// /// Gets and sets the property RoleARNUpdate. /// /// IAM ARN of the role to use to send application messages. Note: To write application /// messages to CloudWatch, the IAM role used must have the PutLogEvents /// policy action enabled. /// /// [AWSProperty(Min=1, Max=2048)] public string RoleARNUpdate { get { return this._roleARNUpdate; } set { this._roleARNUpdate = value; } } // Check to see if RoleARNUpdate property is set internal bool IsSetRoleARNUpdate() { return this._roleARNUpdate != null; } } }