/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about alerts and warnings that Amazon Lex sends during a
* migration. The alerts include information about how to resolve the
* issue.See Also:
AWS
* API Reference
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
The type of alert. There are two kinds of alerts:
* ERROR
- There was an issue with the migration that can't be
* resolved. The migration stops.
WARN
- There was
* an issue with the migration that requires manual changes to the new Amazon Lex
* V2 bot. The migration continues.
A message that describes why the alert was issued.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message that describes why the alert was issued.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message that describes why the alert was issued.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message that describes why the alert was issued.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message that describes why the alert was issued.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message that describes why the alert was issued.
*/ inline MigrationAlert& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message that describes why the alert was issued.
*/ inline MigrationAlert& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message that describes why the alert was issued.
*/ inline MigrationAlert& WithMessage(const char* value) { SetMessage(value); return *this;} /** *Additional details about the alert.
*/ inline const Aws::VectorAdditional details about the alert.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *Additional details about the alert.
*/ inline void SetDetails(const Aws::VectorAdditional details about the alert.
*/ inline void SetDetails(Aws::VectorAdditional details about the alert.
*/ inline MigrationAlert& WithDetails(const Aws::VectorAdditional details about the alert.
*/ inline MigrationAlert& WithDetails(Aws::VectorAdditional details about the alert.
*/ inline MigrationAlert& AddDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details.push_back(value); return *this; } /** *Additional details about the alert.
*/ inline MigrationAlert& AddDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details.push_back(std::move(value)); return *this; } /** *Additional details about the alert.
*/ inline MigrationAlert& AddDetails(const char* value) { m_detailsHasBeenSet = true; m_details.push_back(value); return *this; } /** *A link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline const Aws::VectorA link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline bool ReferenceURLsHasBeenSet() const { return m_referenceURLsHasBeenSet; } /** *A link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline void SetReferenceURLs(const Aws::VectorA link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline void SetReferenceURLs(Aws::VectorA link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline MigrationAlert& WithReferenceURLs(const Aws::VectorA link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline MigrationAlert& WithReferenceURLs(Aws::VectorA link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline MigrationAlert& AddReferenceURLs(const Aws::String& value) { m_referenceURLsHasBeenSet = true; m_referenceURLs.push_back(value); return *this; } /** *A link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline MigrationAlert& AddReferenceURLs(Aws::String&& value) { m_referenceURLsHasBeenSet = true; m_referenceURLs.push_back(std::move(value)); return *this; } /** *A link to the Amazon Lex documentation that describes how to resolve the * alert.
*/ inline MigrationAlert& AddReferenceURLs(const char* value) { m_referenceURLsHasBeenSet = true; m_referenceURLs.push_back(value); return *this; } private: MigrationAlertType m_type; bool m_typeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector