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

Represents the output of a DescribeCacheEngineVersions * operation.

See Also:

AWS * API Reference

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

*/ inline DescribeCacheEngineVersionsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

*/ inline const Aws::Vector& GetCacheEngineVersions() const{ return m_cacheEngineVersions; } /** *

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

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

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

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

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

*/ inline DescribeCacheEngineVersionsResult& WithCacheEngineVersions(const Aws::Vector& value) { SetCacheEngineVersions(value); return *this;} /** *

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

*/ inline DescribeCacheEngineVersionsResult& WithCacheEngineVersions(Aws::Vector&& value) { SetCacheEngineVersions(std::move(value)); return *this;} /** *

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

*/ inline DescribeCacheEngineVersionsResult& AddCacheEngineVersions(const CacheEngineVersion& value) { m_cacheEngineVersions.push_back(value); return *this; } /** *

A list of cache engine version details. Each element in the list contains * detailed information about one cache engine version.

*/ inline DescribeCacheEngineVersionsResult& AddCacheEngineVersions(CacheEngineVersion&& value) { m_cacheEngineVersions.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeCacheEngineVersionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCacheEngineVersionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_cacheEngineVersions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws