/** * 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 MemoryDB { namespace Model { /** *

The status of the online resharding

See Also:

AWS * API Reference

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

The status of the online resharding slot migration

*/ inline const SlotMigration& GetSlotMigration() const{ return m_slotMigration; } /** *

The status of the online resharding slot migration

*/ inline bool SlotMigrationHasBeenSet() const { return m_slotMigrationHasBeenSet; } /** *

The status of the online resharding slot migration

*/ inline void SetSlotMigration(const SlotMigration& value) { m_slotMigrationHasBeenSet = true; m_slotMigration = value; } /** *

The status of the online resharding slot migration

*/ inline void SetSlotMigration(SlotMigration&& value) { m_slotMigrationHasBeenSet = true; m_slotMigration = std::move(value); } /** *

The status of the online resharding slot migration

*/ inline ReshardingStatus& WithSlotMigration(const SlotMigration& value) { SetSlotMigration(value); return *this;} /** *

The status of the online resharding slot migration

*/ inline ReshardingStatus& WithSlotMigration(SlotMigration&& value) { SetSlotMigration(std::move(value)); return *this;} private: SlotMigration m_slotMigration; bool m_slotMigrationHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws