/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing the following fields:See Also:
AWS
* API Reference
The average upload bandwidth rate limit in bits per second. This field does * not appear in the response if the upload rate limit is not set.
*/ inline long long GetAverageUploadRateLimitInBitsPerSec() const{ return m_averageUploadRateLimitInBitsPerSec; } /** *The average upload bandwidth rate limit in bits per second. This field does * not appear in the response if the upload rate limit is not set.
*/ inline void SetAverageUploadRateLimitInBitsPerSec(long long value) { m_averageUploadRateLimitInBitsPerSec = value; } /** *The average upload bandwidth rate limit in bits per second. This field does * not appear in the response if the upload rate limit is not set.
*/ inline DescribeBandwidthRateLimitResult& WithAverageUploadRateLimitInBitsPerSec(long long value) { SetAverageUploadRateLimitInBitsPerSec(value); return *this;} /** *The average download bandwidth rate limit in bits per second. This field does * not appear in the response if the download rate limit is not set.
*/ inline long long GetAverageDownloadRateLimitInBitsPerSec() const{ return m_averageDownloadRateLimitInBitsPerSec; } /** *The average download bandwidth rate limit in bits per second. This field does * not appear in the response if the download rate limit is not set.
*/ inline void SetAverageDownloadRateLimitInBitsPerSec(long long value) { m_averageDownloadRateLimitInBitsPerSec = value; } /** *The average download bandwidth rate limit in bits per second. This field does * not appear in the response if the download rate limit is not set.
*/ inline DescribeBandwidthRateLimitResult& WithAverageDownloadRateLimitInBitsPerSec(long long value) { SetAverageDownloadRateLimitInBitsPerSec(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 DescribeBandwidthRateLimitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBandwidthRateLimitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBandwidthRateLimitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_gatewayARN; long long m_averageUploadRateLimitInBitsPerSec; long long m_averageDownloadRateLimitInBitsPerSec; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws