/*
* 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 dlm-2018-01-12.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.DLM.Model
{
///
/// Container for the parameters to the GetLifecyclePolicies operation.
/// Gets summary information about all or the specified data lifecycle policies.
///
///
///
/// To get complete information about a policy, use GetLifecyclePolicy.
///
///
public partial class GetLifecyclePoliciesRequest : AmazonDLMRequest
{
private List _policyIds = new List();
private List _resourceTypes = new List();
private GettablePolicyStateValues _state;
private List _tagsToAdd = new List();
private List _targetTags = new List();
///
/// Gets and sets the property PolicyIds.
///
/// The identifiers of the data lifecycle policies.
///
///
public List PolicyIds
{
get { return this._policyIds; }
set { this._policyIds = value; }
}
// Check to see if PolicyIds property is set
internal bool IsSetPolicyIds()
{
return this._policyIds != null && this._policyIds.Count > 0;
}
///
/// Gets and sets the property ResourceTypes.
///
/// The resource type.
///
///
[AWSProperty(Min=1, Max=1)]
public List ResourceTypes
{
get { return this._resourceTypes; }
set { this._resourceTypes = value; }
}
// Check to see if ResourceTypes property is set
internal bool IsSetResourceTypes()
{
return this._resourceTypes != null && this._resourceTypes.Count > 0;
}
///
/// Gets and sets the property State.
///
/// The activation state.
///
///
public GettablePolicyStateValues State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property TagsToAdd.
///
/// The tags to add to objects created by the policy.
///
///
///
/// Tags are strings in the format key=value
.
///
///
///
/// These user-defined tags are added in addition to the Amazon Web Services-added lifecycle
/// tags.
///
///
[AWSProperty(Min=0, Max=50)]
public List TagsToAdd
{
get { return this._tagsToAdd; }
set { this._tagsToAdd = value; }
}
// Check to see if TagsToAdd property is set
internal bool IsSetTagsToAdd()
{
return this._tagsToAdd != null && this._tagsToAdd.Count > 0;
}
///
/// Gets and sets the property TargetTags.
///
/// The target tag for a policy.
///
///
///
/// Tags are strings in the format key=value
.
///
///
[AWSProperty(Min=1, Max=50)]
public List TargetTags
{
get { return this._targetTags; }
set { this._targetTags = value; }
}
// Check to see if TargetTags property is set
internal bool IsSetTargetTags()
{
return this._targetTags != null && this._targetTags.Count > 0;
}
}
}