/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { /** *

Information about a budget.

See Also:

AWS * API Reference

*/ class BudgetDetail { public: AWS_SERVICECATALOG_API BudgetDetail(); AWS_SERVICECATALOG_API BudgetDetail(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICECATALOG_API BudgetDetail& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Name of the associated budget.

*/ inline const Aws::String& GetBudgetName() const{ return m_budgetName; } /** *

Name of the associated budget.

*/ inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; } /** *

Name of the associated budget.

*/ inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; } /** *

Name of the associated budget.

*/ inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); } /** *

Name of the associated budget.

*/ inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); } /** *

Name of the associated budget.

*/ inline BudgetDetail& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} /** *

Name of the associated budget.

*/ inline BudgetDetail& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} /** *

Name of the associated budget.

*/ inline BudgetDetail& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} private: Aws::String m_budgetName; bool m_budgetNameHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws