AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SlotMigration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/memorydb/MemoryDB_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace MemoryDB {
17namespace Model {
18
26 public:
27 AWS_MEMORYDB_API SlotMigration() = default;
28 AWS_MEMORYDB_API SlotMigration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_MEMORYDB_API SlotMigration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
31
33
36 inline double GetProgressPercentage() const { return m_progressPercentage; }
37 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
38 inline void SetProgressPercentage(double value) {
39 m_progressPercentageHasBeenSet = true;
40 m_progressPercentage = value;
41 }
42 inline SlotMigration& WithProgressPercentage(double value) {
44 return *this;
45 }
47 private:
48 double m_progressPercentage{0.0};
49 bool m_progressPercentageHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace MemoryDB
54} // namespace Aws
AWS_MEMORYDB_API SlotMigration()=default
AWS_MEMORYDB_API SlotMigration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetProgressPercentage(double value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MEMORYDB_API SlotMigration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SlotMigration & WithProgressPercentage(double value)