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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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

The Amazon Resource Name (ARN) of the gateway you updated.

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