/*
* 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 workmail-2017-10-01.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.WorkMail.Model
{
///
/// Container for the parameters to the ListMobileDeviceAccessOverrides operation.
/// Lists all the mobile device access overrides for any given combination of WorkMail
/// organization, user, or device.
///
public partial class ListMobileDeviceAccessOverridesRequest : AmazonWorkMailRequest
{
private string _deviceId;
private int? _maxResults;
private string _nextToken;
private string _organizationId;
private string _userId;
///
/// Gets and sets the property DeviceId.
///
/// The mobile device to which the access override applies.
///
///
[AWSProperty(Min=1, Max=32)]
public string DeviceId
{
get { return this._deviceId; }
set { this._deviceId = value; }
}
// Check to see if DeviceId property is set
internal bool IsSetDeviceId()
{
return this._deviceId != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to return in a single call.
///
///
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// The token to use to retrieve the next page of results. The first call does not require
/// a token.
///
///
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property OrganizationId.
///
/// The WorkMail organization under which to list mobile device access overrides.
///
///
[AWSProperty(Required=true, Min=34, Max=34)]
public string OrganizationId
{
get { return this._organizationId; }
set { this._organizationId = value; }
}
// Check to see if OrganizationId property is set
internal bool IsSetOrganizationId()
{
return this._organizationId != null;
}
///
/// Gets and sets the property UserId.
///
/// The WorkMail user under which you list the mobile device access overrides. Accepts
/// the following types of user identities:
///
/// -
///
/// User ID:
12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
///
///
/// -
///
/// Email address:
user@domain.tld
///
/// -
///
/// User name:
user
///
///
///
[AWSProperty(Min=1, Max=256)]
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
}