/*
* 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 an CodeBuild project.
///
public partial class AwsCodeBuildProjectDetails
{
private List _artifacts = new List();
private string _encryptionKey;
private AwsCodeBuildProjectEnvironment _environment;
private AwsCodeBuildProjectLogsConfigDetails _logsConfig;
private string _name;
private List _secondaryArtifacts = new List();
private string _serviceRole;
private AwsCodeBuildProjectSource _source;
private AwsCodeBuildProjectVpcConfig _vpcConfig;
///
/// Gets and sets the property Artifacts.
///
/// Information about the build artifacts for the CodeBuild project.
///
///
public List Artifacts
{
get { return this._artifacts; }
set { this._artifacts = value; }
}
// Check to see if Artifacts property is set
internal bool IsSetArtifacts()
{
return this._artifacts != null && this._artifacts.Count > 0;
}
///
/// Gets and sets the property EncryptionKey.
///
/// The KMS key used to encrypt the build output artifacts.
///
///
///
/// You can specify either the ARN of the KMS key or, if available, the KMS key alias
/// (using the format alias/alias-name).
///
///
public string EncryptionKey
{
get { return this._encryptionKey; }
set { this._encryptionKey = value; }
}
// Check to see if EncryptionKey property is set
internal bool IsSetEncryptionKey()
{
return this._encryptionKey != null;
}
///
/// Gets and sets the property Environment.
///
/// Information about the build environment for this build project.
///
///
public AwsCodeBuildProjectEnvironment Environment
{
get { return this._environment; }
set { this._environment = value; }
}
// Check to see if Environment property is set
internal bool IsSetEnvironment()
{
return this._environment != null;
}
///
/// Gets and sets the property LogsConfig.
///
/// Information about logs for the build project.
///
///
public AwsCodeBuildProjectLogsConfigDetails LogsConfig
{
get { return this._logsConfig; }
set { this._logsConfig = value; }
}
// Check to see if LogsConfig property is set
internal bool IsSetLogsConfig()
{
return this._logsConfig != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the build project.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property SecondaryArtifacts.
///
/// Information about the secondary artifacts for the CodeBuild project.
///
///
public List SecondaryArtifacts
{
get { return this._secondaryArtifacts; }
set { this._secondaryArtifacts = value; }
}
// Check to see if SecondaryArtifacts property is set
internal bool IsSetSecondaryArtifacts()
{
return this._secondaryArtifacts != null && this._secondaryArtifacts.Count > 0;
}
///
/// Gets and sets the property ServiceRole.
///
/// The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web
/// Services services on behalf of the Amazon Web Services account.
///
///
public string ServiceRole
{
get { return this._serviceRole; }
set { this._serviceRole = value; }
}
// Check to see if ServiceRole property is set
internal bool IsSetServiceRole()
{
return this._serviceRole != null;
}
///
/// Gets and sets the property Source.
///
/// Information about the build input source code for this build project.
///
///
public AwsCodeBuildProjectSource Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property VpcConfig.
///
/// Information about the VPC configuration that CodeBuild accesses.
///
///
public AwsCodeBuildProjectVpcConfig VpcConfig
{
get { return this._vpcConfig; }
set { this._vpcConfig = value; }
}
// Check to see if VpcConfig property is set
internal bool IsSetVpcConfig()
{
return this._vpcConfig != null;
}
}
}