/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace finspace { namespace Model { /** *

The configuration for read only disk cache associated with a * cluster.

See Also:

AWS * API Reference

*/ class KxCacheStorageConfiguration { public: AWS_FINSPACE_API KxCacheStorageConfiguration(); AWS_FINSPACE_API KxCacheStorageConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACE_API KxCacheStorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline KxCacheStorageConfiguration& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline KxCacheStorageConfiguration& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of cache storage . The valid values are:

  • *

    CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *

*/ inline KxCacheStorageConfiguration& WithType(const char* value) { SetType(value); return *this;} /** *

The size of cache in Gigabytes.

*/ inline int GetSize() const{ return m_size; } /** *

The size of cache in Gigabytes.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The size of cache in Gigabytes.

*/ inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The size of cache in Gigabytes.

*/ inline KxCacheStorageConfiguration& WithSize(int value) { SetSize(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; int m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws