AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingPolicy.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/TargetTrackingScalingPolicyConfiguration.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
36 {
37 public:
38 AWS_KEYSPACES_API AutoScalingPolicy();
39 AWS_KEYSPACES_API AutoScalingPolicy(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const TargetTrackingScalingPolicyConfiguration& GetTargetTrackingScalingPolicyConfiguration() const{ return m_targetTrackingScalingPolicyConfiguration; }
51 inline bool TargetTrackingScalingPolicyConfigurationHasBeenSet() const { return m_targetTrackingScalingPolicyConfigurationHasBeenSet; }
52 inline void SetTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration& value) { m_targetTrackingScalingPolicyConfigurationHasBeenSet = true; m_targetTrackingScalingPolicyConfiguration = value; }
53 inline void SetTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration&& value) { m_targetTrackingScalingPolicyConfigurationHasBeenSet = true; m_targetTrackingScalingPolicyConfiguration = std::move(value); }
57 private:
58
59 TargetTrackingScalingPolicyConfiguration m_targetTrackingScalingPolicyConfiguration;
60 bool m_targetTrackingScalingPolicyConfigurationHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Keyspaces
65} // namespace Aws
AutoScalingPolicy & WithTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
AWS_KEYSPACES_API AutoScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API AutoScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
const TargetTrackingScalingPolicyConfiguration & GetTargetTrackingScalingPolicyConfiguration() const
void SetTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
AutoScalingPolicy & WithTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue