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

The service limit for number of Snow devices 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 Snow devices 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 Snow devices 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 Snow devices that this account is currently using.

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

The number of Snow devices that this account is currently using.

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

The number of Snow devices that this account is currently using.

*/ inline GetSnowballUsageResult& WithSnowballsInUse(int value) { SetSnowballsInUse(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 GetSnowballUsageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSnowballUsageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSnowballUsageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_snowballLimit; int m_snowballsInUse; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws