/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a PutAlertManagerDefinition operation.See
* Also:
AWS
* API Reference
The ID of the workspace in which to update the alert manager definition.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *The ID of the workspace in which to update the alert manager definition.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *The ID of the workspace in which to update the alert manager definition.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *The ID of the workspace in which to update the alert manager definition.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *The ID of the workspace in which to update the alert manager definition.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *The ID of the workspace in which to update the alert manager definition.
*/ inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *The ID of the workspace in which to update the alert manager definition.
*/ inline PutAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *The ID of the workspace in which to update the alert manager definition.
*/ inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *The alert manager definition data.
*/ inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** *The alert manager definition data.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The alert manager definition data.
*/ inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** *The alert manager definition data.
*/ inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The alert manager definition data.
*/ inline PutAlertManagerDefinitionRequest& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** *The alert manager definition data.
*/ inline PutAlertManagerDefinitionRequest& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(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 PutAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline PutAlertManagerDefinitionRequest& 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 PutAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace PrometheusService } // namespace Aws