AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ShardConfigurationRequest.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 ShardConfigurationRequest() = default;
28 AWS_MEMORYDB_API ShardConfigurationRequest(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_MEMORYDB_API ShardConfigurationRequest& 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 int64_t GetShardCount() const { return m_shardCount; }
37 inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; }
38 inline void SetShardCount(int64_t value) {
39 m_shardCountHasBeenSet = true;
40 m_shardCount = value;
41 }
43 SetShardCount(value);
44 return *this;
45 }
47 private:
48 int64_t m_shardCount{0};
49 bool m_shardCountHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace MemoryDB
54} // namespace Aws
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ShardConfigurationRequest & WithShardCount(int64_t value)
AWS_MEMORYDB_API ShardConfigurationRequest & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API ShardConfigurationRequest()=default
AWS_MEMORYDB_API ShardConfigurationRequest(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)