/*
* 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 inspector2-2020-06-08.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.Inspector2.Model
{
///
/// Contains details of the Amazon S3 bucket and KMS key used to export findings.
///
public partial class Destination
{
private string _bucketName;
private string _keyPrefix;
private string _kmsKeyArn;
///
/// Gets and sets the property BucketName.
///
/// The name of the Amazon S3 bucket to export findings to.
///
///
[AWSProperty(Required=true)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
///
/// Gets and sets the property KeyPrefix.
///
/// The prefix of the Amazon S3 bucket used to export findings.
///
///
public string KeyPrefix
{
get { return this._keyPrefix; }
set { this._keyPrefix = value; }
}
// Check to see if KeyPrefix property is set
internal bool IsSetKeyPrefix()
{
return this._keyPrefix != null;
}
///
/// Gets and sets the property KmsKeyArn.
///
/// The ARN of the KMS key used to encrypt data when exporting findings.
///
///
[AWSProperty(Required=true)]
public string KmsKeyArn
{
get { return this._kmsKeyArn; }
set { this._kmsKeyArn = value; }
}
// Check to see if KmsKeyArn property is set
internal bool IsSetKmsKeyArn()
{
return this._kmsKeyArn != null;
}
}
}