/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 one of the following operations:

  • * ModifyCacheParameterGroup

  • * ResetCacheParameterGroup

See Also:

AWS * API Reference

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

The name of the cache parameter group.

*/ inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; } /** *

The name of the cache parameter group.

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

The name of the cache parameter group.

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

The name of the cache parameter group.

*/ inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupName.assign(value); } /** *

The name of the cache parameter group.

*/ inline ResetCacheParameterGroupResult& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;} /** *

The name of the cache parameter group.

*/ inline ResetCacheParameterGroupResult& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;} /** *

The name of the cache parameter group.

*/ inline ResetCacheParameterGroupResult& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(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 ResetCacheParameterGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ResetCacheParameterGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_cacheParameterGroupName; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws