AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Capacity.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/AutoScaling.h>
9#include <aws/kafkaconnect/model/ProvisionedCapacity.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 Capacity();
37 AWS_KAFKACONNECT_API Capacity(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Capacity& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AutoScaling& GetAutoScaling() const{ return m_autoScaling; }
47 inline bool AutoScalingHasBeenSet() const { return m_autoScalingHasBeenSet; }
48 inline void SetAutoScaling(const AutoScaling& value) { m_autoScalingHasBeenSet = true; m_autoScaling = value; }
49 inline void SetAutoScaling(AutoScaling&& value) { m_autoScalingHasBeenSet = true; m_autoScaling = std::move(value); }
50 inline Capacity& WithAutoScaling(const AutoScaling& value) { SetAutoScaling(value); return *this;}
51 inline Capacity& WithAutoScaling(AutoScaling&& value) { SetAutoScaling(std::move(value)); return *this;}
53
55
58 inline const ProvisionedCapacity& GetProvisionedCapacity() const{ return m_provisionedCapacity; }
59 inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; }
60 inline void SetProvisionedCapacity(const ProvisionedCapacity& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = value; }
61 inline void SetProvisionedCapacity(ProvisionedCapacity&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::move(value); }
62 inline Capacity& WithProvisionedCapacity(const ProvisionedCapacity& value) { SetProvisionedCapacity(value); return *this;}
63 inline Capacity& WithProvisionedCapacity(ProvisionedCapacity&& value) { SetProvisionedCapacity(std::move(value)); return *this;}
65 private:
66
67 AutoScaling m_autoScaling;
68 bool m_autoScalingHasBeenSet = false;
69
70 ProvisionedCapacity m_provisionedCapacity;
71 bool m_provisionedCapacityHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace KafkaConnect
76} // namespace Aws
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API Capacity()
void SetProvisionedCapacity(ProvisionedCapacity &&value)
Definition Capacity.h:61
void SetAutoScaling(AutoScaling &&value)
Definition Capacity.h:49
const ProvisionedCapacity & GetProvisionedCapacity() const
Definition Capacity.h:58
Capacity & WithAutoScaling(AutoScaling &&value)
Definition Capacity.h:51
AWS_KAFKACONNECT_API Capacity(Aws::Utils::Json::JsonView jsonValue)
const AutoScaling & GetAutoScaling() const
Definition Capacity.h:46
void SetAutoScaling(const AutoScaling &value)
Definition Capacity.h:48
Capacity & WithAutoScaling(const AutoScaling &value)
Definition Capacity.h:50
AWS_KAFKACONNECT_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithProvisionedCapacity(const ProvisionedCapacity &value)
Definition Capacity.h:62
void SetProvisionedCapacity(const ProvisionedCapacity &value)
Definition Capacity.h:60
Capacity & WithProvisionedCapacity(ProvisionedCapacity &&value)
Definition Capacity.h:63
bool ProvisionedCapacityHasBeenSet() const
Definition Capacity.h:59
Aws::Utils::Json::JsonValue JsonValue