/*
* 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 ce-2017-10-25.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.CostExplorer.Model
{
///
/// Container for the parameters to the DescribeCostCategoryDefinition operation.
/// Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates
/// of a Cost Category that's defined in the account.
///
///
///
/// You have the option to use EffectiveOn
to return a Cost Category that's
/// active on a specific date. If there's no EffectiveOn
specified, you see
/// a Cost Category that's effective on the current date. If Cost Category is still effective,
/// EffectiveEnd
is omitted in the response.
///
///
public partial class DescribeCostCategoryDefinitionRequest : AmazonCostExplorerRequest
{
private string _costCategoryArn;
private string _effectiveOn;
///
/// Gets and sets the property CostCategoryArn.
///
/// The unique identifier for your Cost Category.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string CostCategoryArn
{
get { return this._costCategoryArn; }
set { this._costCategoryArn = value; }
}
// Check to see if CostCategoryArn property is set
internal bool IsSetCostCategoryArn()
{
return this._costCategoryArn != null;
}
///
/// Gets and sets the property EffectiveOn.
///
/// The date when the Cost Category was effective.
///
///
[AWSProperty(Min=20, Max=25)]
public string EffectiveOn
{
get { return this._effectiveOn; }
set { this._effectiveOn = value; }
}
// Check to see if EffectiveOn property is set
internal bool IsSetEffectiveOn()
{
return this._effectiveOn != null;
}
}
}