/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a CreateWorkspace operation.See Also:
* AWS
* API Reference
An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline CreateWorkspaceRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline CreateWorkspaceRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *An optional user-assigned alias for this workspace. This alias is for user * reference and does not need to be unique.
*/ inline CreateWorkspaceRequest& WithAlias(const char* value) { SetAlias(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateWorkspaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateWorkspaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateWorkspaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *Optional, user-provided tags for this workspace.
*/ inline const Aws::MapOptional, user-provided tags for this workspace.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Optional, user-provided tags for this workspace.
*/ inline void SetTags(const Aws::MapOptional, user-provided tags for this workspace.
*/ inline void SetTags(Aws::MapOptional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& WithTags(const Aws::MapOptional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& WithTags(Aws::MapOptional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Optional, user-provided tags for this workspace.
*/ inline CreateWorkspaceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Map