97 lines
2.8 KiB
C++
97 lines
2.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/lambda/Lambda_EXPORTS.h>
|
|
#include <aws/lambda/model/AccountLimit.h>
|
|
#include <aws/lambda/model/AccountUsage.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Lambda
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_LAMBDA_API GetAccountSettingsResult
|
|
{
|
|
public:
|
|
GetAccountSettingsResult();
|
|
GetAccountSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetAccountSettingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
*/
|
|
inline const AccountLimit& GetAccountLimit() const{ return m_accountLimit; }
|
|
|
|
/**
|
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
*/
|
|
inline void SetAccountLimit(const AccountLimit& value) { m_accountLimit = value; }
|
|
|
|
/**
|
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
*/
|
|
inline void SetAccountLimit(AccountLimit&& value) { m_accountLimit = std::move(value); }
|
|
|
|
/**
|
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
*/
|
|
inline GetAccountSettingsResult& WithAccountLimit(const AccountLimit& value) { SetAccountLimit(value); return *this;}
|
|
|
|
/**
|
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
*/
|
|
inline GetAccountSettingsResult& WithAccountLimit(AccountLimit&& value) { SetAccountLimit(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of functions and amount of storage in use.</p>
|
|
*/
|
|
inline const AccountUsage& GetAccountUsage() const{ return m_accountUsage; }
|
|
|
|
/**
|
|
* <p>The number of functions and amount of storage in use.</p>
|
|
*/
|
|
inline void SetAccountUsage(const AccountUsage& value) { m_accountUsage = value; }
|
|
|
|
/**
|
|
* <p>The number of functions and amount of storage in use.</p>
|
|
*/
|
|
inline void SetAccountUsage(AccountUsage&& value) { m_accountUsage = std::move(value); }
|
|
|
|
/**
|
|
* <p>The number of functions and amount of storage in use.</p>
|
|
*/
|
|
inline GetAccountSettingsResult& WithAccountUsage(const AccountUsage& value) { SetAccountUsage(value); return *this;}
|
|
|
|
/**
|
|
* <p>The number of functions and amount of storage in use.</p>
|
|
*/
|
|
inline GetAccountSettingsResult& WithAccountUsage(AccountUsage&& value) { SetAccountUsage(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
AccountLimit m_accountLimit;
|
|
|
|
AccountUsage m_accountUsage;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Lambda
|
|
} // namespace Aws
|