/*
* 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 workload share summary return object.
///
public partial class WorkloadShareSummary
{
private PermissionType _permissionType;
private string _sharedWith;
private string _shareId;
private ShareStatus _status;
private string _statusMessage;
///
/// Gets and sets the property PermissionType.
///
public PermissionType PermissionType
{
get { return this._permissionType; }
set { this._permissionType = value; }
}
// Check to see if PermissionType property is set
internal bool IsSetPermissionType()
{
return this._permissionType != null;
}
///
/// Gets and sets the property SharedWith.
///
[AWSProperty(Min=12, Max=2048)]
public string SharedWith
{
get { return this._sharedWith; }
set { this._sharedWith = value; }
}
// Check to see if SharedWith property is set
internal bool IsSetSharedWith()
{
return this._sharedWith != null;
}
///
/// Gets and sets the property ShareId.
///
public string ShareId
{
get { return this._shareId; }
set { this._shareId = value; }
}
// Check to see if ShareId property is set
internal bool IsSetShareId()
{
return this._shareId != null;
}
///
/// Gets and sets the property Status.
///
public ShareStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusMessage.
///
/// Optional message to compliment the Status field.
///
///
[AWSProperty(Min=1, Max=512)]
public string StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null;
}
}
}