7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKSRequest.h>
12#include <aws/eks/EKS_EXPORTS.h>
13#include <aws/eks/model/ComputeConfigRequest.h>
14#include <aws/eks/model/ControlPlaneScalingConfig.h>
15#include <aws/eks/model/CreateAccessConfigRequest.h>
16#include <aws/eks/model/EncryptionConfig.h>
17#include <aws/eks/model/KubernetesNetworkConfigRequest.h>
18#include <aws/eks/model/Logging.h>
19#include <aws/eks/model/OutpostConfigRequest.h>
20#include <aws/eks/model/RemoteNetworkConfigRequest.h>
21#include <aws/eks/model/StorageConfigRequest.h>
22#include <aws/eks/model/UpgradePolicyRequest.h>
23#include <aws/eks/model/VpcConfigRequest.h>
24#include <aws/eks/model/ZonalShiftConfigRequest.h>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
76 template <
typename VersionT = Aws::String>
78 m_versionHasBeenSet =
true;
79 m_version = std::forward<VersionT>(value);
81 template <
typename VersionT = Aws::String>
98 template <
typename RoleArnT = Aws::String>
100 m_roleArnHasBeenSet =
true;
101 m_roleArn = std::forward<RoleArnT>(value);
103 template <
typename RoleArnT = Aws::String>
125 template <
typename ResourcesVpcConfigT = VpcConfigRequest>
127 m_resourcesVpcConfigHasBeenSet =
true;
128 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
130 template <
typename ResourcesVpcConfigT = VpcConfigRequest>
143 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
145 m_kubernetesNetworkConfigHasBeenSet =
true;
146 m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value);
148 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
169 template <
typename LoggingT = Logging>
171 m_loggingHasBeenSet =
true;
172 m_logging = std::forward<LoggingT>(value);
174 template <
typename LoggingT = Logging>
188 template <
typename ClientRequestTokenT = Aws::String>
190 m_clientRequestTokenHasBeenSet =
true;
191 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
193 template <
typename ClientRequestTokenT = Aws::String>
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
232 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
234 m_encryptionConfigHasBeenSet =
true;
235 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
237 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
242 template <
typename EncryptionConfigT = EncryptionConfig>
244 m_encryptionConfigHasBeenSet =
true;
245 m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
262 template <
typename OutpostConfigT = OutpostConfigRequest>
264 m_outpostConfigHasBeenSet =
true;
265 m_outpostConfig = std::forward<OutpostConfigT>(value);
267 template <
typename OutpostConfigT = OutpostConfigRequest>
280 template <
typename AccessConfigT = CreateAccessConfigRequest>
282 m_accessConfigHasBeenSet =
true;
283 m_accessConfig = std::forward<AccessConfigT>(value);
285 template <
typename AccessConfigT = CreateAccessConfigRequest>
304 m_bootstrapSelfManagedAddonsHasBeenSet =
true;
305 m_bootstrapSelfManagedAddons = value;
321 template <
typename UpgradePolicyT = UpgradePolicyRequest>
323 m_upgradePolicyHasBeenSet =
true;
324 m_upgradePolicy = std::forward<UpgradePolicyT>(value);
326 template <
typename UpgradePolicyT = UpgradePolicyRequest>
354 template <
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
356 m_zonalShiftConfigHasBeenSet =
true;
357 m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value);
359 template <
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
373 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
375 m_remoteNetworkConfigHasBeenSet =
true;
376 m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value);
378 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
393 template <
typename ComputeConfigT = ComputeConfigRequest>
395 m_computeConfigHasBeenSet =
true;
396 m_computeConfig = std::forward<ComputeConfigT>(value);
398 template <
typename ComputeConfigT = ComputeConfigRequest>
413 template <
typename StorageConfigT = StorageConfigRequest>
415 m_storageConfigHasBeenSet =
true;
416 m_storageConfig = std::forward<StorageConfigT>(value);
418 template <
typename StorageConfigT = StorageConfigRequest>
435 m_deletionProtectionHasBeenSet =
true;
436 m_deletionProtection = value;
451 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
453 m_controlPlaneScalingConfigHasBeenSet =
true;
454 m_controlPlaneScalingConfig = std::forward<ControlPlaneScalingConfigT>(value);
456 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
481 OutpostConfigRequest m_outpostConfig;
483 CreateAccessConfigRequest m_accessConfig;
485 bool m_bootstrapSelfManagedAddons{
false};
487 UpgradePolicyRequest m_upgradePolicy;
489 ZonalShiftConfigRequest m_zonalShiftConfig;
491 RemoteNetworkConfigRequest m_remoteNetworkConfig;
493 ComputeConfigRequest m_computeConfig;
495 StorageConfigRequest m_storageConfig;
497 bool m_deletionProtection{
false};
499 ControlPlaneScalingConfig m_controlPlaneScalingConfig;
500 bool m_nameHasBeenSet =
false;
501 bool m_versionHasBeenSet =
false;
502 bool m_roleArnHasBeenSet =
false;
503 bool m_resourcesVpcConfigHasBeenSet =
false;
504 bool m_kubernetesNetworkConfigHasBeenSet =
false;
505 bool m_loggingHasBeenSet =
false;
506 bool m_clientRequestTokenHasBeenSet =
true;
507 bool m_tagsHasBeenSet =
false;
508 bool m_encryptionConfigHasBeenSet =
false;
509 bool m_outpostConfigHasBeenSet =
false;
510 bool m_accessConfigHasBeenSet =
false;
511 bool m_bootstrapSelfManagedAddonsHasBeenSet =
false;
512 bool m_upgradePolicyHasBeenSet =
false;
513 bool m_zonalShiftConfigHasBeenSet =
false;
514 bool m_remoteNetworkConfigHasBeenSet =
false;
515 bool m_computeConfigHasBeenSet =
false;
516 bool m_storageConfigHasBeenSet =
false;
517 bool m_deletionProtectionHasBeenSet =
false;
518 bool m_controlPlaneScalingConfigHasBeenSet =
false;
bool StorageConfigHasBeenSet() const
const Aws::String & GetClientRequestToken() const
const Aws::String & GetRoleArn() const
void SetName(NameT &&value)
bool RemoteNetworkConfigHasBeenSet() const
CreateClusterRequest & WithStorageConfig(StorageConfigT &&value)
bool EncryptionConfigHasBeenSet() const
CreateClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
CreateClusterRequest & WithComputeConfig(ComputeConfigT &&value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ControlPlaneScalingConfig & GetControlPlaneScalingConfig() const
void SetTags(TagsT &&value)
void SetUpgradePolicy(UpgradePolicyT &&value)
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
CreateClusterRequest & AddEncryptionConfig(EncryptionConfigT &&value)
bool ZonalShiftConfigHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
AWS_EKS_API Aws::String SerializePayload() const override
CreateClusterRequest & WithDeletionProtection(bool value)
bool ResourcesVpcConfigHasBeenSet() const
void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
bool GetDeletionProtection() const
void SetComputeConfig(ComputeConfigT &&value)
bool KubernetesNetworkConfigHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
const CreateAccessConfigRequest & GetAccessConfig() const
void SetOutpostConfig(OutpostConfigT &&value)
CreateClusterRequest & WithOutpostConfig(OutpostConfigT &&value)
CreateClusterRequest & WithVersion(VersionT &&value)
const RemoteNetworkConfigRequest & GetRemoteNetworkConfig() const
CreateClusterRequest & WithTags(TagsT &&value)
void SetRoleArn(RoleArnT &&value)
void SetVersion(VersionT &&value)
bool RoleArnHasBeenSet() const
void SetBootstrapSelfManagedAddons(bool value)
CreateClusterRequest & WithKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
CreateClusterRequest & WithLogging(LoggingT &&value)
void SetStorageConfig(StorageConfigT &&value)
const VpcConfigRequest & GetResourcesVpcConfig() const
const KubernetesNetworkConfigRequest & GetKubernetesNetworkConfig() const
CreateClusterRequest & WithControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
void SetEncryptionConfig(EncryptionConfigT &&value)
void SetResourcesVpcConfig(ResourcesVpcConfigT &&value)
CreateClusterRequest & WithUpgradePolicy(UpgradePolicyT &&value)
bool BootstrapSelfManagedAddonsHasBeenSet() const
CreateClusterRequest & WithRemoteNetworkConfig(RemoteNetworkConfigT &&value)
virtual const char * GetServiceRequestName() const override
void SetDeletionProtection(bool value)
const OutpostConfigRequest & GetOutpostConfig() const
AWS_EKS_API CreateClusterRequest()=default
void SetAccessConfig(AccessConfigT &&value)
bool ComputeConfigHasBeenSet() const
const UpgradePolicyRequest & GetUpgradePolicy() const
const StorageConfigRequest & GetStorageConfig() const
bool UpgradePolicyHasBeenSet() const
void SetRemoteNetworkConfig(RemoteNetworkConfigT &&value)
bool GetBootstrapSelfManagedAddons() const
bool AccessConfigHasBeenSet() const
const ComputeConfigRequest & GetComputeConfig() const
bool NameHasBeenSet() const
const Aws::Vector< EncryptionConfig > & GetEncryptionConfig() const
bool LoggingHasBeenSet() const
bool VersionHasBeenSet() const
CreateClusterRequest & WithZonalShiftConfig(ZonalShiftConfigT &&value)
CreateClusterRequest & WithRoleArn(RoleArnT &&value)
const Logging & GetLogging() const
CreateClusterRequest & WithAccessConfig(AccessConfigT &&value)
CreateClusterRequest & WithName(NameT &&value)
CreateClusterRequest & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
void SetLogging(LoggingT &&value)
void SetZonalShiftConfig(ZonalShiftConfigT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetVersion() const
CreateClusterRequest & WithEncryptionConfig(EncryptionConfigT &&value)
CreateClusterRequest & WithBootstrapSelfManagedAddons(bool value)
CreateClusterRequest & WithClientRequestToken(ClientRequestTokenT &&value)
const ZonalShiftConfigRequest & GetZonalShiftConfig() const
bool OutpostConfigHasBeenSet() const
bool ControlPlaneScalingConfigHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector