/** * 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 BackupGateway { namespace Model { class GetBandwidthRateLimitScheduleResult { public: AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult(); AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

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

An array containing bandwidth rate limit schedule intervals for a gateway. * When no bandwidth rate limit intervals have been scheduled, the array is * empty.

*/ inline GetBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval&& value) { m_bandwidthRateLimitIntervals.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; } /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; } /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the gateway. Use the * ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

*/ inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(const char* value) { SetGatewayArn(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 GetBandwidthRateLimitScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBandwidthRateLimitScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBandwidthRateLimitScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_bandwidthRateLimitIntervals; Aws::String m_gatewayArn; Aws::String m_requestId; }; } // namespace Model } // namespace BackupGateway } // namespace Aws