7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/EventCategoryAggregation.h>
9#include <aws/cloudtrail/model/Template.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename TemplatesT = Aws::Vector<Template>>
46 m_templatesHasBeenSet =
true;
47 m_templates = std::forward<TemplatesT>(value);
49 template <
typename TemplatesT = Aws::Vector<Template>>
55 m_templatesHasBeenSet =
true;
56 m_templates.push_back(value);
68 m_eventCategoryHasBeenSet =
true;
69 m_eventCategory = value;
80 bool m_templatesHasBeenSet =
false;
81 bool m_eventCategoryHasBeenSet =
false;
AWS_CLOUDTRAIL_API AggregationConfiguration()=default
AggregationConfiguration & WithEventCategory(EventCategoryAggregation value)
bool TemplatesHasBeenSet() const
AWS_CLOUDTRAIL_API AggregationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Template > & GetTemplates() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API AggregationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EventCategoryAggregation GetEventCategory() const
void SetEventCategory(EventCategoryAggregation value)
void SetTemplates(TemplatesT &&value)
AggregationConfiguration & WithTemplates(TemplatesT &&value)
AggregationConfiguration & AddTemplates(Template value)
bool EventCategoryHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue