/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the properties of an alert manager definition.See
* Also:
AWS
* API Reference
The status of alert manager definition.
*/ inline const AlertManagerDefinitionStatus& GetStatus() const{ return m_status; } /** *The status of alert manager definition.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of alert manager definition.
*/ inline void SetStatus(const AlertManagerDefinitionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of alert manager definition.
*/ inline void SetStatus(AlertManagerDefinitionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of alert manager definition.
*/ inline AlertManagerDefinitionDescription& WithStatus(const AlertManagerDefinitionStatus& value) { SetStatus(value); return *this;} /** *The status of alert manager definition.
*/ inline AlertManagerDefinitionDescription& WithStatus(AlertManagerDefinitionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The alert manager definition.
*/ inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** *The alert manager definition.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The alert manager definition.
*/ inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** *The alert manager definition.
*/ inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The alert manager definition.
*/ inline AlertManagerDefinitionDescription& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** *The alert manager definition.
*/ inline AlertManagerDefinitionDescription& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} /** *The time when the alert manager definition was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time when the alert manager definition was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time when the alert manager definition was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time when the alert manager definition was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time when the alert manager definition was created.
*/ inline AlertManagerDefinitionDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time when the alert manager definition was created.
*/ inline AlertManagerDefinitionDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time when the alert manager definition was modified.
*/ inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** *The time when the alert manager definition was modified.
*/ inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** *The time when the alert manager definition was modified.
*/ inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** *The time when the alert manager definition was modified.
*/ inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** *The time when the alert manager definition was modified.
*/ inline AlertManagerDefinitionDescription& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** *The time when the alert manager definition was modified.
*/ inline AlertManagerDefinitionDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} private: AlertManagerDefinitionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; }; } // namespace Model } // namespace PrometheusService } // namespace Aws