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/DescribeBudgetsRequest.h

177 lines
6.2 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/BudgetsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Budgets
{
namespace Model
{
/**
* <p> Request of DescribeBudgets </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudgetsRequest">AWS
* API Reference</a></p>
*/
class AWS_BUDGETS_API DescribeBudgetsRequest : public BudgetsRequest
{
public:
DescribeBudgetsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeBudgets"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline DescribeBudgetsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline DescribeBudgetsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The <code>accountId</code> that is associated with the budgets that you want
* descriptions of.</p>
*/
inline DescribeBudgetsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>An optional integer that represents how many entries a paginated response
* contains. The maximum is 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>An optional integer that represents how many entries a paginated response
* contains. The maximum is 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>An optional integer that represents how many entries a paginated response
* contains. The maximum is 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>An optional integer that represents how many entries a paginated response
* contains. The maximum is 100.</p>
*/
inline DescribeBudgetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline DescribeBudgetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline DescribeBudgetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The pagination token that you include in your request to indicate the next
* set of results that you want to retrieve.</p>
*/
inline DescribeBudgetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace Budgets
} // namespace Aws