/*
* 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 resiliencehub-2020-04-30.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.ResilienceHub.Model
{
///
/// Container for the parameters to the ListRecommendationTemplates operation.
/// Lists the recommendation templates for the Resilience Hub applications.
///
public partial class ListRecommendationTemplatesRequest : AmazonResilienceHubRequest
{
private string _assessmentArn;
private int? _maxResults;
private string _name;
private string _nextToken;
private string _recommendationTemplateArn;
private bool? _reverseOrder;
private List _status = new List();
///
/// Gets and sets the property AssessmentArn.
///
/// The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
/// For more information about ARNs, see
/// Amazon Resource Names (ARNs) in the AWS General Reference guide.
///
///
[AWSProperty(Required=true)]
public string AssessmentArn
{
get { return this._assessmentArn; }
set { this._assessmentArn = value; }
}
// Check to see if AssessmentArn property is set
internal bool IsSetAssessmentArn()
{
return this._assessmentArn != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to include in the response. If more results exist than
/// the specified MaxResults
value, a token is included in the response so
/// that the remaining results can be retrieved.
///
///
[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 Name.
///
/// The name for one of the listed recommendation templates.
///
///
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 NextToken.
///
/// Null, or the token from a previous call to get the next set of results.
///
///
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 RecommendationTemplateArn.
///
/// The Amazon Resource Name (ARN) for a recommendation template.
///
///
public string RecommendationTemplateArn
{
get { return this._recommendationTemplateArn; }
set { this._recommendationTemplateArn = value; }
}
// Check to see if RecommendationTemplateArn property is set
internal bool IsSetRecommendationTemplateArn()
{
return this._recommendationTemplateArn != null;
}
///
/// Gets and sets the property ReverseOrder.
///
/// The default is to sort by ascending startTime. To sort by descending startTime,
/// set reverseOrder to true
.
///
///
public bool ReverseOrder
{
get { return this._reverseOrder.GetValueOrDefault(); }
set { this._reverseOrder = value; }
}
// Check to see if ReverseOrder property is set
internal bool IsSetReverseOrder()
{
return this._reverseOrder.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status of the action.
///
///
[AWSProperty(Min=1, Max=4)]
public List Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null && this._status.Count > 0;
}
}
}