7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/InsightType.h>
9#include <aws/cloudtrail/model/SourceEventCategory.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
51 m_insightTypeHasBeenSet =
true;
52 m_insightType = value;
73 template <
typename EventCategoriesT = Aws::Vector<SourceEventCategory>>
75 m_eventCategoriesHasBeenSet =
true;
76 m_eventCategories = std::forward<EventCategoriesT>(value);
78 template <
typename EventCategoriesT = Aws::Vector<SourceEventCategory>>
84 m_eventCategoriesHasBeenSet =
true;
85 m_eventCategories.push_back(value);
93 bool m_insightTypeHasBeenSet =
false;
94 bool m_eventCategoriesHasBeenSet =
false;
void SetInsightType(InsightType value)
const Aws::Vector< SourceEventCategory > & GetEventCategories() const
InsightType GetInsightType() const
InsightSelector & AddEventCategories(SourceEventCategory value)
void SetEventCategories(EventCategoriesT &&value)
InsightSelector & WithEventCategories(EventCategoriesT &&value)
AWS_CLOUDTRAIL_API InsightSelector(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API InsightSelector()=default
bool InsightTypeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
InsightSelector & WithInsightType(InsightType value)
bool EventCategoriesHasBeenSet() const
AWS_CLOUDTRAIL_API InsightSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue