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/KubeApiServerConfigRequest.h>
18#include <aws/eks/model/KubeControllerManagerConfigRequest.h>
19#include <aws/eks/model/KubeSchedulerConfigRequest.h>
20#include <aws/eks/model/KubernetesNetworkConfigRequest.h>
21#include <aws/eks/model/Logging.h>
22#include <aws/eks/model/OutpostConfigRequest.h>
23#include <aws/eks/model/RemoteNetworkConfigRequest.h>
24#include <aws/eks/model/StorageConfigRequest.h>
25#include <aws/eks/model/UpgradePolicyRequest.h>
26#include <aws/eks/model/VpcConfigRequest.h>
27#include <aws/eks/model/ZonalShiftConfigRequest.h>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
79 template <
typename VersionT = Aws::String>
81 m_versionHasBeenSet =
true;
82 m_version = std::forward<VersionT>(value);
84 template <
typename VersionT = Aws::String>
101 template <
typename RoleArnT = Aws::String>
103 m_roleArnHasBeenSet =
true;
104 m_roleArn = std::forward<RoleArnT>(value);
106 template <
typename RoleArnT = Aws::String>
128 template <
typename ResourcesVpcConfigT = VpcConfigRequest>
130 m_resourcesVpcConfigHasBeenSet =
true;
131 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
133 template <
typename ResourcesVpcConfigT = VpcConfigRequest>
146 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
148 m_kubernetesNetworkConfigHasBeenSet =
true;
149 m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value);
151 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
172 template <
typename LoggingT = Logging>
174 m_loggingHasBeenSet =
true;
175 m_logging = std::forward<LoggingT>(value);
177 template <
typename LoggingT = Logging>
191 template <
typename ClientRequestTokenT = Aws::String>
193 m_clientRequestTokenHasBeenSet =
true;
194 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
196 template <
typename ClientRequestTokenT = Aws::String>
211 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 m_tagsHasBeenSet =
true;
214 m_tags = std::forward<TagsT>(value);
216 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
218 SetTags(std::forward<TagsT>(value));
221 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
223 m_tagsHasBeenSet =
true;
224 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
235 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
237 m_encryptionConfigHasBeenSet =
true;
238 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
240 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
245 template <
typename EncryptionConfigT = EncryptionConfig>
247 m_encryptionConfigHasBeenSet =
true;
248 m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
265 template <
typename OutpostConfigT = OutpostConfigRequest>
267 m_outpostConfigHasBeenSet =
true;
268 m_outpostConfig = std::forward<OutpostConfigT>(value);
270 template <
typename OutpostConfigT = OutpostConfigRequest>
283 template <
typename AccessConfigT = CreateAccessConfigRequest>
285 m_accessConfigHasBeenSet =
true;
286 m_accessConfig = std::forward<AccessConfigT>(value);
288 template <
typename AccessConfigT = CreateAccessConfigRequest>
307 m_bootstrapSelfManagedAddonsHasBeenSet =
true;
308 m_bootstrapSelfManagedAddons = value;
324 template <
typename UpgradePolicyT = UpgradePolicyRequest>
326 m_upgradePolicyHasBeenSet =
true;
327 m_upgradePolicy = std::forward<UpgradePolicyT>(value);
329 template <
typename UpgradePolicyT = UpgradePolicyRequest>
357 template <
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
359 m_zonalShiftConfigHasBeenSet =
true;
360 m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value);
362 template <
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
376 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
378 m_remoteNetworkConfigHasBeenSet =
true;
379 m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value);
381 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
396 template <
typename ComputeConfigT = ComputeConfigRequest>
398 m_computeConfigHasBeenSet =
true;
399 m_computeConfig = std::forward<ComputeConfigT>(value);
401 template <
typename ComputeConfigT = ComputeConfigRequest>
416 template <
typename StorageConfigT = StorageConfigRequest>
418 m_storageConfigHasBeenSet =
true;
419 m_storageConfig = std::forward<StorageConfigT>(value);
421 template <
typename StorageConfigT = StorageConfigRequest>
438 m_deletionProtectionHasBeenSet =
true;
439 m_deletionProtection = value;
454 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
456 m_controlPlaneScalingConfigHasBeenSet =
true;
457 m_controlPlaneScalingConfig = std::forward<ControlPlaneScalingConfigT>(value);
459 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
472 template <
typename KubeApiServerConfigT = KubeApiServerConfigRequest>
474 m_kubeApiServerConfigHasBeenSet =
true;
475 m_kubeApiServerConfig = std::forward<KubeApiServerConfigT>(value);
477 template <
typename KubeApiServerConfigT = KubeApiServerConfigRequest>
490 template <
typename KubeSchedulerConfigT = KubeSchedulerConfigRequest>
492 m_kubeSchedulerConfigHasBeenSet =
true;
493 m_kubeSchedulerConfig = std::forward<KubeSchedulerConfigT>(value);
495 template <
typename KubeSchedulerConfigT = KubeSchedulerConfigRequest>
508 template <
typename KubeControllerManagerConfigT = KubeControllerManagerConfigRequest>
510 m_kubeControllerManagerConfigHasBeenSet =
true;
511 m_kubeControllerManagerConfig = std::forward<KubeControllerManagerConfigT>(value);
513 template <
typename KubeControllerManagerConfigT = KubeControllerManagerConfigRequest>
538 OutpostConfigRequest m_outpostConfig;
540 CreateAccessConfigRequest m_accessConfig;
542 bool m_bootstrapSelfManagedAddons{
false};
544 UpgradePolicyRequest m_upgradePolicy;
546 ZonalShiftConfigRequest m_zonalShiftConfig;
548 RemoteNetworkConfigRequest m_remoteNetworkConfig;
550 ComputeConfigRequest m_computeConfig;
552 StorageConfigRequest m_storageConfig;
554 bool m_deletionProtection{
false};
556 ControlPlaneScalingConfig m_controlPlaneScalingConfig;
558 KubeApiServerConfigRequest m_kubeApiServerConfig;
560 KubeSchedulerConfigRequest m_kubeSchedulerConfig;
562 KubeControllerManagerConfigRequest m_kubeControllerManagerConfig;
563 bool m_nameHasBeenSet =
false;
564 bool m_versionHasBeenSet =
false;
565 bool m_roleArnHasBeenSet =
false;
566 bool m_resourcesVpcConfigHasBeenSet =
false;
567 bool m_kubernetesNetworkConfigHasBeenSet =
false;
568 bool m_loggingHasBeenSet =
false;
569 bool m_clientRequestTokenHasBeenSet =
true;
570 bool m_tagsHasBeenSet =
false;
571 bool m_encryptionConfigHasBeenSet =
false;
572 bool m_outpostConfigHasBeenSet =
false;
573 bool m_accessConfigHasBeenSet =
false;
574 bool m_bootstrapSelfManagedAddonsHasBeenSet =
false;
575 bool m_upgradePolicyHasBeenSet =
false;
576 bool m_zonalShiftConfigHasBeenSet =
false;
577 bool m_remoteNetworkConfigHasBeenSet =
false;
578 bool m_computeConfigHasBeenSet =
false;
579 bool m_storageConfigHasBeenSet =
false;
580 bool m_deletionProtectionHasBeenSet =
false;
581 bool m_controlPlaneScalingConfigHasBeenSet =
false;
582 bool m_kubeApiServerConfigHasBeenSet =
false;
583 bool m_kubeSchedulerConfigHasBeenSet =
false;
584 bool m_kubeControllerManagerConfigHasBeenSet =
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
const KubeApiServerConfigRequest & GetKubeApiServerConfig() const
void SetTags(TagsT &&value)
void SetUpgradePolicy(UpgradePolicyT &&value)
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
CreateClusterRequest & AddEncryptionConfig(EncryptionConfigT &&value)
bool ZonalShiftConfigHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
CreateClusterRequest & WithKubeControllerManagerConfig(KubeControllerManagerConfigT &&value)
AWS_EKS_API Aws::String SerializePayload() const override
CreateClusterRequest & WithDeletionProtection(bool value)
bool ResourcesVpcConfigHasBeenSet() const
void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
const KubeSchedulerConfigRequest & GetKubeSchedulerConfig() const
bool KubeApiServerConfigHasBeenSet() const
bool GetDeletionProtection() const
void SetComputeConfig(ComputeConfigT &&value)
void SetKubeApiServerConfig(KubeApiServerConfigT &&value)
bool KubeSchedulerConfigHasBeenSet() const
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
bool KubeControllerManagerConfigHasBeenSet() 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
CreateClusterRequest & WithKubeApiServerConfig(KubeApiServerConfigT &&value)
const KubeControllerManagerConfigRequest & GetKubeControllerManagerConfig() 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 & WithKubeSchedulerConfig(KubeSchedulerConfigT &&value)
CreateClusterRequest & WithAccessConfig(AccessConfigT &&value)
void SetKubeControllerManagerConfig(KubeControllerManagerConfigT &&value)
CreateClusterRequest & WithName(NameT &&value)
CreateClusterRequest & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
void SetLogging(LoggingT &&value)
void SetZonalShiftConfig(ZonalShiftConfigT &&value)
void SetKubeSchedulerConfig(KubeSchedulerConfigT &&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