/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of an UpdateWorkspaceAlias operation.See
* Also:
AWS
* API Reference
The ID of the workspace being updated.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *The ID of the workspace being updated.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *The ID of the workspace being updated.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *The ID of the workspace being updated.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *The ID of the workspace being updated.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *The ID of the workspace being updated.
*/ inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *The ID of the workspace being updated.
*/ inline UpdateWorkspaceAliasRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *The ID of the workspace being updated.
*/ inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *The new alias of the workspace.
*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *The new alias of the workspace.
*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *The new alias of the workspace.
*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *The new alias of the workspace.
*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *The new alias of the workspace.
*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *The new alias of the workspace.
*/ inline UpdateWorkspaceAliasRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *The new alias of the workspace.
*/ inline UpdateWorkspaceAliasRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *The new alias of the workspace.
*/ inline UpdateWorkspaceAliasRequest& 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 UpdateWorkspaceAliasRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline UpdateWorkspaceAliasRequest& 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 UpdateWorkspaceAliasRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace PrometheusService } // namespace Aws