/*
* 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 opsworks-2013-02-18.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.OpsWorks.Model
{
///
/// Describes a user's SSH information.
///
public partial class UserProfile
{
private bool? _allowSelfManagement;
private string _iamUserArn;
private string _name;
private string _sshPublicKey;
private string _sshUsername;
///
/// Gets and sets the property AllowSelfManagement.
///
/// Whether users can specify their own SSH public key through the My Settings page. For
/// more information, see Managing
/// User Permissions.
///
///
public bool AllowSelfManagement
{
get { return this._allowSelfManagement.GetValueOrDefault(); }
set { this._allowSelfManagement = value; }
}
// Check to see if AllowSelfManagement property is set
internal bool IsSetAllowSelfManagement()
{
return this._allowSelfManagement.HasValue;
}
///
/// Gets and sets the property IamUserArn.
///
/// The user's IAM ARN.
///
///
public string IamUserArn
{
get { return this._iamUserArn; }
set { this._iamUserArn = value; }
}
// Check to see if IamUserArn property is set
internal bool IsSetIamUserArn()
{
return this._iamUserArn != null;
}
///
/// Gets and sets the property Name.
///
/// The user's name.
///
///
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 SshPublicKey.
///
/// The user's SSH public key.
///
///
public string SshPublicKey
{
get { return this._sshPublicKey; }
set { this._sshPublicKey = value; }
}
// Check to see if SshPublicKey property is set
internal bool IsSetSshPublicKey()
{
return this._sshPublicKey != null;
}
///
/// Gets and sets the property SshUsername.
///
/// The user's SSH user name.
///
///
public string SshUsername
{
get { return this._sshUsername; }
set { this._sshUsername = value; }
}
// Check to see if SshUsername property is set
internal bool IsSetSshUsername()
{
return this._sshUsername != null;
}
}
}