/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Information about the build input source code for this build project. /// public partial class AwsCodeBuildProjectSource { private int? _gitCloneDepth; private bool? _insecureSsl; private string _location; private string _type; /// /// Gets and sets the property GitCloneDepth. /// /// Information about the Git clone depth for the build project. /// /// public int GitCloneDepth { get { return this._gitCloneDepth.GetValueOrDefault(); } set { this._gitCloneDepth = value; } } // Check to see if GitCloneDepth property is set internal bool IsSetGitCloneDepth() { return this._gitCloneDepth.HasValue; } /// /// Gets and sets the property InsecureSsl. /// /// Whether to ignore SSL warnings while connecting to the project source code. /// /// public bool InsecureSsl { get { return this._insecureSsl.GetValueOrDefault(); } set { this._insecureSsl = value; } } // Check to see if InsecureSsl property is set internal bool IsSetInsecureSsl() { return this._insecureSsl.HasValue; } /// /// Gets and sets the property Location. /// /// Information about the location of the source code to be built. /// /// /// /// Valid values include: /// /// /// public string Location { get { return this._location; } set { this._location = value; } } // Check to see if Location property is set internal bool IsSetLocation() { return this._location != null; } /// /// Gets and sets the property Type. /// /// The type of repository that contains the source code to be built. Valid values are: /// /// /// public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }