/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the results of a successful invocation of the
* DescribeEventCategories action.See Also:
AWS
* API Reference
The source type that the returned categories belong to
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The source type that the returned categories belong to
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The source type that the returned categories belong to
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The source type that the returned categories belong to
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The source type that the returned categories belong to
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The source type that the returned categories belong to
*/ inline EventCategoriesMap& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The source type that the returned categories belong to
*/ inline EventCategoriesMap& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The source type that the returned categories belong to
*/ inline EventCategoriesMap& WithSourceType(const char* value) { SetSourceType(value); return *this;} /** *The event categories for the specified source type
*/ inline const Aws::VectorThe event categories for the specified source type
*/ inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; } /** *The event categories for the specified source type
*/ inline void SetEventCategories(const Aws::VectorThe event categories for the specified source type
*/ inline void SetEventCategories(Aws::VectorThe event categories for the specified source type
*/ inline EventCategoriesMap& WithEventCategories(const Aws::VectorThe event categories for the specified source type
*/ inline EventCategoriesMap& WithEventCategories(Aws::VectorThe event categories for the specified source type
*/ inline EventCategoriesMap& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *The event categories for the specified source type
*/ inline EventCategoriesMap& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; } /** *The event categories for the specified source type
*/ inline EventCategoriesMap& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } private: Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::Vector