/** * 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 DescribeBudgetsResult { public: AWS_BUDGETS_API DescribeBudgetsResult(); AWS_BUDGETS_API DescribeBudgetsResult(const Aws::AmazonWebServiceResult& result); AWS_BUDGETS_API 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;} 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 DescribeBudgetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBudgetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBudgetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_budgets; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Budgets } // namespace Aws