7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-containers/model/EndpointState.h>
10#include <aws/emr-containers/model/Certificate.h>
11#include <aws/emr-containers/model/ConfigurationOverrides.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/emr-containers/model/FailureReason.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
28namespace EMRContainers
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
70 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
84 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
98 inline void SetVirtualClusterId(
const char* value) { m_virtualClusterIdHasBeenSet =
true; m_virtualClusterId.assign(value); }
112 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
138 inline void SetReleaseLabel(
const char* value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel.assign(value); }
152 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
192 inline void SetServerUrl(
const char* value) { m_serverUrlHasBeenSet =
true; m_serverUrl.assign(value); }
218 inline void SetSecurityGroup(
const char* value) { m_securityGroupHasBeenSet =
true; m_securityGroup.assign(value); }
236 inline Endpoint&
AddSubnetIds(
const char* value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.push_back(value);
return *
this; }
247 inline void SetStateDetails(
const char* value) { m_stateDetailsHasBeenSet =
true; m_stateDetails.assign(value); }
279 inline Endpoint&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
280 inline Endpoint&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
281 inline Endpoint&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
286 bool m_idHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
292 bool m_arnHasBeenSet =
false;
295 bool m_virtualClusterIdHasBeenSet =
false;
298 bool m_typeHasBeenSet =
false;
301 bool m_stateHasBeenSet =
false;
304 bool m_releaseLabelHasBeenSet =
false;
307 bool m_executionRoleArnHasBeenSet =
false;
310 bool m_certificateAuthorityHasBeenSet =
false;
313 bool m_configurationOverridesHasBeenSet =
false;
316 bool m_serverUrlHasBeenSet =
false;
319 bool m_createdAtHasBeenSet =
false;
322 bool m_securityGroupHasBeenSet =
false;
325 bool m_subnetIdsHasBeenSet =
false;
328 bool m_stateDetailsHasBeenSet =
false;
331 bool m_failureReasonHasBeenSet =
false;
334 bool m_tagsHasBeenSet =
false;
Endpoint & AddTags(Aws::String &&key, const char *value)
Endpoint & WithId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Endpoint & WithStateDetails(Aws::String &&value)
Endpoint & WithServerUrl(Aws::String &&value)
const Aws::String & GetName() const
bool CertificateAuthorityHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
void SetId(const char *value)
void SetSecurityGroup(Aws::String &&value)
void SetExecutionRoleArn(const char *value)
void SetState(EndpointState &&value)
bool NameHasBeenSet() const
const FailureReason & GetFailureReason() const
const EndpointState & GetState() const
void SetCertificateAuthority(Certificate &&value)
void SetServerUrl(const Aws::String &value)
Endpoint & WithSecurityGroup(const char *value)
bool ReleaseLabelHasBeenSet() const
void SetExecutionRoleArn(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetReleaseLabel() const
const Aws::String & GetArn() const
Endpoint & WithFailureReason(FailureReason &&value)
Endpoint & WithConfigurationOverrides(ConfigurationOverrides &&value)
const Aws::String & GetServerUrl() const
Endpoint & AddTags(const char *key, Aws::String &&value)
void SetType(const char *value)
bool StateHasBeenSet() const
Endpoint & WithVirtualClusterId(const char *value)
bool ExecutionRoleArnHasBeenSet() const
const Aws::String & GetVirtualClusterId() const
void SetReleaseLabel(const Aws::String &value)
Endpoint & AddTags(Aws::String &&key, Aws::String &&value)
Endpoint & AddTags(const char *key, const char *value)
void SetReleaseLabel(const char *value)
Endpoint & AddSubnetIds(Aws::String &&value)
Endpoint & WithConfigurationOverrides(const ConfigurationOverrides &value)
void SetSecurityGroup(const char *value)
void SetStateDetails(const Aws::String &value)
const Aws::String & GetStateDetails() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetName(const char *value)
void SetServerUrl(Aws::String &&value)
Endpoint & WithVirtualClusterId(const Aws::String &value)
void SetName(Aws::String &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(Aws::String &&value)
Endpoint & WithId(const Aws::String &value)
void SetSecurityGroup(const Aws::String &value)
Endpoint & WithExecutionRoleArn(Aws::String &&value)
Endpoint & WithExecutionRoleArn(const Aws::String &value)
Endpoint & WithId(const char *value)
void SetVirtualClusterId(const Aws::String &value)
const Aws::String & GetSecurityGroup() const
bool VirtualClusterIdHasBeenSet() const
Endpoint & WithState(const EndpointState &value)
Endpoint & WithType(const char *value)
Endpoint & WithVirtualClusterId(Aws::String &&value)
Endpoint & WithReleaseLabel(const Aws::String &value)
void SetId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetVirtualClusterId(const char *value)
Endpoint & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Endpoint & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
Endpoint & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool ArnHasBeenSet() const
Endpoint & AddTags(Aws::String &&key, const Aws::String &value)
Endpoint & WithStateDetails(const Aws::String &value)
const Certificate & GetCertificateAuthority() const
void SetArn(const char *value)
Endpoint & WithReleaseLabel(const char *value)
AWS_EMRCONTAINERS_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
void SetVirtualClusterId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(const Aws::String &value)
bool TypeHasBeenSet() const
Endpoint & WithCertificateAuthority(Certificate &&value)
AWS_EMRCONTAINERS_API Endpoint()
bool TagsHasBeenSet() const
Endpoint & AddTags(const Aws::String &key, const Aws::String &value)
Endpoint & WithName(const char *value)
bool CreatedAtHasBeenSet() const
Endpoint & WithType(Aws::String &&value)
Endpoint & WithReleaseLabel(Aws::String &&value)
bool SecurityGroupHasBeenSet() const
Endpoint & WithExecutionRoleArn(const char *value)
Endpoint & WithName(const Aws::String &value)
Endpoint & WithState(EndpointState &&value)
Endpoint & WithType(const Aws::String &value)
Endpoint & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetReleaseLabel(Aws::String &&value)
AWS_EMRCONTAINERS_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
bool ConfigurationOverridesHasBeenSet() const
Endpoint & WithFailureReason(const FailureReason &value)
bool StateDetailsHasBeenSet() const
Endpoint & WithStateDetails(const char *value)
void SetFailureReason(FailureReason &&value)
Endpoint & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Endpoint & WithSecurityGroup(Aws::String &&value)
Endpoint & WithServerUrl(const Aws::String &value)
Endpoint & AddTags(const Aws::String &key, Aws::String &&value)
void SetStateDetails(const char *value)
const ConfigurationOverrides & GetConfigurationOverrides() const
bool IdHasBeenSet() const
void SetConfigurationOverrides(const ConfigurationOverrides &value)
void SetType(const Aws::String &value)
bool FailureReasonHasBeenSet() const
Endpoint & WithName(Aws::String &&value)
Endpoint & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetId(const Aws::String &value)
void SetArn(Aws::String &&value)
void SetState(const EndpointState &value)
void SetServerUrl(const char *value)
bool ServerUrlHasBeenSet() const
Endpoint & WithArn(const Aws::String &value)
void SetStateDetails(Aws::String &&value)
void SetConfigurationOverrides(ConfigurationOverrides &&value)
Endpoint & WithCreatedAt(const Aws::Utils::DateTime &value)
Endpoint & WithServerUrl(const char *value)
void SetCertificateAuthority(const Certificate &value)
Endpoint & AddSubnetIds(const char *value)
bool SubnetIdsHasBeenSet() const
void SetFailureReason(const FailureReason &value)
void SetExecutionRoleArn(const Aws::String &value)
const Aws::String & GetId() const
Endpoint & WithSecurityGroup(const Aws::String &value)
Endpoint & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Endpoint & AddSubnetIds(const Aws::String &value)
Endpoint & WithCertificateAuthority(const Certificate &value)
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
Aws::Utils::Json::JsonValue JsonValue