/*
* 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 elasticmapreduce-2009-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.ElasticMapReduce.Model
{
///
/// Container for the parameters to the GetStudioSessionMapping operation.
/// Fetches mapping details for the specified Amazon EMR Studio and identity (user or
/// group).
///
public partial class GetStudioSessionMappingRequest : AmazonElasticMapReduceRequest
{
private string _identityId;
private string _identityName;
private IdentityType _identityType;
private string _studioId;
///
/// Gets and sets the property IdentityId.
///
/// The globally unique identifier (GUID) of the user or group. For more information,
/// see UserId
/// and GroupId
/// in the IAM Identity Center Identity Store API Reference. Either IdentityName
/// or IdentityId
must be specified.
///
///
[AWSProperty(Min=0, Max=256)]
public string IdentityId
{
get { return this._identityId; }
set { this._identityId = value; }
}
// Check to see if IdentityId property is set
internal bool IsSetIdentityId()
{
return this._identityId != null;
}
///
/// Gets and sets the property IdentityName.
///
/// The name of the user or group to fetch. For more information, see UserName
/// and DisplayName
/// in the IAM Identity Center Identity Store API Reference. Either IdentityName
/// or IdentityId
must be specified.
///
///
[AWSProperty(Min=0, Max=256)]
public string IdentityName
{
get { return this._identityName; }
set { this._identityName = value; }
}
// Check to see if IdentityName property is set
internal bool IsSetIdentityName()
{
return this._identityName != null;
}
///
/// Gets and sets the property IdentityType.
///
/// Specifies whether the identity to fetch is a user or a group.
///
///
[AWSProperty(Required=true)]
public IdentityType IdentityType
{
get { return this._identityType; }
set { this._identityType = value; }
}
// Check to see if IdentityType property is set
internal bool IsSetIdentityType()
{
return this._identityType != null;
}
///
/// Gets and sets the property StudioId.
///
/// The ID of the Amazon EMR Studio.
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
public string StudioId
{
get { return this._studioId; }
set { this._studioId = value; }
}
// Check to see if StudioId property is set
internal bool IsSetStudioId()
{
return this._studioId != null;
}
}
}