/*
* 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 privatenetworks-2021-12-03.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.Private5G.Model
{
///
/// Container for the parameters to the ListOrders operation.
/// Lists orders. Add filters to your request to return a more specific list of results.
/// Use filters to match the Amazon Resource Name (ARN) of the network site or the status
/// of the order.
///
///
///
/// If you specify multiple filters, filters are joined with an OR, and the request returns
/// results that match all of the specified filters.
///
///
public partial class ListOrdersRequest : AmazonPrivate5GRequest
{
private Dictionary> _filters = new Dictionary>();
private int? _maxResults;
private string _networkArn;
private string _startToken;
///
/// Gets and sets the property Filters.
///
/// The filters.
///
/// -
///
///
NETWORK_SITE
- The Amazon Resource Name (ARN) of the network site.
///
/// -
///
///
STATUS
- The status (ACKNOWLEDGING
| ACKNOWLEDGED
/// | UNACKNOWLEDGED
).
///
///
///
/// Filter values are case sensitive. If you specify multiple values for a filter, the
/// values are joined with an OR
, and the request returns all results that
/// match any of the specified values.
///
///
public Dictionary> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to return.
///
///
[AWSProperty(Min=1, Max=20)]
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 NetworkArn.
///
/// The Amazon Resource Name (ARN) of the network.
///
///
[AWSProperty(Required=true)]
public string NetworkArn
{
get { return this._networkArn; }
set { this._networkArn = value; }
}
// Check to see if NetworkArn property is set
internal bool IsSetNetworkArn()
{
return this._networkArn != null;
}
///
/// Gets and sets the property StartToken.
///
/// The token for the next page of results.
///
///
public string StartToken
{
get { return this._startToken; }
set { this._startToken = value; }
}
// Check to see if StartToken property is set
internal bool IsSetStartToken()
{
return this._startToken != null;
}
}
}