/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes event information.See Also:
AWS
* API Reference
The identifier of an Amazon Redshift event.
*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *The identifier of an Amazon Redshift event.
*/ inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } /** *The identifier of an Amazon Redshift event.
*/ inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } /** *The identifier of an Amazon Redshift event.
*/ inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } /** *The identifier of an Amazon Redshift event.
*/ inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } /** *The identifier of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *The identifier of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *The identifier of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventId(const char* value) { SetEventId(value); return *this;} /** *The category of an Amazon Redshift event.
*/ inline const Aws::VectorThe category of an Amazon Redshift event.
*/ inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; } /** *The category of an Amazon Redshift event.
*/ inline void SetEventCategories(const Aws::VectorThe category of an Amazon Redshift event.
*/ inline void SetEventCategories(Aws::VectorThe category of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventCategories(const Aws::VectorThe category of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventCategories(Aws::VectorThe category of an Amazon Redshift event.
*/ inline EventInfoMap& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *The category of an Amazon Redshift event.
*/ inline EventInfoMap& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; } /** *The category of an Amazon Redshift event.
*/ inline EventInfoMap& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *The description of an Amazon Redshift event.
*/ inline const Aws::String& GetEventDescription() const{ return m_eventDescription; } /** *The description of an Amazon Redshift event.
*/ inline bool EventDescriptionHasBeenSet() const { return m_eventDescriptionHasBeenSet; } /** *The description of an Amazon Redshift event.
*/ inline void SetEventDescription(const Aws::String& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = value; } /** *The description of an Amazon Redshift event.
*/ inline void SetEventDescription(Aws::String&& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = std::move(value); } /** *The description of an Amazon Redshift event.
*/ inline void SetEventDescription(const char* value) { m_eventDescriptionHasBeenSet = true; m_eventDescription.assign(value); } /** *The description of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventDescription(const Aws::String& value) { SetEventDescription(value); return *this;} /** *The description of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventDescription(Aws::String&& value) { SetEventDescription(std::move(value)); return *this;} /** *The description of an Amazon Redshift event.
*/ inline EventInfoMap& WithEventDescription(const char* value) { SetEventDescription(value); return *this;} /** *The severity of the event.
Values: ERROR, INFO
*/ inline const Aws::String& GetSeverity() const{ return m_severity; } /** *The severity of the event.
Values: ERROR, INFO
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *The severity of the event.
Values: ERROR, INFO
*/ inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } /** *The severity of the event.
Values: ERROR, INFO
*/ inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *The severity of the event.
Values: ERROR, INFO
*/ inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } /** *The severity of the event.
Values: ERROR, INFO
*/ inline EventInfoMap& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} /** *The severity of the event.
Values: ERROR, INFO
*/ inline EventInfoMap& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} /** *The severity of the event.
Values: ERROR, INFO
*/ inline EventInfoMap& WithSeverity(const char* value) { SetSeverity(value); return *this;} private: Aws::String m_eventId; bool m_eventIdHasBeenSet; Aws::Vector