/*
* 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 quicksight-2018-04-01.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.QuickSight.Model
{
///
/// The login credentials to use to import a data source resource.
///
public partial class AssetBundleImportJobDataSourceCredentials
{
private AssetBundleImportJobDataSourceCredentialPair _credentialPair;
private string _secretArn;
///
/// Gets and sets the property CredentialPair.
///
/// A username and password credential pair to be used to create the imported data source.
/// Keep this field blank if you are using a Secrets Manager secret to provide credentials.
///
///
[AWSProperty(Sensitive=true)]
public AssetBundleImportJobDataSourceCredentialPair CredentialPair
{
get { return this._credentialPair; }
set { this._credentialPair = value; }
}
// Check to see if CredentialPair property is set
internal bool IsSetCredentialPair()
{
return this._credentialPair != null;
}
///
/// Gets and sets the property SecretArn.
///
/// The ARN of the Secrets Manager secret that's used to create the imported data source.
/// Keep this field blank, unless you are using a secret in place of a credential pair.
///
///
[AWSProperty(Min=1, Max=2048)]
public string SecretArn
{
get { return this._secretArn; }
set { this._secretArn = value; }
}
// Check to see if SecretArn property is set
internal bool IsSetSecretArn()
{
return this._secretArn != null;
}
}
}