/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 DescribeCacheParameters * operation.

See Also:

AWS * API Reference

*/ class DescribeCacheParametersResult { public: AWS_ELASTICACHE_API DescribeCacheParametersResult(); AWS_ELASTICACHE_API DescribeCacheParametersResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICACHE_API DescribeCacheParametersResult& 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 DescribeCacheParametersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

A list of Parameter instances.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A list of Parameter instances.

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

A list of Parameter instances.

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

A list of Parameter instances.

*/ inline DescribeCacheParametersResult& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A list of Parameter instances.

*/ inline DescribeCacheParametersResult& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A list of Parameter instances.

*/ inline DescribeCacheParametersResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; } /** *

A list of Parameter instances.

*/ inline DescribeCacheParametersResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; } /** *

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

*/ inline const Aws::Vector& GetCacheNodeTypeSpecificParameters() const{ return m_cacheNodeTypeSpecificParameters; } /** *

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

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

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

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

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

*/ inline DescribeCacheParametersResult& WithCacheNodeTypeSpecificParameters(const Aws::Vector& value) { SetCacheNodeTypeSpecificParameters(value); return *this;} /** *

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

*/ inline DescribeCacheParametersResult& WithCacheNodeTypeSpecificParameters(Aws::Vector&& value) { SetCacheNodeTypeSpecificParameters(std::move(value)); return *this;} /** *

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

*/ inline DescribeCacheParametersResult& AddCacheNodeTypeSpecificParameters(const CacheNodeTypeSpecificParameter& value) { m_cacheNodeTypeSpecificParameters.push_back(value); return *this; } /** *

A list of parameters specific to a particular cache node type. Each element * in the list contains detailed information about one parameter.

*/ inline DescribeCacheParametersResult& AddCacheNodeTypeSpecificParameters(CacheNodeTypeSpecificParameter&& value) { m_cacheNodeTypeSpecificParameters.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 DescribeCacheParametersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCacheParametersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_parameters; Aws::Vector m_cacheNodeTypeSpecificParameters; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws