/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Snowball { namespace Model { class AWS_SNOWBALL_API GetSnowballUsageResult { public: GetSnowballUsageResult(); GetSnowballUsageResult(const Aws::AmazonWebServiceResult& result); GetSnowballUsageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The service limit for number of Snowballs this account can have at once. The * default service limit is 1 (one).

*/ inline int GetSnowballLimit() const{ return m_snowballLimit; } /** *

The service limit for number of Snowballs this account can have at once. The * default service limit is 1 (one).

*/ inline void SetSnowballLimit(int value) { m_snowballLimit = value; } /** *

The service limit for number of Snowballs this account can have at once. The * default service limit is 1 (one).

*/ inline GetSnowballUsageResult& WithSnowballLimit(int value) { SetSnowballLimit(value); return *this;} /** *

The number of Snowballs that this account is currently using.

*/ inline int GetSnowballsInUse() const{ return m_snowballsInUse; } /** *

The number of Snowballs that this account is currently using.

*/ inline void SetSnowballsInUse(int value) { m_snowballsInUse = value; } /** *

The number of Snowballs that this account is currently using.

*/ inline GetSnowballUsageResult& WithSnowballsInUse(int value) { SetSnowballsInUse(value); return *this;} private: int m_snowballLimit; int m_snowballsInUse; }; } // namespace Model } // namespace Snowball } // namespace Aws