AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityUpdate.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/AutoScalingUpdate.h>
9#include <aws/kafkaconnect/model/ProvisionedCapacityUpdate.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KafkaConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KAFKACONNECT_API CapacityUpdate();
37 AWS_KAFKACONNECT_API CapacityUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API CapacityUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AutoScalingUpdate& GetAutoScaling() const{ return m_autoScaling; }
47 inline bool AutoScalingHasBeenSet() const { return m_autoScalingHasBeenSet; }
48 inline void SetAutoScaling(const AutoScalingUpdate& value) { m_autoScalingHasBeenSet = true; m_autoScaling = value; }
49 inline void SetAutoScaling(AutoScalingUpdate&& value) { m_autoScalingHasBeenSet = true; m_autoScaling = std::move(value); }
50 inline CapacityUpdate& WithAutoScaling(const AutoScalingUpdate& value) { SetAutoScaling(value); return *this;}
51 inline CapacityUpdate& WithAutoScaling(AutoScalingUpdate&& value) { SetAutoScaling(std::move(value)); return *this;}
53
55
58 inline const ProvisionedCapacityUpdate& GetProvisionedCapacity() const{ return m_provisionedCapacity; }
59 inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; }
60 inline void SetProvisionedCapacity(const ProvisionedCapacityUpdate& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = value; }
61 inline void SetProvisionedCapacity(ProvisionedCapacityUpdate&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::move(value); }
65 private:
66
67 AutoScalingUpdate m_autoScaling;
68 bool m_autoScalingHasBeenSet = false;
69
70 ProvisionedCapacityUpdate m_provisionedCapacity;
71 bool m_provisionedCapacityHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace KafkaConnect
76} // namespace Aws
void SetAutoScaling(const AutoScalingUpdate &value)
CapacityUpdate & WithProvisionedCapacity(ProvisionedCapacityUpdate &&value)
const ProvisionedCapacityUpdate & GetProvisionedCapacity() const
AWS_KAFKACONNECT_API CapacityUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedCapacity(const ProvisionedCapacityUpdate &value)
CapacityUpdate & WithProvisionedCapacity(const ProvisionedCapacityUpdate &value)
void SetProvisionedCapacity(ProvisionedCapacityUpdate &&value)
void SetAutoScaling(AutoScalingUpdate &&value)
CapacityUpdate & WithAutoScaling(AutoScalingUpdate &&value)
AWS_KAFKACONNECT_API CapacityUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityUpdate & WithAutoScaling(const AutoScalingUpdate &value)
const AutoScalingUpdate & GetAutoScaling() const
Aws::Utils::Json::JsonValue JsonValue