/*
* 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 wellarchitected-2020-03-31.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.WellArchitected.Model
{
///
/// A profile.
///
public partial class Profile
{
private DateTime? _createdAt;
private string _owner;
private string _profileArn;
private string _profileDescription;
private string _profileName;
private List _profileQuestions = new List();
private string _profileVersion;
private string _shareInvitationId;
private Dictionary _tags = new Dictionary();
private DateTime? _updatedAt;
///
/// Gets and sets the property CreatedAt.
///
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
///
/// Gets and sets the property Owner.
///
[AWSProperty(Min=12, Max=12)]
public string Owner
{
get { return this._owner; }
set { this._owner = value; }
}
// Check to see if Owner property is set
internal bool IsSetOwner()
{
return this._owner != null;
}
///
/// Gets and sets the property ProfileArn.
///
/// The profile ARN.
///
///
[AWSProperty(Max=2084)]
public string ProfileArn
{
get { return this._profileArn; }
set { this._profileArn = value; }
}
// Check to see if ProfileArn property is set
internal bool IsSetProfileArn()
{
return this._profileArn != null;
}
///
/// Gets and sets the property ProfileDescription.
///
/// The profile description.
///
///
[AWSProperty(Min=3, Max=100)]
public string ProfileDescription
{
get { return this._profileDescription; }
set { this._profileDescription = value; }
}
// Check to see if ProfileDescription property is set
internal bool IsSetProfileDescription()
{
return this._profileDescription != null;
}
///
/// Gets and sets the property ProfileName.
///
/// The profile name.
///
///
[AWSProperty(Min=3, Max=100)]
public string ProfileName
{
get { return this._profileName; }
set { this._profileName = value; }
}
// Check to see if ProfileName property is set
internal bool IsSetProfileName()
{
return this._profileName != null;
}
///
/// Gets and sets the property ProfileQuestions.
///
/// Profile questions.
///
///
public List ProfileQuestions
{
get { return this._profileQuestions; }
set { this._profileQuestions = value; }
}
// Check to see if ProfileQuestions property is set
internal bool IsSetProfileQuestions()
{
return this._profileQuestions != null && this._profileQuestions.Count > 0;
}
///
/// Gets and sets the property ProfileVersion.
///
/// The profile version.
///
///
[AWSProperty(Min=1, Max=32)]
public string ProfileVersion
{
get { return this._profileVersion; }
set { this._profileVersion = value; }
}
// Check to see if ProfileVersion property is set
internal bool IsSetProfileVersion()
{
return this._profileVersion != null;
}
///
/// Gets and sets the property ShareInvitationId.
///
/// The ID assigned to the share invitation.
///
///
public string ShareInvitationId
{
get { return this._shareInvitationId; }
set { this._shareInvitationId = value; }
}
// Check to see if ShareInvitationId property is set
internal bool IsSetShareInvitationId()
{
return this._shareInvitationId != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags assigned to the profile.
///
///
[AWSProperty(Min=1, Max=50)]
public Dictionary 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;
}
///
/// Gets and sets the property UpdatedAt.
///
public DateTime UpdatedAt
{
get { return this._updatedAt.GetValueOrDefault(); }
set { this._updatedAt = value; }
}
// Check to see if UpdatedAt property is set
internal bool IsSetUpdatedAt()
{
return this._updatedAt.HasValue;
}
}
}