/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CostExplorer { namespace Model { /** */ class DescribeCostCategoryDefinitionRequest : public CostExplorerRequest { public: AWS_COSTEXPLORER_API DescribeCostCategoryDefinitionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeCostCategoryDefinition"; } AWS_COSTEXPLORER_API Aws::String SerializePayload() const override; AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier for your Cost Category.

*/ inline const Aws::String& GetCostCategoryArn() const{ return m_costCategoryArn; } /** *

The unique identifier for your Cost Category.

*/ inline bool CostCategoryArnHasBeenSet() const { return m_costCategoryArnHasBeenSet; } /** *

The unique identifier for your Cost Category.

*/ inline void SetCostCategoryArn(const Aws::String& value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn = value; } /** *

The unique identifier for your Cost Category.

*/ inline void SetCostCategoryArn(Aws::String&& value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn = std::move(value); } /** *

The unique identifier for your Cost Category.

*/ inline void SetCostCategoryArn(const char* value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn.assign(value); } /** *

The unique identifier for your Cost Category.

*/ inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(const Aws::String& value) { SetCostCategoryArn(value); return *this;} /** *

The unique identifier for your Cost Category.

*/ inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(Aws::String&& value) { SetCostCategoryArn(std::move(value)); return *this;} /** *

The unique identifier for your Cost Category.

*/ inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(const char* value) { SetCostCategoryArn(value); return *this;} /** *

The date when the Cost Category was effective.

*/ inline const Aws::String& GetEffectiveOn() const{ return m_effectiveOn; } /** *

The date when the Cost Category was effective.

*/ inline bool EffectiveOnHasBeenSet() const { return m_effectiveOnHasBeenSet; } /** *

The date when the Cost Category was effective.

*/ inline void SetEffectiveOn(const Aws::String& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = value; } /** *

The date when the Cost Category was effective.

*/ inline void SetEffectiveOn(Aws::String&& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = std::move(value); } /** *

The date when the Cost Category was effective.

*/ inline void SetEffectiveOn(const char* value) { m_effectiveOnHasBeenSet = true; m_effectiveOn.assign(value); } /** *

The date when the Cost Category was effective.

*/ inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(const Aws::String& value) { SetEffectiveOn(value); return *this;} /** *

The date when the Cost Category was effective.

*/ inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(Aws::String&& value) { SetEffectiveOn(std::move(value)); return *this;} /** *

The date when the Cost Category was effective.

*/ inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(const char* value) { SetEffectiveOn(value); return *this;} private: Aws::String m_costCategoryArn; bool m_costCategoryArnHasBeenSet = false; Aws::String m_effectiveOn; bool m_effectiveOnHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws