/*
* 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 kinesisanalyticsv2-2018-05-23.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.KinesisAnalyticsV2.Model
{
///
/// Describes details about the code of a Kinesis Data Analytics application.
///
public partial class CodeContentDescription
{
private string _codeMD5;
private long? _codeSize;
private S3ApplicationCodeLocationDescription _s3ApplicationCodeLocationDescription;
private string _textContent;
///
/// Gets and sets the property CodeMD5.
///
/// The checksum that can be used to validate zip-format code.
///
///
[AWSProperty(Min=128, Max=128)]
public string CodeMD5
{
get { return this._codeMD5; }
set { this._codeMD5 = value; }
}
// Check to see if CodeMD5 property is set
internal bool IsSetCodeMD5()
{
return this._codeMD5 != null;
}
///
/// Gets and sets the property CodeSize.
///
/// The size in bytes of the application code. Can be used to validate zip-format code.
///
///
[AWSProperty(Min=0, Max=52428800)]
public long CodeSize
{
get { return this._codeSize.GetValueOrDefault(); }
set { this._codeSize = value; }
}
// Check to see if CodeSize property is set
internal bool IsSetCodeSize()
{
return this._codeSize.HasValue;
}
///
/// Gets and sets the property S3ApplicationCodeLocationDescription.
///
/// The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application
/// code stored in Amazon S3.
///
///
public S3ApplicationCodeLocationDescription S3ApplicationCodeLocationDescription
{
get { return this._s3ApplicationCodeLocationDescription; }
set { this._s3ApplicationCodeLocationDescription = value; }
}
// Check to see if S3ApplicationCodeLocationDescription property is set
internal bool IsSetS3ApplicationCodeLocationDescription()
{
return this._s3ApplicationCodeLocationDescription != null;
}
///
/// Gets and sets the property TextContent.
///
/// The text-format code
///
///
[AWSProperty(Min=0, Max=102400)]
public string TextContent
{
get { return this._textContent; }
set { this._textContent = value; }
}
// Check to see if TextContent property is set
internal bool IsSetTextContent()
{
return this._textContent != null;
}
}
}