/* * 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 ListNotebookExecutions operation. /// Provides summaries of all notebook executions. You can filter the list based on multiple /// criteria such as status, time range, and editor id. Returns a maximum of 50 notebook /// executions and a marker to track the paging of a longer notebook execution list across /// multiple ListNotebookExecutions calls. /// public partial class ListNotebookExecutionsRequest : AmazonElasticMapReduceRequest { private string _editorId; private string _executionEngineId; private DateTime? _from; private string _marker; private NotebookExecutionStatus _status; private DateTime? _to; /// /// Gets and sets the property EditorId. /// /// The unique ID of the editor associated with the notebook execution. /// /// [AWSProperty(Min=0, Max=256)] public string EditorId { get { return this._editorId; } set { this._editorId = value; } } // Check to see if EditorId property is set internal bool IsSetEditorId() { return this._editorId != null; } /// /// Gets and sets the property ExecutionEngineId. /// /// The unique ID of the execution engine. /// /// [AWSProperty(Min=0, Max=10280)] public string ExecutionEngineId { get { return this._executionEngineId; } set { this._executionEngineId = value; } } // Check to see if ExecutionEngineId property is set internal bool IsSetExecutionEngineId() { return this._executionEngineId != null; } /// /// Gets and sets the property From. /// /// The beginning of time range filter for listing notebook executions. The default is /// the timestamp of 30 days ago. /// /// public DateTime From { get { return this._from.GetValueOrDefault(); } set { this._from = value; } } // Check to see if From property is set internal bool IsSetFrom() { return this._from.HasValue; } /// /// Gets and sets the property Marker. /// /// The pagination token, returned by a previous ListNotebookExecutions call, /// that indicates the start of the list for this ListNotebookExecutions /// call. /// /// public string Marker { get { return this._marker; } set { this._marker = value; } } // Check to see if Marker property is set internal bool IsSetMarker() { return this._marker != null; } /// /// Gets and sets the property Status. /// /// The status filter for listing notebook executions. /// /// /// public NotebookExecutionStatus 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 To. /// /// The end of time range filter for listing notebook executions. The default is the current /// timestamp. /// /// public DateTime To { get { return this._to.GetValueOrDefault(); } set { this._to = value; } } // Check to see if To property is set internal bool IsSetTo() { return this._to.HasValue; } } }