/** * 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 { /** *

DescribeTapesOutput

See Also:

AWS * API Reference

*/ class DescribeTapesResult { public: AWS_STORAGEGATEWAY_API DescribeTapesResult(); AWS_STORAGEGATEWAY_API DescribeTapesResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API DescribeTapesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of virtual tape descriptions.

*/ inline const Aws::Vector& GetTapes() const{ return m_tapes; } /** *

An array of virtual tape descriptions.

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

An array of virtual tape descriptions.

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

An array of virtual tape descriptions.

*/ inline DescribeTapesResult& WithTapes(const Aws::Vector& value) { SetTapes(value); return *this;} /** *

An array of virtual tape descriptions.

*/ inline DescribeTapesResult& WithTapes(Aws::Vector&& value) { SetTapes(std::move(value)); return *this;} /** *

An array of virtual tape descriptions.

*/ inline DescribeTapesResult& AddTapes(const Tape& value) { m_tapes.push_back(value); return *this; } /** *

An array of virtual tape descriptions.

*/ inline DescribeTapesResult& AddTapes(Tape&& value) { m_tapes.push_back(std::move(value)); return *this; } /** *

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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

An opaque string that can be used as part of a subsequent * DescribeTapes call to retrieve the next page of results.

If * a response does not contain a marker, then there are no more results to be * retrieved.

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