AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/AutoScalingDescription.h>
9#include <aws/kafkaconnect/model/ProvisionedCapacityDescription.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
33 {
34 public:
35 AWS_KAFKACONNECT_API CapacityDescription();
36 AWS_KAFKACONNECT_API CapacityDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AutoScalingDescription& GetAutoScaling() const{ return m_autoScaling; }
46 inline bool AutoScalingHasBeenSet() const { return m_autoScalingHasBeenSet; }
47 inline void SetAutoScaling(const AutoScalingDescription& value) { m_autoScalingHasBeenSet = true; m_autoScaling = value; }
48 inline void SetAutoScaling(AutoScalingDescription&& value) { m_autoScalingHasBeenSet = true; m_autoScaling = std::move(value); }
49 inline CapacityDescription& WithAutoScaling(const AutoScalingDescription& value) { SetAutoScaling(value); return *this;}
50 inline CapacityDescription& WithAutoScaling(AutoScalingDescription&& value) { SetAutoScaling(std::move(value)); return *this;}
52
54
57 inline const ProvisionedCapacityDescription& GetProvisionedCapacity() const{ return m_provisionedCapacity; }
58 inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; }
59 inline void SetProvisionedCapacity(const ProvisionedCapacityDescription& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = value; }
60 inline void SetProvisionedCapacity(ProvisionedCapacityDescription&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::move(value); }
64 private:
65
66 AutoScalingDescription m_autoScaling;
67 bool m_autoScalingHasBeenSet = false;
68
69 ProvisionedCapacityDescription m_provisionedCapacity;
70 bool m_provisionedCapacityHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace KafkaConnect
75} // namespace Aws
CapacityDescription & WithAutoScaling(AutoScalingDescription &&value)
void SetAutoScaling(AutoScalingDescription &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisionedCapacity(ProvisionedCapacityDescription &&value)
const AutoScalingDescription & GetAutoScaling() const
CapacityDescription & WithProvisionedCapacity(const ProvisionedCapacityDescription &value)
void SetProvisionedCapacity(const ProvisionedCapacityDescription &value)
CapacityDescription & WithProvisionedCapacity(ProvisionedCapacityDescription &&value)
const ProvisionedCapacityDescription & GetProvisionedCapacity() const
AWS_KAFKACONNECT_API CapacityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacityDescription & WithAutoScaling(const AutoScalingDescription &value)
void SetAutoScaling(const AutoScalingDescription &value)
AWS_KAFKACONNECT_API CapacityDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue