/*
* 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 amplifyuibuilder-2021-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.AmplifyUIBuilder.Model
{
///
/// Describes the code generation job configuration for a React project.
///
public partial class ReactStartCodegenJobData
{
private bool? _inlineSourceMap;
private JSModule _module;
private bool? _renderTypeDeclarations;
private JSScript _script;
private JSTarget _target;
///
/// Gets and sets the property InlineSourceMap.
///
/// Specifies whether the code generation job should render inline source maps.
///
///
public bool InlineSourceMap
{
get { return this._inlineSourceMap.GetValueOrDefault(); }
set { this._inlineSourceMap = value; }
}
// Check to see if InlineSourceMap property is set
internal bool IsSetInlineSourceMap()
{
return this._inlineSourceMap.HasValue;
}
///
/// Gets and sets the property Module.
///
/// The JavaScript module type.
///
///
public JSModule Module
{
get { return this._module; }
set { this._module = value; }
}
// Check to see if Module property is set
internal bool IsSetModule()
{
return this._module != null;
}
///
/// Gets and sets the property RenderTypeDeclarations.
///
/// Specifies whether the code generation job should render type declaration files.
///
///
public bool RenderTypeDeclarations
{
get { return this._renderTypeDeclarations.GetValueOrDefault(); }
set { this._renderTypeDeclarations = value; }
}
// Check to see if RenderTypeDeclarations property is set
internal bool IsSetRenderTypeDeclarations()
{
return this._renderTypeDeclarations.HasValue;
}
///
/// Gets and sets the property Script.
///
/// The file type to use for a JavaScript project.
///
///
public JSScript Script
{
get { return this._script; }
set { this._script = value; }
}
// Check to see if Script property is set
internal bool IsSetScript()
{
return this._script != null;
}
///
/// Gets and sets the property Target.
///
/// The ECMAScript specification to use.
///
///
public JSTarget Target
{
get { return this._target; }
set { this._target = value; }
}
// Check to see if Target property is set
internal bool IsSetTarget()
{
return this._target != null;
}
}
}