/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes event categories.See Also:
AWS
* API Reference
The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline EventCategoriesMap& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline EventCategoriesMap& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The source type, such as cluster or cluster-snapshot, that the returned * categories belong to.
*/ inline EventCategoriesMap& WithSourceType(const char* value) { SetSourceType(value); return *this;} /** *The events in the event category.
*/ inline const Aws::VectorThe events in the event category.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *The events in the event category.
*/ inline void SetEvents(const Aws::VectorThe events in the event category.
*/ inline void SetEvents(Aws::VectorThe events in the event category.
*/ inline EventCategoriesMap& WithEvents(const Aws::VectorThe events in the event category.
*/ inline EventCategoriesMap& WithEvents(Aws::VectorThe events in the event category.
*/ inline EventCategoriesMap& AddEvents(const EventInfoMap& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *The events in the event category.
*/ inline EventCategoriesMap& AddEvents(EventInfoMap&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } private: Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::Vector