7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-containers/model/VirtualClusterState.h>
10#include <aws/emr-containers/model/ContainerProvider.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace EMRContainers
57 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
58 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
85 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
86 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
144 inline VirtualCluster&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
155 inline void SetSecurityConfigurationId(
const char* value) { m_securityConfigurationIdHasBeenSet =
true; m_securityConfigurationId.assign(value); }
163 bool m_idHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
169 bool m_arnHasBeenSet =
false;
172 bool m_stateHasBeenSet =
false;
175 bool m_containerProviderHasBeenSet =
false;
178 bool m_createdAtHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
184 bool m_securityConfigurationIdHasBeenSet =
false;
VirtualCluster & WithCreatedAt(Aws::Utils::DateTime &&value)
VirtualCluster & AddTags(Aws::String &&key, Aws::String &&value)
bool ContainerProviderHasBeenSet() const
VirtualCluster & WithSecurityConfigurationId(const Aws::String &value)
const ContainerProvider & GetContainerProvider() const
void SetId(const char *value)
AWS_EMRCONTAINERS_API VirtualCluster()
bool SecurityConfigurationIdHasBeenSet() const
void SetContainerProvider(const ContainerProvider &value)
AWS_EMRCONTAINERS_API VirtualCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualCluster & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
VirtualCluster & AddTags(Aws::String &&key, const Aws::String &value)
VirtualCluster & WithName(const char *value)
bool StateHasBeenSet() const
VirtualCluster & WithId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetSecurityConfigurationId() const
void SetId(const Aws::String &value)
VirtualCluster & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
VirtualCluster & AddTags(const Aws::String &key, const Aws::String &value)
VirtualCluster & WithId(Aws::String &&value)
void SetName(const Aws::String &value)
VirtualCluster & WithName(const Aws::String &value)
VirtualCluster & WithContainerProvider(ContainerProvider &&value)
VirtualCluster & WithArn(const Aws::String &value)
VirtualCluster & AddTags(const char *key, Aws::String &&value)
VirtualCluster & WithState(const VirtualClusterState &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
void SetContainerProvider(ContainerProvider &&value)
VirtualCluster & WithId(const char *value)
VirtualCluster & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
VirtualCluster & WithSecurityConfigurationId(const char *value)
void SetSecurityConfigurationId(const Aws::String &value)
void SetSecurityConfigurationId(Aws::String &&value)
AWS_EMRCONTAINERS_API VirtualCluster(Aws::Utils::Json::JsonView jsonValue)
VirtualCluster & WithState(VirtualClusterState &&value)
void SetName(Aws::String &&value)
void SetName(const char *value)
VirtualCluster & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
VirtualCluster & WithArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool CreatedAtHasBeenSet() const
void SetArn(const Aws::String &value)
VirtualCluster & AddTags(const Aws::String &key, Aws::String &&value)
bool ArnHasBeenSet() const
void SetState(VirtualClusterState &&value)
VirtualCluster & WithContainerProvider(const ContainerProvider &value)
VirtualCluster & AddTags(const char *key, const char *value)
void SetState(const VirtualClusterState &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
VirtualCluster & WithArn(const char *value)
void SetArn(const char *value)
const Aws::String & GetName() const
void SetId(Aws::String &&value)
void SetSecurityConfigurationId(const char *value)
const VirtualClusterState & GetState() const
const Aws::String & GetId() const
VirtualCluster & AddTags(Aws::String &&key, const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool IdHasBeenSet() const
VirtualCluster & WithSecurityConfigurationId(Aws::String &&value)
const Aws::String & GetArn() const
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
Aws::Utils::Json::JsonValue JsonValue