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

A JSON object containing a list of * DescribeStorediSCSIVolumesInput$VolumeARNs.

See Also:

AWS * API Reference

*/ class DescribeStorediSCSIVolumesRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API DescribeStorediSCSIVolumesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeStorediSCSIVolumes"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline const Aws::Vector& GetVolumeARNs() const{ return m_volumeARNs; } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline bool VolumeARNsHasBeenSet() const { return m_volumeARNsHasBeenSet; } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline void SetVolumeARNs(const Aws::Vector& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = value; } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline void SetVolumeARNs(Aws::Vector&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = std::move(value); } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline DescribeStorediSCSIVolumesRequest& WithVolumeARNs(const Aws::Vector& value) { SetVolumeARNs(value); return *this;} /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline DescribeStorediSCSIVolumesRequest& WithVolumeARNs(Aws::Vector&& value) { SetVolumeARNs(std::move(value)); return *this;} /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(const Aws::String& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(Aws::String&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(std::move(value)); return *this; } /** *

An array of strings where each string represents the Amazon Resource Name * (ARN) of a stored volume. All of the specified stored volumes must be from the * same gateway. Use ListVolumes to get volume ARNs for a gateway.

*/ inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(const char* value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; } private: Aws::Vector m_volumeARNs; bool m_volumeARNsHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws