/** * 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 StorageGateway { namespace Model { class DescribeBandwidthRateLimitScheduleResult { public: AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitScheduleResult(); AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitScheduleResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; } inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); } inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); } inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline const Aws::Vector& GetBandwidthRateLimitIntervals() const{ return m_bandwidthRateLimitIntervals; } /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline void SetBandwidthRateLimitIntervals(const Aws::Vector& value) { m_bandwidthRateLimitIntervals = value; } /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline void SetBandwidthRateLimitIntervals(Aws::Vector&& value) { m_bandwidthRateLimitIntervals = std::move(value); } /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline DescribeBandwidthRateLimitScheduleResult& WithBandwidthRateLimitIntervals(const Aws::Vector& value) { SetBandwidthRateLimitIntervals(value); return *this;} /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline DescribeBandwidthRateLimitScheduleResult& WithBandwidthRateLimitIntervals(Aws::Vector&& value) { SetBandwidthRateLimitIntervals(std::move(value)); return *this;} /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline DescribeBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(const BandwidthRateLimitInterval& value) { m_bandwidthRateLimitIntervals.push_back(value); return *this; } /** *

An array that contains the bandwidth rate limit intervals for a tape or * volume gateway.

*/ inline DescribeBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval&& value) { m_bandwidthRateLimitIntervals.push_back(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 DescribeBandwidthRateLimitScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBandwidthRateLimitScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBandwidthRateLimitScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_gatewayARN; Aws::Vector m_bandwidthRateLimitIntervals; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws