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

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