/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace BackupGateway { namespace Model { class GetGatewayResult { public: AWS_BACKUPGATEWAY_API GetGatewayResult(); AWS_BACKUPGATEWAY_API GetGatewayResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUPGATEWAY_API GetGatewayResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

By providing the ARN (Amazon Resource Name), this API returns the * gateway.

*/ inline const GatewayDetails& GetGateway() const{ return m_gateway; } /** *

By providing the ARN (Amazon Resource Name), this API returns the * gateway.

*/ inline void SetGateway(const GatewayDetails& value) { m_gateway = value; } /** *

By providing the ARN (Amazon Resource Name), this API returns the * gateway.

*/ inline void SetGateway(GatewayDetails&& value) { m_gateway = std::move(value); } /** *

By providing the ARN (Amazon Resource Name), this API returns the * gateway.

*/ inline GetGatewayResult& WithGateway(const GatewayDetails& value) { SetGateway(value); return *this;} /** *

By providing the ARN (Amazon Resource Name), this API returns the * gateway.

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