/** * 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 Lambda { namespace Model { class GetAccountSettingsResult { public: AWS_LAMBDA_API GetAccountSettingsResult(); AWS_LAMBDA_API GetAccountSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_LAMBDA_API GetAccountSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Limits that are related to concurrency and code storage.

*/ inline const AccountLimit& GetAccountLimit() const{ return m_accountLimit; } /** *

Limits that are related to concurrency and code storage.

*/ inline void SetAccountLimit(const AccountLimit& value) { m_accountLimit = value; } /** *

Limits that are related to concurrency and code storage.

*/ inline void SetAccountLimit(AccountLimit&& value) { m_accountLimit = std::move(value); } /** *

Limits that are related to concurrency and code storage.

*/ inline GetAccountSettingsResult& WithAccountLimit(const AccountLimit& value) { SetAccountLimit(value); return *this;} /** *

Limits that are related to concurrency and code storage.

*/ inline GetAccountSettingsResult& WithAccountLimit(AccountLimit&& value) { SetAccountLimit(std::move(value)); return *this;} /** *

The number of functions and amount of storage in use.

*/ inline const AccountUsage& GetAccountUsage() const{ return m_accountUsage; } /** *

The number of functions and amount of storage in use.

*/ inline void SetAccountUsage(const AccountUsage& value) { m_accountUsage = value; } /** *

The number of functions and amount of storage in use.

*/ inline void SetAccountUsage(AccountUsage&& value) { m_accountUsage = std::move(value); } /** *

The number of functions and amount of storage in use.

*/ inline GetAccountSettingsResult& WithAccountUsage(const AccountUsage& value) { SetAccountUsage(value); return *this;} /** *

The number of functions and amount of storage in use.

*/ inline GetAccountSettingsResult& WithAccountUsage(AccountUsage&& value) { SetAccountUsage(std::move(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 GetAccountSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccountSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccountSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AccountLimit m_accountLimit; AccountUsage m_accountUsage; Aws::String m_requestId; }; } // namespace Model } // namespace Lambda } // namespace Aws