AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ElasticLoadBalancing.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
28 public:
29 AWS_EKS_API ElasticLoadBalancing() = default;
33
35
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
46 inline ElasticLoadBalancing& WithEnabled(bool value) {
47 SetEnabled(value);
48 return *this;
49 }
51 private:
52 bool m_enabled{false};
53 bool m_enabledHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace EKS
58} // namespace Aws
AWS_EKS_API ElasticLoadBalancing(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ElasticLoadBalancing()=default
ElasticLoadBalancing & WithEnabled(bool value)
AWS_EKS_API ElasticLoadBalancing & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue