/** * 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 size and type of temporary storage that is used to hold data during the * savedown process. All the data written to this storage space is lost when the * cluster node is restarted.

See Also:

AWS * API Reference

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

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

*/ inline const KxSavedownStorageType& GetType() const{ return m_type; } /** *

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

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

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

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

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

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

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

*/ inline KxSavedownStorageConfiguration& WithType(const KxSavedownStorageType& value) { SetType(value); return *this;} /** *

The type of writeable storage space for temporarily storing your savedown * data. The valid values are:

  • SDS01 – This type represents 3000 * IOPS and io2 ebs volume type.

*/ inline KxSavedownStorageConfiguration& WithType(KxSavedownStorageType&& value) { SetType(std::move(value)); return *this;} /** *

The size of temporary storage in bytes.

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

The size of temporary storage in bytes.

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

The size of temporary storage in bytes.

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

The size of temporary storage in bytes.

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