AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SlotMigration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace ElastiCache {
17namespace Model {
18
26 public:
27 AWS_ELASTICACHE_API SlotMigration() = default;
28 AWS_ELASTICACHE_API SlotMigration(const Aws::Utils::Xml::XmlNode& xmlNode);
29 AWS_ELASTICACHE_API SlotMigration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
38 inline double GetProgressPercentage() const { return m_progressPercentage; }
39 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
40 inline void SetProgressPercentage(double value) {
41 m_progressPercentageHasBeenSet = true;
42 m_progressPercentage = value;
43 }
44 inline SlotMigration& WithProgressPercentage(double value) {
46 return *this;
47 }
49 private:
50 double m_progressPercentage{0.0};
51 bool m_progressPercentageHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace ElastiCache
56} // namespace Aws
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API SlotMigration()=default
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API SlotMigration(const Aws::Utils::Xml::XmlNode &xmlNode)
SlotMigration & WithProgressPercentage(double value)
AWS_ELASTICACHE_API SlotMigration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream