/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace FSx { namespace Model { class UpdateFileCacheResult { public: AWS_FSX_API UpdateFileCacheResult(); AWS_FSX_API UpdateFileCacheResult(const Aws::AmazonWebServiceResult& result); AWS_FSX_API UpdateFileCacheResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A description of the cache that was updated.

*/ inline const FileCache& GetFileCache() const{ return m_fileCache; } /** *

A description of the cache that was updated.

*/ inline void SetFileCache(const FileCache& value) { m_fileCache = value; } /** *

A description of the cache that was updated.

*/ inline void SetFileCache(FileCache&& value) { m_fileCache = std::move(value); } /** *

A description of the cache that was updated.

*/ inline UpdateFileCacheResult& WithFileCache(const FileCache& value) { SetFileCache(value); return *this;} /** *

A description of the cache that was updated.

*/ inline UpdateFileCacheResult& WithFileCache(FileCache&& value) { SetFileCache(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 UpdateFileCacheResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateFileCacheResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateFileCacheResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FileCache m_fileCache; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws