/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This entity represents the endpoint that is managed by Amazon EMR on
* EKS.See Also:
AWS
* API Reference
The ID of the endpoint.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the endpoint.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the endpoint.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the endpoint.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the endpoint.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the endpoint.
*/ inline Endpoint& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the endpoint.
*/ inline Endpoint& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the endpoint.
*/ inline Endpoint& WithId(const char* value) { SetId(value); return *this;} /** *The name of the endpoint.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the endpoint.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the endpoint.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the endpoint.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the endpoint.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the endpoint.
*/ inline Endpoint& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the endpoint.
*/ inline Endpoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the endpoint.
*/ inline Endpoint& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the endpoint.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the endpoint.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the endpoint.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the endpoint.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the endpoint.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the endpoint.
*/ inline Endpoint& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the endpoint.
*/ inline Endpoint& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the endpoint.
*/ inline Endpoint& WithArn(const char* value) { SetArn(value); return *this;} /** *The ID of the endpoint's virtual cluster.
*/ inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; } /** *The ID of the endpoint's virtual cluster.
*/ inline bool VirtualClusterIdHasBeenSet() const { return m_virtualClusterIdHasBeenSet; } /** *The ID of the endpoint's virtual cluster.
*/ inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = value; } /** *The ID of the endpoint's virtual cluster.
*/ inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::move(value); } /** *The ID of the endpoint's virtual cluster.
*/ inline void SetVirtualClusterId(const char* value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId.assign(value); } /** *The ID of the endpoint's virtual cluster.
*/ inline Endpoint& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;} /** *The ID of the endpoint's virtual cluster.
*/ inline Endpoint& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;} /** *The ID of the endpoint's virtual cluster.
*/ inline Endpoint& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;} /** *The type of the endpoint.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of the endpoint.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the endpoint.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the endpoint.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the endpoint.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of the endpoint.
*/ inline Endpoint& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of the endpoint.
*/ inline Endpoint& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of the endpoint.
*/ inline Endpoint& WithType(const char* value) { SetType(value); return *this;} /** *The state of the endpoint.
*/ inline const EndpointState& GetState() const{ return m_state; } /** *The state of the endpoint.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the endpoint.
*/ inline void SetState(const EndpointState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the endpoint.
*/ inline void SetState(EndpointState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the endpoint.
*/ inline Endpoint& WithState(const EndpointState& value) { SetState(value); return *this;} /** *The state of the endpoint.
*/ inline Endpoint& WithState(EndpointState&& value) { SetState(std::move(value)); return *this;} /** *The EMR release version to be used for the endpoint.
*/ inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; } /** *The EMR release version to be used for the endpoint.
*/ inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; } /** *The EMR release version to be used for the endpoint.
*/ inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; } /** *The EMR release version to be used for the endpoint.
*/ inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); } /** *The EMR release version to be used for the endpoint.
*/ inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); } /** *The EMR release version to be used for the endpoint.
*/ inline Endpoint& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;} /** *The EMR release version to be used for the endpoint.
*/ inline Endpoint& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;} /** *The EMR release version to be used for the endpoint.
*/ inline Endpoint& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;} /** *The execution role ARN of the endpoint.
*/ inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; } /** *The execution role ARN of the endpoint.
*/ inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; } /** *The execution role ARN of the endpoint.
*/ inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; } /** *The execution role ARN of the endpoint.
*/ inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); } /** *The execution role ARN of the endpoint.
*/ inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); } /** *The execution role ARN of the endpoint.
*/ inline Endpoint& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;} /** *The execution role ARN of the endpoint.
*/ inline Endpoint& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;} /** *The execution role ARN of the endpoint.
*/ inline Endpoint& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline const Certificate& GetCertificateAuthority() const{ return m_certificateAuthority; } /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline bool CertificateAuthorityHasBeenSet() const { return m_certificateAuthorityHasBeenSet; } /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline void SetCertificateAuthority(const Certificate& value) { m_certificateAuthorityHasBeenSet = true; m_certificateAuthority = value; } /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline void SetCertificateAuthority(Certificate&& value) { m_certificateAuthorityHasBeenSet = true; m_certificateAuthority = std::move(value); } /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline Endpoint& WithCertificateAuthority(const Certificate& value) { SetCertificateAuthority(value); return *this;} /** *The certificate generated by emr control plane on customer behalf to secure * the managed endpoint.
*/ inline Endpoint& WithCertificateAuthority(Certificate&& value) { SetCertificateAuthority(std::move(value)); return *this;} /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline const ConfigurationOverrides& GetConfigurationOverrides() const{ return m_configurationOverrides; } /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; } /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline void SetConfigurationOverrides(const ConfigurationOverrides& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = value; } /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline void SetConfigurationOverrides(ConfigurationOverrides&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::move(value); } /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline Endpoint& WithConfigurationOverrides(const ConfigurationOverrides& value) { SetConfigurationOverrides(value); return *this;} /** *The configuration settings that are used to override existing configurations * for endpoints.
*/ inline Endpoint& WithConfigurationOverrides(ConfigurationOverrides&& value) { SetConfigurationOverrides(std::move(value)); return *this;} /** *The server URL of the endpoint.
*/ inline const Aws::String& GetServerUrl() const{ return m_serverUrl; } /** *The server URL of the endpoint.
*/ inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; } /** *The server URL of the endpoint.
*/ inline void SetServerUrl(const Aws::String& value) { m_serverUrlHasBeenSet = true; m_serverUrl = value; } /** *The server URL of the endpoint.
*/ inline void SetServerUrl(Aws::String&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::move(value); } /** *The server URL of the endpoint.
*/ inline void SetServerUrl(const char* value) { m_serverUrlHasBeenSet = true; m_serverUrl.assign(value); } /** *The server URL of the endpoint.
*/ inline Endpoint& WithServerUrl(const Aws::String& value) { SetServerUrl(value); return *this;} /** *The server URL of the endpoint.
*/ inline Endpoint& WithServerUrl(Aws::String&& value) { SetServerUrl(std::move(value)); return *this;} /** *The server URL of the endpoint.
*/ inline Endpoint& WithServerUrl(const char* value) { SetServerUrl(value); return *this;} /** *The date and time when the endpoint was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the endpoint was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the endpoint was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the endpoint was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the endpoint was created.
*/ inline Endpoint& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the endpoint was created.
*/ inline Endpoint& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The security group configuration of the endpoint.
*/ inline const Aws::String& GetSecurityGroup() const{ return m_securityGroup; } /** *The security group configuration of the endpoint.
*/ inline bool SecurityGroupHasBeenSet() const { return m_securityGroupHasBeenSet; } /** *The security group configuration of the endpoint.
*/ inline void SetSecurityGroup(const Aws::String& value) { m_securityGroupHasBeenSet = true; m_securityGroup = value; } /** *The security group configuration of the endpoint.
*/ inline void SetSecurityGroup(Aws::String&& value) { m_securityGroupHasBeenSet = true; m_securityGroup = std::move(value); } /** *The security group configuration of the endpoint.
*/ inline void SetSecurityGroup(const char* value) { m_securityGroupHasBeenSet = true; m_securityGroup.assign(value); } /** *The security group configuration of the endpoint.
*/ inline Endpoint& WithSecurityGroup(const Aws::String& value) { SetSecurityGroup(value); return *this;} /** *The security group configuration of the endpoint.
*/ inline Endpoint& WithSecurityGroup(Aws::String&& value) { SetSecurityGroup(std::move(value)); return *this;} /** *The security group configuration of the endpoint.
*/ inline Endpoint& WithSecurityGroup(const char* value) { SetSecurityGroup(value); return *this;} /** *The subnet IDs of the endpoint.
*/ inline const Aws::VectorThe subnet IDs of the endpoint.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnet IDs of the endpoint.
*/ inline void SetSubnetIds(const Aws::VectorThe subnet IDs of the endpoint.
*/ inline void SetSubnetIds(Aws::VectorThe subnet IDs of the endpoint.
*/ inline Endpoint& WithSubnetIds(const Aws::VectorThe subnet IDs of the endpoint.
*/ inline Endpoint& WithSubnetIds(Aws::VectorThe subnet IDs of the endpoint.
*/ inline Endpoint& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnet IDs of the endpoint.
*/ inline Endpoint& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnet IDs of the endpoint.
*/ inline Endpoint& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *Additional details of the endpoint state.
*/ inline const Aws::String& GetStateDetails() const{ return m_stateDetails; } /** *Additional details of the endpoint state.
*/ inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; } /** *Additional details of the endpoint state.
*/ inline void SetStateDetails(const Aws::String& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = value; } /** *Additional details of the endpoint state.
*/ inline void SetStateDetails(Aws::String&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::move(value); } /** *Additional details of the endpoint state.
*/ inline void SetStateDetails(const char* value) { m_stateDetailsHasBeenSet = true; m_stateDetails.assign(value); } /** *Additional details of the endpoint state.
*/ inline Endpoint& WithStateDetails(const Aws::String& value) { SetStateDetails(value); return *this;} /** *Additional details of the endpoint state.
*/ inline Endpoint& WithStateDetails(Aws::String&& value) { SetStateDetails(std::move(value)); return *this;} /** *Additional details of the endpoint state.
*/ inline Endpoint& WithStateDetails(const char* value) { SetStateDetails(value); return *this;} /** *The reasons why the endpoint has failed.
*/ inline const FailureReason& GetFailureReason() const{ return m_failureReason; } /** *The reasons why the endpoint has failed.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The reasons why the endpoint has failed.
*/ inline void SetFailureReason(const FailureReason& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The reasons why the endpoint has failed.
*/ inline void SetFailureReason(FailureReason&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The reasons why the endpoint has failed.
*/ inline Endpoint& WithFailureReason(const FailureReason& value) { SetFailureReason(value); return *this;} /** *The reasons why the endpoint has failed.
*/ inline Endpoint& WithFailureReason(FailureReason&& value) { SetFailureReason(std::move(value)); return *this;} /** *The tags of the endpoint.
*/ inline const Aws::MapThe tags of the endpoint.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of the endpoint.
*/ inline void SetTags(const Aws::MapThe tags of the endpoint.
*/ inline void SetTags(Aws::MapThe tags of the endpoint.
*/ inline Endpoint& WithTags(const Aws::MapThe tags of the endpoint.
*/ inline Endpoint& WithTags(Aws::MapThe tags of the endpoint.
*/ inline Endpoint& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the endpoint.
*/ inline Endpoint& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_virtualClusterId; bool m_virtualClusterIdHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; EndpointState m_state; bool m_stateHasBeenSet = false; Aws::String m_releaseLabel; bool m_releaseLabelHasBeenSet = false; Aws::String m_executionRoleArn; bool m_executionRoleArnHasBeenSet = false; Certificate m_certificateAuthority; bool m_certificateAuthorityHasBeenSet = false; ConfigurationOverrides m_configurationOverrides; bool m_configurationOverridesHasBeenSet = false; Aws::String m_serverUrl; bool m_serverUrlHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_securityGroup; bool m_securityGroupHasBeenSet = false; Aws::Vector