/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace StorageGateway { namespace Model { /** *

DescribeTapeRecoveryPointsOutput

See Also:

AWS * API Reference

*/ class DescribeTapeRecoveryPointsResult { public: AWS_STORAGEGATEWAY_API DescribeTapeRecoveryPointsResult(); AWS_STORAGEGATEWAY_API DescribeTapeRecoveryPointsResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API DescribeTapeRecoveryPointsResult& 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 DescribeTapeRecoveryPointsResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} inline DescribeTapeRecoveryPointsResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} inline DescribeTapeRecoveryPointsResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline const Aws::Vector& GetTapeRecoveryPointInfos() const{ return m_tapeRecoveryPointInfos; } /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline void SetTapeRecoveryPointInfos(const Aws::Vector& value) { m_tapeRecoveryPointInfos = value; } /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline void SetTapeRecoveryPointInfos(Aws::Vector&& value) { m_tapeRecoveryPointInfos = std::move(value); } /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(const Aws::Vector& value) { SetTapeRecoveryPointInfos(value); return *this;} /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(Aws::Vector&& value) { SetTapeRecoveryPointInfos(std::move(value)); return *this;} /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(const TapeRecoveryPointInfo& value) { m_tapeRecoveryPointInfos.push_back(value); return *this; } /** *

An array of TapeRecoveryPointInfos that are available for the specified * gateway.

*/ inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(TapeRecoveryPointInfo&& value) { m_tapeRecoveryPointInfos.push_back(std::move(value)); return *this; } /** *

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

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

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

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

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

*/ inline DescribeTapeRecoveryPointsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

*/ inline DescribeTapeRecoveryPointsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An opaque string that indicates the position at which the virtual tape * recovery points that were listed for description ended.

Use this marker * in your next request to list the next set of virtual tape recovery points in the * list. If there are no more recovery points to describe, this field does not * appear in the response.

*/ inline DescribeTapeRecoveryPointsResult& WithMarker(const char* value) { SetMarker(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 DescribeTapeRecoveryPointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTapeRecoveryPointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTapeRecoveryPointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_gatewayARN; Aws::Vector m_tapeRecoveryPointInfos; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws