AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EBSStorageInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/ProvisionedThroughput.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 Kafka
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KAFKA_API EBSStorageInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const ProvisionedThroughput& GetProvisionedThroughput() const { return m_provisionedThroughput; }
50 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
51 template<typename ProvisionedThroughputT = ProvisionedThroughput>
52 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
53 template<typename ProvisionedThroughputT = ProvisionedThroughput>
54 EBSStorageInfo& WithProvisionedThroughput(ProvisionedThroughputT&& value) { SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value)); return *this;}
56
58
64 inline int GetVolumeSize() const { return m_volumeSize; }
65 inline bool VolumeSizeHasBeenSet() const { return m_volumeSizeHasBeenSet; }
66 inline void SetVolumeSize(int value) { m_volumeSizeHasBeenSet = true; m_volumeSize = value; }
67 inline EBSStorageInfo& WithVolumeSize(int value) { SetVolumeSize(value); return *this;}
69 private:
70
71 ProvisionedThroughput m_provisionedThroughput;
72 bool m_provisionedThroughputHasBeenSet = false;
73
74 int m_volumeSize{0};
75 bool m_volumeSizeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
AWS_KAFKA_API EBSStorageInfo()=default
EBSStorageInfo & WithVolumeSize(int value)
AWS_KAFKA_API EBSStorageInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API EBSStorageInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
EBSStorageInfo & WithProvisionedThroughput(ProvisionedThroughputT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
Aws::Utils::Json::JsonValue JsonValue