AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsEksClusterDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsEksClusterLoggingDetails.h>
10#include <aws/securityhub/model/AwsEksClusterResourcesVpcConfigDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
30 public:
31 AWS_SECURITYHUB_API AwsEksClusterDetails() = default;
32 AWS_SECURITYHUB_API AwsEksClusterDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCertificateAuthorityData() const { return m_certificateAuthorityData; }
59 inline bool CertificateAuthorityDataHasBeenSet() const { return m_certificateAuthorityDataHasBeenSet; }
60 template <typename CertificateAuthorityDataT = Aws::String>
61 void SetCertificateAuthorityData(CertificateAuthorityDataT&& value) {
62 m_certificateAuthorityDataHasBeenSet = true;
63 m_certificateAuthorityData = std::forward<CertificateAuthorityDataT>(value);
64 }
65 template <typename CertificateAuthorityDataT = Aws::String>
66 AwsEksClusterDetails& WithCertificateAuthorityData(CertificateAuthorityDataT&& value) {
67 SetCertificateAuthorityData(std::forward<CertificateAuthorityDataT>(value));
68 return *this;
69 }
71
73
80 inline const Aws::String& GetClusterStatus() const { return m_clusterStatus; }
81 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
82 template <typename ClusterStatusT = Aws::String>
83 void SetClusterStatus(ClusterStatusT&& value) {
84 m_clusterStatusHasBeenSet = true;
85 m_clusterStatus = std::forward<ClusterStatusT>(value);
86 }
87 template <typename ClusterStatusT = Aws::String>
88 AwsEksClusterDetails& WithClusterStatus(ClusterStatusT&& value) {
89 SetClusterStatus(std::forward<ClusterStatusT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
99 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
100 template <typename EndpointT = Aws::String>
101 void SetEndpoint(EndpointT&& value) {
102 m_endpointHasBeenSet = true;
103 m_endpoint = std::forward<EndpointT>(value);
104 }
105 template <typename EndpointT = Aws::String>
106 AwsEksClusterDetails& WithEndpoint(EndpointT&& value) {
107 SetEndpoint(std::forward<EndpointT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetName() const { return m_name; }
117 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
118 template <typename NameT = Aws::String>
119 void SetName(NameT&& value) {
120 m_nameHasBeenSet = true;
121 m_name = std::forward<NameT>(value);
122 }
123 template <typename NameT = Aws::String>
125 SetName(std::forward<NameT>(value));
126 return *this;
127 }
129
131
134 inline const AwsEksClusterResourcesVpcConfigDetails& GetResourcesVpcConfig() const { return m_resourcesVpcConfig; }
135 inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; }
136 template <typename ResourcesVpcConfigT = AwsEksClusterResourcesVpcConfigDetails>
137 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) {
138 m_resourcesVpcConfigHasBeenSet = true;
139 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
140 }
141 template <typename ResourcesVpcConfigT = AwsEksClusterResourcesVpcConfigDetails>
142 AwsEksClusterDetails& WithResourcesVpcConfig(ResourcesVpcConfigT&& value) {
143 SetResourcesVpcConfig(std::forward<ResourcesVpcConfigT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
154 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
155 template <typename RoleArnT = Aws::String>
156 void SetRoleArn(RoleArnT&& value) {
157 m_roleArnHasBeenSet = true;
158 m_roleArn = std::forward<RoleArnT>(value);
159 }
160 template <typename RoleArnT = Aws::String>
162 SetRoleArn(std::forward<RoleArnT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetVersion() const { return m_version; }
172 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
173 template <typename VersionT = Aws::String>
174 void SetVersion(VersionT&& value) {
175 m_versionHasBeenSet = true;
176 m_version = std::forward<VersionT>(value);
177 }
178 template <typename VersionT = Aws::String>
180 SetVersion(std::forward<VersionT>(value));
181 return *this;
182 }
184
186
189 inline const AwsEksClusterLoggingDetails& GetLogging() const { return m_logging; }
190 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
191 template <typename LoggingT = AwsEksClusterLoggingDetails>
192 void SetLogging(LoggingT&& value) {
193 m_loggingHasBeenSet = true;
194 m_logging = std::forward<LoggingT>(value);
195 }
196 template <typename LoggingT = AwsEksClusterLoggingDetails>
198 SetLogging(std::forward<LoggingT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_arn;
204
205 Aws::String m_certificateAuthorityData;
206
207 Aws::String m_clusterStatus;
208
209 Aws::String m_endpoint;
210
211 Aws::String m_name;
212
213 AwsEksClusterResourcesVpcConfigDetails m_resourcesVpcConfig;
214
215 Aws::String m_roleArn;
216
217 Aws::String m_version;
218
220 bool m_arnHasBeenSet = false;
221 bool m_certificateAuthorityDataHasBeenSet = false;
222 bool m_clusterStatusHasBeenSet = false;
223 bool m_endpointHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_resourcesVpcConfigHasBeenSet = false;
226 bool m_roleArnHasBeenSet = false;
227 bool m_versionHasBeenSet = false;
228 bool m_loggingHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace SecurityHub
233} // namespace Aws
const AwsEksClusterLoggingDetails & GetLogging() const
const Aws::String & GetCertificateAuthorityData() const
AwsEksClusterDetails & WithLogging(LoggingT &&value)
void SetCertificateAuthorityData(CertificateAuthorityDataT &&value)
AwsEksClusterDetails & WithArn(ArnT &&value)
AwsEksClusterDetails & WithCertificateAuthorityData(CertificateAuthorityDataT &&value)
AWS_SECURITYHUB_API AwsEksClusterDetails()=default
AWS_SECURITYHUB_API AwsEksClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEksClusterDetails & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEksClusterDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEksClusterDetails & WithVersion(VersionT &&value)
AwsEksClusterDetails & WithName(NameT &&value)
AwsEksClusterDetails & WithEndpoint(EndpointT &&value)
const AwsEksClusterResourcesVpcConfigDetails & GetResourcesVpcConfig() const
void SetResourcesVpcConfig(ResourcesVpcConfigT &&value)
AwsEksClusterDetails & WithRoleArn(RoleArnT &&value)
AwsEksClusterDetails & WithClusterStatus(ClusterStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue