AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline AwsEksClusterDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline AwsEksClusterDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline AwsEksClusterDetails& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetCertificateAuthorityData() const{ return m_certificateAuthorityData; }
61 inline bool CertificateAuthorityDataHasBeenSet() const { return m_certificateAuthorityDataHasBeenSet; }
62 inline void SetCertificateAuthorityData(const Aws::String& value) { m_certificateAuthorityDataHasBeenSet = true; m_certificateAuthorityData = value; }
63 inline void SetCertificateAuthorityData(Aws::String&& value) { m_certificateAuthorityDataHasBeenSet = true; m_certificateAuthorityData = std::move(value); }
64 inline void SetCertificateAuthorityData(const char* value) { m_certificateAuthorityDataHasBeenSet = true; m_certificateAuthorityData.assign(value); }
67 inline AwsEksClusterDetails& WithCertificateAuthorityData(const char* value) { SetCertificateAuthorityData(value); return *this;}
69
71
78 inline const Aws::String& GetClusterStatus() const{ return m_clusterStatus; }
79 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
80 inline void SetClusterStatus(const Aws::String& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = value; }
81 inline void SetClusterStatus(Aws::String&& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = std::move(value); }
82 inline void SetClusterStatus(const char* value) { m_clusterStatusHasBeenSet = true; m_clusterStatus.assign(value); }
83 inline AwsEksClusterDetails& WithClusterStatus(const Aws::String& value) { SetClusterStatus(value); return *this;}
84 inline AwsEksClusterDetails& WithClusterStatus(Aws::String&& value) { SetClusterStatus(std::move(value)); return *this;}
85 inline AwsEksClusterDetails& WithClusterStatus(const char* value) { SetClusterStatus(value); return *this;}
87
89
92 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
93 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
94 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
95 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
96 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
97 inline AwsEksClusterDetails& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
98 inline AwsEksClusterDetails& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
99 inline AwsEksClusterDetails& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
101
103
106 inline const Aws::String& GetName() const{ return m_name; }
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
109 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 inline AwsEksClusterDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
112 inline AwsEksClusterDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 inline AwsEksClusterDetails& WithName(const char* value) { SetName(value); return *this;}
115
117
120 inline const AwsEksClusterResourcesVpcConfigDetails& GetResourcesVpcConfig() const{ return m_resourcesVpcConfig; }
121 inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; }
122 inline void SetResourcesVpcConfig(const AwsEksClusterResourcesVpcConfigDetails& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = value; }
123 inline void SetResourcesVpcConfig(AwsEksClusterResourcesVpcConfigDetails&& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = std::move(value); }
127
129
133 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
134 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
135 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
136 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
137 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
138 inline AwsEksClusterDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
139 inline AwsEksClusterDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
140 inline AwsEksClusterDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
142
144
147 inline const Aws::String& GetVersion() const{ return m_version; }
148 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
149 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
150 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
151 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
152 inline AwsEksClusterDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
153 inline AwsEksClusterDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
154 inline AwsEksClusterDetails& WithVersion(const char* value) { SetVersion(value); return *this;}
156
158
161 inline const AwsEksClusterLoggingDetails& GetLogging() const{ return m_logging; }
162 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
163 inline void SetLogging(const AwsEksClusterLoggingDetails& value) { m_loggingHasBeenSet = true; m_logging = value; }
164 inline void SetLogging(AwsEksClusterLoggingDetails&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
165 inline AwsEksClusterDetails& WithLogging(const AwsEksClusterLoggingDetails& value) { SetLogging(value); return *this;}
166 inline AwsEksClusterDetails& WithLogging(AwsEksClusterLoggingDetails&& value) { SetLogging(std::move(value)); return *this;}
168 private:
169
170 Aws::String m_arn;
171 bool m_arnHasBeenSet = false;
172
173 Aws::String m_certificateAuthorityData;
174 bool m_certificateAuthorityDataHasBeenSet = false;
175
176 Aws::String m_clusterStatus;
177 bool m_clusterStatusHasBeenSet = false;
178
179 Aws::String m_endpoint;
180 bool m_endpointHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 AwsEksClusterResourcesVpcConfigDetails m_resourcesVpcConfig;
186 bool m_resourcesVpcConfigHasBeenSet = false;
187
188 Aws::String m_roleArn;
189 bool m_roleArnHasBeenSet = false;
190
191 Aws::String m_version;
192 bool m_versionHasBeenSet = false;
193
195 bool m_loggingHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace SecurityHub
200} // namespace Aws
AwsEksClusterDetails & WithArn(const Aws::String &value)
void SetResourcesVpcConfig(const AwsEksClusterResourcesVpcConfigDetails &value)
const AwsEksClusterLoggingDetails & GetLogging() const
void SetLogging(const AwsEksClusterLoggingDetails &value)
AwsEksClusterDetails & WithEndpoint(const char *value)
AwsEksClusterDetails & WithCertificateAuthorityData(Aws::String &&value)
const Aws::String & GetCertificateAuthorityData() const
AwsEksClusterDetails & WithVersion(const char *value)
AwsEksClusterDetails & WithEndpoint(Aws::String &&value)
AwsEksClusterDetails & WithResourcesVpcConfig(AwsEksClusterResourcesVpcConfigDetails &&value)
AWS_SECURITYHUB_API AwsEksClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEksClusterDetails & WithRoleArn(const Aws::String &value)
void SetResourcesVpcConfig(AwsEksClusterResourcesVpcConfigDetails &&value)
AWS_SECURITYHUB_API AwsEksClusterDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEksClusterDetails & WithCertificateAuthorityData(const Aws::String &value)
AwsEksClusterDetails & WithResourcesVpcConfig(const AwsEksClusterResourcesVpcConfigDetails &value)
AwsEksClusterDetails & WithClusterStatus(Aws::String &&value)
void SetLogging(AwsEksClusterLoggingDetails &&value)
AwsEksClusterDetails & WithClusterStatus(const Aws::String &value)
AwsEksClusterDetails & WithVersion(const Aws::String &value)
AwsEksClusterDetails & WithName(const Aws::String &value)
AwsEksClusterDetails & WithRoleArn(const char *value)
AwsEksClusterDetails & WithEndpoint(const Aws::String &value)
AwsEksClusterDetails & WithClusterStatus(const char *value)
const AwsEksClusterResourcesVpcConfigDetails & GetResourcesVpcConfig() const
AwsEksClusterDetails & WithLogging(const AwsEksClusterLoggingDetails &value)
AwsEksClusterDetails & WithVersion(Aws::String &&value)
AwsEksClusterDetails & WithRoleArn(Aws::String &&value)
AwsEksClusterDetails & WithCertificateAuthorityData(const char *value)
AwsEksClusterDetails & WithName(const char *value)
AwsEksClusterDetails & WithName(Aws::String &&value)
AwsEksClusterDetails & WithArn(Aws::String &&value)
void SetCertificateAuthorityData(const Aws::String &value)
AwsEksClusterDetails & WithLogging(AwsEksClusterLoggingDetails &&value)
AwsEksClusterDetails & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue