AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingSpecification.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/AutoScalingSettings.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Keyspaces
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KEYSPACES_API AutoScalingSpecification();
38 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AutoScalingSettings& GetWriteCapacityAutoScaling() const{ return m_writeCapacityAutoScaling; }
46 inline bool WriteCapacityAutoScalingHasBeenSet() const { return m_writeCapacityAutoScalingHasBeenSet; }
47 inline void SetWriteCapacityAutoScaling(const AutoScalingSettings& value) { m_writeCapacityAutoScalingHasBeenSet = true; m_writeCapacityAutoScaling = value; }
48 inline void SetWriteCapacityAutoScaling(AutoScalingSettings&& value) { m_writeCapacityAutoScalingHasBeenSet = true; m_writeCapacityAutoScaling = std::move(value); }
52
54
57 inline const AutoScalingSettings& GetReadCapacityAutoScaling() const{ return m_readCapacityAutoScaling; }
58 inline bool ReadCapacityAutoScalingHasBeenSet() const { return m_readCapacityAutoScalingHasBeenSet; }
59 inline void SetReadCapacityAutoScaling(const AutoScalingSettings& value) { m_readCapacityAutoScalingHasBeenSet = true; m_readCapacityAutoScaling = value; }
60 inline void SetReadCapacityAutoScaling(AutoScalingSettings&& value) { m_readCapacityAutoScalingHasBeenSet = true; m_readCapacityAutoScaling = std::move(value); }
64 private:
65
66 AutoScalingSettings m_writeCapacityAutoScaling;
67 bool m_writeCapacityAutoScalingHasBeenSet = false;
68
69 AutoScalingSettings m_readCapacityAutoScaling;
70 bool m_readCapacityAutoScalingHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Keyspaces
75} // namespace Aws
AWS_KEYSPACES_API AutoScalingSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetWriteCapacityAutoScaling(AutoScalingSettings &&value)
void SetWriteCapacityAutoScaling(const AutoScalingSettings &value)
void SetReadCapacityAutoScaling(AutoScalingSettings &&value)
void SetReadCapacityAutoScaling(const AutoScalingSettings &value)
AutoScalingSpecification & WithReadCapacityAutoScaling(AutoScalingSettings &&value)
const AutoScalingSettings & GetWriteCapacityAutoScaling() const
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingSpecification & WithWriteCapacityAutoScaling(const AutoScalingSettings &value)
AWS_KEYSPACES_API AutoScalingSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const AutoScalingSettings & GetReadCapacityAutoScaling() const
AutoScalingSpecification & WithReadCapacityAutoScaling(const AutoScalingSettings &value)
AutoScalingSpecification & WithWriteCapacityAutoScaling(AutoScalingSettings &&value)
Aws::Utils::Json::JsonValue JsonValue