AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ReshardingStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9#include <aws/elasticache/model/SlotMigration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElastiCache {
20namespace Model {
21
28 public:
29 AWS_ELASTICACHE_API ReshardingStatus() = default;
30 AWS_ELASTICACHE_API ReshardingStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ELASTICACHE_API ReshardingStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const SlotMigration& GetSlotMigration() const { return m_slotMigration; }
41 inline bool SlotMigrationHasBeenSet() const { return m_slotMigrationHasBeenSet; }
42 template <typename SlotMigrationT = SlotMigration>
43 void SetSlotMigration(SlotMigrationT&& value) {
44 m_slotMigrationHasBeenSet = true;
45 m_slotMigration = std::forward<SlotMigrationT>(value);
46 }
47 template <typename SlotMigrationT = SlotMigration>
48 ReshardingStatus& WithSlotMigration(SlotMigrationT&& value) {
49 SetSlotMigration(std::forward<SlotMigrationT>(value));
50 return *this;
51 }
53 private:
54 SlotMigration m_slotMigration;
55 bool m_slotMigrationHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace ElastiCache
60} // namespace Aws
AWS_ELASTICACHE_API ReshardingStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReshardingStatus & WithSlotMigration(SlotMigrationT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API ReshardingStatus()=default
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API ReshardingStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const SlotMigration & GetSlotMigration() const
void SetSlotMigration(SlotMigrationT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream