/*
* 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 transfer-2018-11-05.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.Transfer.Model
{
///
/// The details for a local or partner AS2 profile.
///
public partial class DescribedProfile
{
private string _arn;
private string _as2Id;
private List _certificateIds = new List();
private string _profileId;
private ProfileType _profileType;
private List _tags = new List();
///
/// Gets and sets the property Arn.
///
/// The unique Amazon Resource Name (ARN) for the profile.
///
///
[AWSProperty(Required=true, Min=20, Max=1600)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property As2Id.
///
/// The As2Id
is the AS2-name, as defined in the RFC
/// 4130. For inbound transfers, this is the AS2-From
header for the
/// AS2 messages sent from the partner. For outbound connectors, this is the AS2-To
/// header for the AS2 messages sent to the partner using the StartFileTransfer
/// API operation. This ID cannot include spaces.
///
///
[AWSProperty(Min=1, Max=128)]
public string As2Id
{
get { return this._as2Id; }
set { this._as2Id = value; }
}
// Check to see if As2Id property is set
internal bool IsSetAs2Id()
{
return this._as2Id != null;
}
///
/// Gets and sets the property CertificateIds.
///
/// An array of identifiers for the imported certificates. You use this identifier for
/// working with profiles and partner profiles.
///
///
public List CertificateIds
{
get { return this._certificateIds; }
set { this._certificateIds = value; }
}
// Check to see if CertificateIds property is set
internal bool IsSetCertificateIds()
{
return this._certificateIds != null && this._certificateIds.Count > 0;
}
///
/// Gets and sets the property ProfileId.
///
/// A unique identifier for the local or partner AS2 profile.
///
///
[AWSProperty(Min=19, Max=19)]
public string ProfileId
{
get { return this._profileId; }
set { this._profileId = value; }
}
// Check to see if ProfileId property is set
internal bool IsSetProfileId()
{
return this._profileId != null;
}
///
/// Gets and sets the property ProfileType.
///
/// Indicates whether to list only LOCAL
type profiles or only PARTNER
/// type profiles. If not supplied in the request, the command lists all types of profiles.
///
///
public ProfileType ProfileType
{
get { return this._profileType; }
set { this._profileType = value; }
}
// Check to see if ProfileType property is set
internal bool IsSetProfileType()
{
return this._profileType != null;
}
///
/// Gets and sets the property Tags.
///
/// Key-value pairs that can be used to group and search for profiles.
///
///
[AWSProperty(Min=1, Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}