/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CostExplorer { namespace Model { class UpdateCostCategoryDefinitionResult { public: AWS_COSTEXPLORER_API UpdateCostCategoryDefinitionResult(); AWS_COSTEXPLORER_API UpdateCostCategoryDefinitionResult(const Aws::AmazonWebServiceResult& result); AWS_COSTEXPLORER_API UpdateCostCategoryDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The unique identifier for your Cost Category.

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

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline const Aws::String& GetEffectiveStart() const{ return m_effectiveStart; } /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline void SetEffectiveStart(const Aws::String& value) { m_effectiveStart = value; } /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline void SetEffectiveStart(Aws::String&& value) { m_effectiveStart = std::move(value); } /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline void SetEffectiveStart(const char* value) { m_effectiveStart.assign(value); } /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline UpdateCostCategoryDefinitionResult& WithEffectiveStart(const Aws::String& value) { SetEffectiveStart(value); return *this;} /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline UpdateCostCategoryDefinitionResult& WithEffectiveStart(Aws::String&& value) { SetEffectiveStart(std::move(value)); return *this;} /** *

The Cost Category's effective start date. It can only be a billing start date * (first day of the month).

*/ inline UpdateCostCategoryDefinitionResult& WithEffectiveStart(const char* value) { SetEffectiveStart(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateCostCategoryDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCostCategoryDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCostCategoryDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_costCategoryArn; Aws::String m_effectiveStart; Aws::String m_requestId; }; } // namespace Model } // namespace CostExplorer } // namespace Aws