7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/model/VpcConfigRequest.h>
11#include <aws/eks/model/KubernetesNetworkConfigRequest.h>
12#include <aws/eks/model/Logging.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/eks/model/OutpostConfigRequest.h>
16#include <aws/eks/model/CreateAccessConfigRequest.h>
17#include <aws/eks/model/UpgradePolicyRequest.h>
18#include <aws/eks/model/ZonalShiftConfigRequest.h>
19#include <aws/eks/model/RemoteNetworkConfigRequest.h>
20#include <aws/eks/model/ComputeConfigRequest.h>
21#include <aws/eks/model/StorageConfigRequest.h>
22#include <aws/eks/model/EncryptionConfig.h>
24#include <aws/core/utils/UUID.h>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
73 template<
typename VersionT = Aws::String>
74 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
75 template<
typename VersionT = Aws::String>
89 template<
typename RoleArnT = Aws::String>
90 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
91 template<
typename RoleArnT = Aws::String>
110 template<
typename ResourcesVpcConfigT = VpcConfigRequest>
111 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) { m_resourcesVpcConfigHasBeenSet =
true; m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value); }
112 template<
typename ResourcesVpcConfigT = VpcConfigRequest>
122 template<
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
123 void SetKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) { m_kubernetesNetworkConfigHasBeenSet =
true; m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value); }
124 template<
typename KubernetesNetworkConfigT = KubernetesNetworkConfigRequest>
142 template<
typename LoggingT = Logging>
143 void SetLogging(LoggingT&& value) { m_loggingHasBeenSet =
true; m_logging = std::forward<LoggingT>(value); }
144 template<
typename LoggingT = Logging>
155 template<
typename ClientRequestTokenT = Aws::String>
156 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
157 template<
typename ClientRequestTokenT = Aws::String>
169 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
171 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
185 template<
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
186 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet =
true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
187 template<
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
189 template<
typename EncryptionConfigT = EncryptionConfig>
205 template<
typename OutpostConfigT = OutpostConfigRequest>
206 void SetOutpostConfig(OutpostConfigT&& value) { m_outpostConfigHasBeenSet =
true; m_outpostConfig = std::forward<OutpostConfigT>(value); }
207 template<
typename OutpostConfigT = OutpostConfigRequest>
217 template<
typename AccessConfigT = CreateAccessConfigRequest>
218 void SetAccessConfig(AccessConfigT&& value) { m_accessConfigHasBeenSet =
true; m_accessConfig = std::forward<AccessConfigT>(value); }
219 template<
typename AccessConfigT = CreateAccessConfigRequest>
246 template<
typename UpgradePolicyT = UpgradePolicyRequest>
247 void SetUpgradePolicy(UpgradePolicyT&& value) { m_upgradePolicyHasBeenSet =
true; m_upgradePolicy = std::forward<UpgradePolicyT>(value); }
248 template<
typename UpgradePolicyT = UpgradePolicyRequest>
273 template<
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
274 void SetZonalShiftConfig(ZonalShiftConfigT&& value) { m_zonalShiftConfigHasBeenSet =
true; m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value); }
275 template<
typename ZonalShiftConfigT = ZonalShiftConfigRequest>
286 template<
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
287 void SetRemoteNetworkConfig(RemoteNetworkConfigT&& value) { m_remoteNetworkConfigHasBeenSet =
true; m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value); }
288 template<
typename RemoteNetworkConfigT = RemoteNetworkConfigRequest>
300 template<
typename ComputeConfigT = ComputeConfigRequest>
301 void SetComputeConfig(ComputeConfigT&& value) { m_computeConfigHasBeenSet =
true; m_computeConfig = std::forward<ComputeConfigT>(value); }
302 template<
typename ComputeConfigT = ComputeConfigRequest>
314 template<
typename StorageConfigT = StorageConfigRequest>
315 void SetStorageConfig(StorageConfigT&& value) { m_storageConfigHasBeenSet =
true; m_storageConfig = std::forward<StorageConfigT>(value); }
316 template<
typename StorageConfigT = StorageConfigRequest>
322 bool m_nameHasBeenSet =
false;
325 bool m_versionHasBeenSet =
false;
328 bool m_roleArnHasBeenSet =
false;
331 bool m_resourcesVpcConfigHasBeenSet =
false;
334 bool m_kubernetesNetworkConfigHasBeenSet =
false;
337 bool m_loggingHasBeenSet =
false;
340 bool m_clientRequestTokenHasBeenSet =
true;
343 bool m_tagsHasBeenSet =
false;
346 bool m_encryptionConfigHasBeenSet =
false;
348 OutpostConfigRequest m_outpostConfig;
349 bool m_outpostConfigHasBeenSet =
false;
351 CreateAccessConfigRequest m_accessConfig;
352 bool m_accessConfigHasBeenSet =
false;
354 bool m_bootstrapSelfManagedAddons{
false};
355 bool m_bootstrapSelfManagedAddonsHasBeenSet =
false;
357 UpgradePolicyRequest m_upgradePolicy;
358 bool m_upgradePolicyHasBeenSet =
false;
360 ZonalShiftConfigRequest m_zonalShiftConfig;
361 bool m_zonalShiftConfigHasBeenSet =
false;
363 RemoteNetworkConfigRequest m_remoteNetworkConfig;
364 bool m_remoteNetworkConfigHasBeenSet =
false;
366 ComputeConfigRequest m_computeConfig;
367 bool m_computeConfigHasBeenSet =
false;
369 StorageConfigRequest m_storageConfig;
370 bool m_storageConfigHasBeenSet =
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
void SetTags(TagsT &&value)
void SetUpgradePolicy(UpgradePolicyT &&value)
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
CreateClusterRequest & AddEncryptionConfig(EncryptionConfigT &&value)
bool ZonalShiftConfigHasBeenSet() const
AWS_EKS_API Aws::String SerializePayload() const override
bool ResourcesVpcConfigHasBeenSet() 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
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
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
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