This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-budgets/include/aws/budgets/model/DescribeBudgetsResult.h

130 lines
3.8 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/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.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 DescribeBudgets </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudgetsResponse">AWS
* API Reference</a></p>
*/
class AWS_BUDGETS_API DescribeBudgetsResult
{
public:
DescribeBudgetsResult();
DescribeBudgetsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeBudgetsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of budgets.</p>
*/
inline const Aws::Vector<Budget>& GetBudgets() const{ return m_budgets; }
/**
* <p>A list of budgets.</p>
*/
inline void SetBudgets(const Aws::Vector<Budget>& value) { m_budgets = value; }
/**
* <p>A list of budgets.</p>
*/
inline void SetBudgets(Aws::Vector<Budget>&& value) { m_budgets = std::move(value); }
/**
* <p>A list of budgets.</p>
*/
inline DescribeBudgetsResult& WithBudgets(const Aws::Vector<Budget>& value) { SetBudgets(value); return *this;}
/**
* <p>A list of budgets.</p>
*/
inline DescribeBudgetsResult& WithBudgets(Aws::Vector<Budget>&& value) { SetBudgets(std::move(value)); return *this;}
/**
* <p>A list of budgets.</p>
*/
inline DescribeBudgetsResult& AddBudgets(const Budget& value) { m_budgets.push_back(value); return *this; }
/**
* <p>A list of budgets.</p>
*/
inline DescribeBudgetsResult& AddBudgets(Budget&& value) { m_budgets.push_back(std::move(value)); return *this; }
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline DescribeBudgetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline DescribeBudgetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The pagination token in the service response that indicates the next set of
* results that you can retrieve.</p>
*/
inline DescribeBudgetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Budget> m_budgets;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace Budgets
} // namespace Aws