77 lines
2.0 KiB
C
77 lines
2.0 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/snowball/Snowball_EXPORTS.h>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetSnowballUsageResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The service limit for number of Snowballs this account can have at once. The
|
|||
|
|
* default service limit is 1 (one).</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetSnowballLimit() const{ return m_snowballLimit; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The service limit for number of Snowballs this account can have at once. The
|
|||
|
|
* default service limit is 1 (one).</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSnowballLimit(int value) { m_snowballLimit = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The service limit for number of Snowballs this account can have at once. The
|
|||
|
|
* default service limit is 1 (one).</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSnowballUsageResult& WithSnowballLimit(int value) { SetSnowballLimit(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of Snowballs that this account is currently using.</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetSnowballsInUse() const{ return m_snowballsInUse; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of Snowballs that this account is currently using.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSnowballsInUse(int value) { m_snowballsInUse = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of Snowballs that this account is currently using.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSnowballUsageResult& WithSnowballsInUse(int value) { SetSnowballsInUse(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
int m_snowballLimit;
|
|||
|
|
|
|||
|
|
int m_snowballsInUse;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Snowball
|
|||
|
|
} // namespace Aws
|