/**
* 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
{
/**
* Storage Gateway returns the Amazon Resource Name (ARN) of the activated
* gateway. It is a string made of information such as your account, gateway name,
* and Amazon Web Services Region. This ARN is used to reference the gateway in
* other API operations as well as resource-based authorization.
For
* gateways activated prior to September 02, 2015, the gateway ARN contains the
* gateway name rather than the gateway ID. Changing the name of the gateway has no
* effect on the gateway ARN.
See Also:
AWS
* API Reference
*/
class ActivateGatewayResult
{
public:
AWS_STORAGEGATEWAY_API ActivateGatewayResult();
AWS_STORAGEGATEWAY_API ActivateGatewayResult(const Aws::AmazonWebServiceResult& result);
AWS_STORAGEGATEWAY_API ActivateGatewayResult& 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 ActivateGatewayResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
inline ActivateGatewayResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
inline ActivateGatewayResult& 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 ActivateGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline ActivateGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline ActivateGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
Aws::String m_gatewayARN;
Aws::String m_requestId;
};
} // namespace Model
} // namespace StorageGateway
} // namespace Aws