/*
* 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model
{
///
/// Summary of the details of an AppInstanceUserEndpoint
.
///
public partial class AppInstanceUserEndpointSummary
{
private AllowMessages _allowMessages;
private string _appInstanceUserArn;
private string _endpointId;
private EndpointState _endpointState;
private string _name;
private AppInstanceUserEndpointType _type;
///
/// Gets and sets the property AllowMessages.
///
/// BBoolean that controls whether the AppInstanceUserEndpoint
is opted in
/// to receive messages. ALL
indicates the endpoint will receive all messages.
/// NONE
indicates the endpoint will receive no messages.
///
///
public AllowMessages AllowMessages
{
get { return this._allowMessages; }
set { this._allowMessages = value; }
}
// Check to see if AllowMessages property is set
internal bool IsSetAllowMessages()
{
return this._allowMessages != null;
}
///
/// Gets and sets the property AppInstanceUserArn.
///
/// The ARN of the AppInstanceUser
.
///
///
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceUserArn
{
get { return this._appInstanceUserArn; }
set { this._appInstanceUserArn = value; }
}
// Check to see if AppInstanceUserArn property is set
internal bool IsSetAppInstanceUserArn()
{
return this._appInstanceUserArn != null;
}
///
/// Gets and sets the property EndpointId.
///
/// The unique identifier of the AppInstanceUserEndpoint
.
///
///
[AWSProperty(Min=0, Max=64)]
public string EndpointId
{
get { return this._endpointId; }
set { this._endpointId = value; }
}
// Check to see if EndpointId property is set
internal bool IsSetEndpointId()
{
return this._endpointId != null;
}
///
/// Gets and sets the property EndpointState.
///
/// A read-only field that represent the state of an AppInstanceUserEndpoint
.
///
///
public EndpointState EndpointState
{
get { return this._endpointState; }
set { this._endpointState = value; }
}
// Check to see if EndpointState property is set
internal bool IsSetEndpointState()
{
return this._endpointState != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the AppInstanceUserEndpoint
.
///
///
[AWSProperty(Sensitive=true, Min=0, Max=1600)]
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 Type.
///
/// The type of the AppInstanceUserEndpoint
.
///
///
public AppInstanceUserEndpointType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}