/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Alert configuration parameters.See Also:
AWS
* API Reference
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
The code for the alert. For example, NOT_PROCESSED
.
If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline const Aws::String& GetAlertMessage() const{ return m_alertMessage; } /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline bool AlertMessageHasBeenSet() const { return m_alertMessageHasBeenSet; } /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline void SetAlertMessage(const Aws::String& value) { m_alertMessageHasBeenSet = true; m_alertMessage = value; } /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline void SetAlertMessage(Aws::String&& value) { m_alertMessageHasBeenSet = true; m_alertMessage = std::move(value); } /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline void SetAlertMessage(const char* value) { m_alertMessageHasBeenSet = true; m_alertMessage.assign(value); } /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline Alert& WithAlertMessage(const Aws::String& value) { SetAlertMessage(value); return *this;} /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline Alert& WithAlertMessage(Aws::String&& value) { SetAlertMessage(std::move(value)); return *this;} /** *If an alert is generated for a resource, an explanation of the reason for the * alert.
*/ inline Alert& WithAlertMessage(const char* value) { SetAlertMessage(value); return *this;} /** *The category that MediaTailor assigns to the alert.
*/ inline const AlertCategory& GetCategory() const{ return m_category; } /** *The category that MediaTailor assigns to the alert.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category that MediaTailor assigns to the alert.
*/ inline void SetCategory(const AlertCategory& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category that MediaTailor assigns to the alert.
*/ inline void SetCategory(AlertCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category that MediaTailor assigns to the alert.
*/ inline Alert& WithCategory(const AlertCategory& value) { SetCategory(value); return *this;} /** *The category that MediaTailor assigns to the alert.
*/ inline Alert& WithCategory(AlertCategory&& value) { SetCategory(std::move(value)); return *this;} /** *The timestamp when the alert was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The timestamp when the alert was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The timestamp when the alert was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The timestamp when the alert was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The timestamp when the alert was last modified.
*/ inline Alert& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The timestamp when the alert was last modified.
*/ inline Alert& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The Amazon Resource Names (ARNs) related to this alert.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) related to this alert.
*/ inline bool RelatedResourceArnsHasBeenSet() const { return m_relatedResourceArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) related to this alert.
*/ inline void SetRelatedResourceArns(const Aws::VectorThe Amazon Resource Names (ARNs) related to this alert.
*/ inline void SetRelatedResourceArns(Aws::VectorThe Amazon Resource Names (ARNs) related to this alert.
*/ inline Alert& WithRelatedResourceArns(const Aws::VectorThe Amazon Resource Names (ARNs) related to this alert.
*/ inline Alert& WithRelatedResourceArns(Aws::VectorThe Amazon Resource Names (ARNs) related to this alert.
*/ inline Alert& AddRelatedResourceArns(const Aws::String& value) { m_relatedResourceArnsHasBeenSet = true; m_relatedResourceArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) related to this alert.
*/ inline Alert& AddRelatedResourceArns(Aws::String&& value) { m_relatedResourceArnsHasBeenSet = true; m_relatedResourceArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) related to this alert.
*/ inline Alert& AddRelatedResourceArns(const char* value) { m_relatedResourceArnsHasBeenSet = true; m_relatedResourceArns.push_back(value); return *this; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Alert& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Alert& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Alert& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_alertCode; bool m_alertCodeHasBeenSet = false; Aws::String m_alertMessage; bool m_alertMessageHasBeenSet = false; AlertCategory m_category; bool m_categoryHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::Vector