AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BlockStorage.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace EKS {
17namespace Model {
18
30 public:
31 AWS_EKS_API BlockStorage() = default;
35
37
42 inline bool GetEnabled() const { return m_enabled; }
43 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
44 inline void SetEnabled(bool value) {
45 m_enabledHasBeenSet = true;
46 m_enabled = value;
47 }
48 inline BlockStorage& WithEnabled(bool value) {
49 SetEnabled(value);
50 return *this;
51 }
53 private:
54 bool m_enabled{false};
55 bool m_enabledHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace EKS
60} // namespace Aws
AWS_EKS_API BlockStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
BlockStorage & WithEnabled(bool value)
AWS_EKS_API BlockStorage()=default
AWS_EKS_API BlockStorage(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue