73 lines
1.7 KiB
C++
73 lines
1.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/budgets/Budgets_EXPORTS.h>
|
|
#include <aws/budgets/model/Budget.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Budgets
|
|
{
|
|
namespace Model
|
|
{
|
|
/**
|
|
* <p> Response of DescribeBudget </p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudgetResponse">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_BUDGETS_API DescribeBudgetResult
|
|
{
|
|
public:
|
|
DescribeBudgetResult();
|
|
DescribeBudgetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DescribeBudgetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The description of the budget.</p>
|
|
*/
|
|
inline const Budget& GetBudget() const{ return m_budget; }
|
|
|
|
/**
|
|
* <p>The description of the budget.</p>
|
|
*/
|
|
inline void SetBudget(const Budget& value) { m_budget = value; }
|
|
|
|
/**
|
|
* <p>The description of the budget.</p>
|
|
*/
|
|
inline void SetBudget(Budget&& value) { m_budget = std::move(value); }
|
|
|
|
/**
|
|
* <p>The description of the budget.</p>
|
|
*/
|
|
inline DescribeBudgetResult& WithBudget(const Budget& value) { SetBudget(value); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the budget.</p>
|
|
*/
|
|
inline DescribeBudgetResult& WithBudget(Budget&& value) { SetBudget(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Budget m_budget;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Budgets
|
|
} // namespace Aws
|