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

A JSON object containing the following fields:

See Also:

AWS * API Reference

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

An array of objects where each object contains metadata about one cached * volume.

*/ inline const Aws::Vector& GetCachediSCSIVolumes() const{ return m_cachediSCSIVolumes; } /** *

An array of objects where each object contains metadata about one cached * volume.

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

An array of objects where each object contains metadata about one cached * volume.

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

An array of objects where each object contains metadata about one cached * volume.

*/ inline DescribeCachediSCSIVolumesResult& WithCachediSCSIVolumes(const Aws::Vector& value) { SetCachediSCSIVolumes(value); return *this;} /** *

An array of objects where each object contains metadata about one cached * volume.

*/ inline DescribeCachediSCSIVolumesResult& WithCachediSCSIVolumes(Aws::Vector&& value) { SetCachediSCSIVolumes(std::move(value)); return *this;} /** *

An array of objects where each object contains metadata about one cached * volume.

*/ inline DescribeCachediSCSIVolumesResult& AddCachediSCSIVolumes(const CachediSCSIVolume& value) { m_cachediSCSIVolumes.push_back(value); return *this; } /** *

An array of objects where each object contains metadata about one cached * volume.

*/ inline DescribeCachediSCSIVolumesResult& AddCachediSCSIVolumes(CachediSCSIVolume&& value) { m_cachediSCSIVolumes.push_back(std::move(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 DescribeCachediSCSIVolumesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCachediSCSIVolumesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCachediSCSIVolumesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_cachediSCSIVolumes; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws