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

Response of DescribeBudgets

See Also:

AWS * API Reference

*/ class AWS_BUDGETS_API DescribeBudgetsResult { public: DescribeBudgetsResult(); DescribeBudgetsResult(const Aws::AmazonWebServiceResult& result); DescribeBudgetsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of budgets.

*/ inline const Aws::Vector& GetBudgets() const{ return m_budgets; } /** *

A list of budgets.

*/ inline void SetBudgets(const Aws::Vector& value) { m_budgets = value; } /** *

A list of budgets.

*/ inline void SetBudgets(Aws::Vector&& value) { m_budgets = std::move(value); } /** *

A list of budgets.

*/ inline DescribeBudgetsResult& WithBudgets(const Aws::Vector& value) { SetBudgets(value); return *this;} /** *

A list of budgets.

*/ inline DescribeBudgetsResult& WithBudgets(Aws::Vector&& value) { SetBudgets(std::move(value)); return *this;} /** *

A list of budgets.

*/ inline DescribeBudgetsResult& AddBudgets(const Budget& value) { m_budgets.push_back(value); return *this; } /** *

A list of budgets.

*/ inline DescribeBudgetsResult& AddBudgets(Budget&& value) { m_budgets.push_back(std::move(value)); return *this; } /** *

The pagination token in the service response that indicates the next set of * results that you can retrieve.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token in the service response that indicates the next set of * results that you can retrieve.

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

The pagination token in the service response that indicates the next set of * results that you can retrieve.

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

The pagination token in the service response that indicates the next set of * results that you can retrieve.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token in the service response that indicates the next set of * results that you can retrieve.

*/ inline DescribeBudgetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token in the service response that indicates the next set of * results that you can retrieve.

*/ inline DescribeBudgetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token in the service response that indicates the next set of * results that you can retrieve.

*/ inline DescribeBudgetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_budgets; Aws::String m_nextToken; }; } // namespace Model } // namespace Budgets } // namespace Aws