AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageEksClusterDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/AddonDetails.h>
10#include <aws/guardduty/model/ManagementType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API CoverageEksClusterDetails();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
48 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
49 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
50 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
51 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
52 inline CoverageEksClusterDetails& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
53 inline CoverageEksClusterDetails& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
54 inline CoverageEksClusterDetails& WithClusterName(const char* value) { SetClusterName(value); return *this;}
56
58
62 inline long long GetCoveredNodes() const{ return m_coveredNodes; }
63 inline bool CoveredNodesHasBeenSet() const { return m_coveredNodesHasBeenSet; }
64 inline void SetCoveredNodes(long long value) { m_coveredNodesHasBeenSet = true; m_coveredNodes = value; }
65 inline CoverageEksClusterDetails& WithCoveredNodes(long long value) { SetCoveredNodes(value); return *this;}
67
69
72 inline long long GetCompatibleNodes() const{ return m_compatibleNodes; }
73 inline bool CompatibleNodesHasBeenSet() const { return m_compatibleNodesHasBeenSet; }
74 inline void SetCompatibleNodes(long long value) { m_compatibleNodesHasBeenSet = true; m_compatibleNodes = value; }
75 inline CoverageEksClusterDetails& WithCompatibleNodes(long long value) { SetCompatibleNodes(value); return *this;}
77
79
82 inline const AddonDetails& GetAddonDetails() const{ return m_addonDetails; }
83 inline bool AddonDetailsHasBeenSet() const { return m_addonDetailsHasBeenSet; }
84 inline void SetAddonDetails(const AddonDetails& value) { m_addonDetailsHasBeenSet = true; m_addonDetails = value; }
85 inline void SetAddonDetails(AddonDetails&& value) { m_addonDetailsHasBeenSet = true; m_addonDetails = std::move(value); }
86 inline CoverageEksClusterDetails& WithAddonDetails(const AddonDetails& value) { SetAddonDetails(value); return *this;}
87 inline CoverageEksClusterDetails& WithAddonDetails(AddonDetails&& value) { SetAddonDetails(std::move(value)); return *this;}
89
91
98 inline const ManagementType& GetManagementType() const{ return m_managementType; }
99 inline bool ManagementTypeHasBeenSet() const { return m_managementTypeHasBeenSet; }
100 inline void SetManagementType(const ManagementType& value) { m_managementTypeHasBeenSet = true; m_managementType = value; }
101 inline void SetManagementType(ManagementType&& value) { m_managementTypeHasBeenSet = true; m_managementType = std::move(value); }
103 inline CoverageEksClusterDetails& WithManagementType(ManagementType&& value) { SetManagementType(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_clusterName;
108 bool m_clusterNameHasBeenSet = false;
109
110 long long m_coveredNodes;
111 bool m_coveredNodesHasBeenSet = false;
112
113 long long m_compatibleNodes;
114 bool m_compatibleNodesHasBeenSet = false;
115
116 AddonDetails m_addonDetails;
117 bool m_addonDetailsHasBeenSet = false;
118
119 ManagementType m_managementType;
120 bool m_managementTypeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace GuardDuty
125} // namespace Aws
CoverageEksClusterDetails & WithClusterName(const Aws::String &value)
CoverageEksClusterDetails & WithClusterName(Aws::String &&value)
AWS_GUARDDUTY_API CoverageEksClusterDetails(Aws::Utils::Json::JsonView jsonValue)
CoverageEksClusterDetails & WithAddonDetails(const AddonDetails &value)
CoverageEksClusterDetails & WithClusterName(const char *value)
CoverageEksClusterDetails & WithCoveredNodes(long long value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
CoverageEksClusterDetails & WithAddonDetails(AddonDetails &&value)
CoverageEksClusterDetails & WithManagementType(const ManagementType &value)
AWS_GUARDDUTY_API CoverageEksClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CoverageEksClusterDetails & WithCompatibleNodes(long long value)
CoverageEksClusterDetails & WithManagementType(ManagementType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue