/** * 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 { class RebootCacheClusterResult { public: AWS_ELASTICACHE_API RebootCacheClusterResult(); AWS_ELASTICACHE_API RebootCacheClusterResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICACHE_API RebootCacheClusterResult& operator=(const Aws::AmazonWebServiceResult& result); inline const CacheCluster& GetCacheCluster() const{ return m_cacheCluster; } inline void SetCacheCluster(const CacheCluster& value) { m_cacheCluster = value; } inline void SetCacheCluster(CacheCluster&& value) { m_cacheCluster = std::move(value); } inline RebootCacheClusterResult& WithCacheCluster(const CacheCluster& value) { SetCacheCluster(value); return *this;} inline RebootCacheClusterResult& WithCacheCluster(CacheCluster&& value) { SetCacheCluster(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 RebootCacheClusterResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline RebootCacheClusterResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: CacheCluster m_cacheCluster; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws