/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Creates a cluster.See Also:
AWS
* API Reference
A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *The name of the cluster.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *The name of the cluster.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *The name of the cluster.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *The name of the cluster.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *The name of the cluster.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *The name of the cluster.
*/ inline CreateClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The name of the cluster.
*/ inline CreateClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The name of the cluster.
*/ inline CreateClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *The tags associated with the cluster.
*/ inline const Aws::MapThe tags associated with the cluster.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags associated with the cluster.
*/ inline void SetTags(const Aws::MapThe tags associated with the cluster.
*/ inline void SetTags(Aws::MapThe tags associated with the cluster.
*/ inline CreateClusterRequest& WithTags(const Aws::MapThe tags associated with the cluster.
*/ inline CreateClusterRequest& WithTags(Aws::MapThe tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the cluster.
*/ inline CreateClusterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::Map