AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEksClusterDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsEksClusterResourcesVpcConfigDetails.h>
10#include <aws/securityhub/model/AwsEksClusterLoggingDetails.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 SecurityHub
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SECURITYHUB_API AwsEksClusterDetails() = default;
37 AWS_SECURITYHUB_API AwsEksClusterDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 AwsEksClusterDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_certificateAuthorityDataHasBeenSet = true; m_certificateAuthorityData = std::forward<CertificateAuthorityDataT>(value); }
62 template<typename CertificateAuthorityDataT = Aws::String>
63 AwsEksClusterDetails& WithCertificateAuthorityData(CertificateAuthorityDataT&& value) { SetCertificateAuthorityData(std::forward<CertificateAuthorityDataT>(value)); return *this;}
65
67
74 inline const Aws::String& GetClusterStatus() const { return m_clusterStatus; }
75 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
76 template<typename ClusterStatusT = Aws::String>
77 void SetClusterStatus(ClusterStatusT&& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = std::forward<ClusterStatusT>(value); }
78 template<typename ClusterStatusT = Aws::String>
79 AwsEksClusterDetails& WithClusterStatus(ClusterStatusT&& value) { SetClusterStatus(std::forward<ClusterStatusT>(value)); return *this;}
81
83
86 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
87 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
88 template<typename EndpointT = Aws::String>
89 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
90 template<typename EndpointT = Aws::String>
91 AwsEksClusterDetails& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template<typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
102 template<typename NameT = Aws::String>
103 AwsEksClusterDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
105
107
110 inline const AwsEksClusterResourcesVpcConfigDetails& GetResourcesVpcConfig() const { return m_resourcesVpcConfig; }
111 inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; }
112 template<typename ResourcesVpcConfigT = AwsEksClusterResourcesVpcConfigDetails>
113 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value); }
114 template<typename ResourcesVpcConfigT = AwsEksClusterResourcesVpcConfigDetails>
115 AwsEksClusterDetails& WithResourcesVpcConfig(ResourcesVpcConfigT&& value) { SetResourcesVpcConfig(std::forward<ResourcesVpcConfigT>(value)); return *this;}
117
119
123 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
124 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
125 template<typename RoleArnT = Aws::String>
126 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
127 template<typename RoleArnT = Aws::String>
128 AwsEksClusterDetails& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
130
132
135 inline const Aws::String& GetVersion() const { return m_version; }
136 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
137 template<typename VersionT = Aws::String>
138 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
139 template<typename VersionT = Aws::String>
140 AwsEksClusterDetails& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
142
144
147 inline const AwsEksClusterLoggingDetails& GetLogging() const { return m_logging; }
148 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
149 template<typename LoggingT = AwsEksClusterLoggingDetails>
150 void SetLogging(LoggingT&& value) { m_loggingHasBeenSet = true; m_logging = std::forward<LoggingT>(value); }
151 template<typename LoggingT = AwsEksClusterLoggingDetails>
152 AwsEksClusterDetails& WithLogging(LoggingT&& value) { SetLogging(std::forward<LoggingT>(value)); return *this;}
154 private:
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158
159 Aws::String m_certificateAuthorityData;
160 bool m_certificateAuthorityDataHasBeenSet = false;
161
162 Aws::String m_clusterStatus;
163 bool m_clusterStatusHasBeenSet = false;
164
165 Aws::String m_endpoint;
166 bool m_endpointHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
171 AwsEksClusterResourcesVpcConfigDetails m_resourcesVpcConfig;
172 bool m_resourcesVpcConfigHasBeenSet = false;
173
174 Aws::String m_roleArn;
175 bool m_roleArnHasBeenSet = false;
176
177 Aws::String m_version;
178 bool m_versionHasBeenSet = false;
179
181 bool m_loggingHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace SecurityHub
186} // 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