This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ReshardingStatus.h

81 lines
2.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticache/ElastiCache_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/elasticache/model/SlotMigration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace ElastiCache
{
namespace Model
{
/**
* <p>The status of an online resharding operation.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingStatus">AWS
* API Reference</a></p>
*/
class AWS_ELASTICACHE_API ReshardingStatus
{
public:
ReshardingStatus();
ReshardingStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
ReshardingStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline const SlotMigration& GetSlotMigration() const{ return m_slotMigration; }
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline bool SlotMigrationHasBeenSet() const { return m_slotMigrationHasBeenSet; }
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline void SetSlotMigration(const SlotMigration& value) { m_slotMigrationHasBeenSet = true; m_slotMigration = value; }
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline void SetSlotMigration(SlotMigration&& value) { m_slotMigrationHasBeenSet = true; m_slotMigration = std::move(value); }
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline ReshardingStatus& WithSlotMigration(const SlotMigration& value) { SetSlotMigration(value); return *this;}
/**
* <p>Represents the progress of an online resharding operation.</p>
*/
inline ReshardingStatus& WithSlotMigration(SlotMigration&& value) { SetSlotMigration(std::move(value)); return *this;}
private:
SlotMigration m_slotMigration;
bool m_slotMigrationHasBeenSet;
};
} // namespace Model
} // namespace ElastiCache
} // namespace Aws