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

DescribeVTLDevicesOutput

See Also:

AWS * API Reference

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

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

*/ inline const Aws::Vector& GetVTLDevices() const{ return m_vTLDevices; } /** *

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

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

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

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

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

*/ inline DescribeVTLDevicesResult& WithVTLDevices(const Aws::Vector& value) { SetVTLDevices(value); return *this;} /** *

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

*/ inline DescribeVTLDevicesResult& WithVTLDevices(Aws::Vector&& value) { SetVTLDevices(std::move(value)); return *this;} /** *

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

*/ inline DescribeVTLDevicesResult& AddVTLDevices(const VTLDevice& value) { m_vTLDevices.push_back(value); return *this; } /** *

An array of VTL device objects composed of the Amazon Resource Name (ARN) of * the VTL devices.

*/ inline DescribeVTLDevicesResult& AddVTLDevices(VTLDevice&& value) { m_vTLDevices.push_back(std::move(value)); return *this; } /** *

An opaque string that indicates the position at which the VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices 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 VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices 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 VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices 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 VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices 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 VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices to * describe, this field does not appear in the response.

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

An opaque string that indicates the position at which the VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices to * describe, this field does not appear in the response.

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

An opaque string that indicates the position at which the VTL devices that * were fetched for description ended. Use the marker in your next request to fetch * the next set of VTL devices in the list. If there are no more VTL devices to * describe, this field does not appear in the response.

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