/** * 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 StorageGateway { namespace Model { /** *

A JSON object containing the Amazon Resource Name (ARN) of the gateway that * was shut down.

See Also:

AWS * API Reference

*/ class ShutdownGatewayResult { public: AWS_STORAGEGATEWAY_API ShutdownGatewayResult(); AWS_STORAGEGATEWAY_API ShutdownGatewayResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API ShutdownGatewayResult& 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 ShutdownGatewayResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} inline ShutdownGatewayResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} inline ShutdownGatewayResult& 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 ShutdownGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ShutdownGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ShutdownGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_gatewayARN; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws