7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/AggregationConfiguration.h>
10#include <aws/cloudtrail/model/ContextKeySelector.h>
11#include <aws/cloudtrail/model/MaxEventSize.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename TrailNameT = Aws::String>
46 m_trailNameHasBeenSet =
true;
47 m_trailName = std::forward<TrailNameT>(value);
49 template <
typename TrailNameT = Aws::String>
63 template <
typename EventDataStoreT = Aws::String>
65 m_eventDataStoreHasBeenSet =
true;
66 m_eventDataStore = std::forward<EventDataStoreT>(value);
68 template <
typename EventDataStoreT = Aws::String>
84 m_maxEventSizeHasBeenSet =
true;
85 m_maxEventSize = value;
100 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
102 m_contextKeySelectorsHasBeenSet =
true;
103 m_contextKeySelectors = std::forward<ContextKeySelectorsT>(value);
105 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
110 template <
typename ContextKeySelectorsT = ContextKeySelector>
112 m_contextKeySelectorsHasBeenSet =
true;
113 m_contextKeySelectors.emplace_back(std::forward<ContextKeySelectorsT>(value));
125 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
127 m_aggregationConfigurationsHasBeenSet =
true;
128 m_aggregationConfigurations = std::forward<AggregationConfigurationsT>(value);
130 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
135 template <
typename AggregationConfigurationsT = AggregationConfiguration>
137 m_aggregationConfigurationsHasBeenSet =
true;
138 m_aggregationConfigurations.emplace_back(std::forward<AggregationConfigurationsT>(value));
152 bool m_trailNameHasBeenSet =
false;
153 bool m_eventDataStoreHasBeenSet =
false;
154 bool m_maxEventSizeHasBeenSet =
false;
155 bool m_contextKeySelectorsHasBeenSet =
false;
156 bool m_aggregationConfigurationsHasBeenSet =
false;
bool MaxEventSizeHasBeenSet() const
PutEventConfigurationRequest & AddContextKeySelectors(ContextKeySelectorsT &&value)
void SetMaxEventSize(MaxEventSize value)
PutEventConfigurationRequest & WithEventDataStore(EventDataStoreT &&value)
bool TrailNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AggregationConfigurationsHasBeenSet() const
bool ContextKeySelectorsHasBeenSet() const
AWS_CLOUDTRAIL_API PutEventConfigurationRequest()=default
const Aws::String & GetTrailName() const
PutEventConfigurationRequest & WithMaxEventSize(MaxEventSize value)
void SetContextKeySelectors(ContextKeySelectorsT &&value)
void SetEventDataStore(EventDataStoreT &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< ContextKeySelector > & GetContextKeySelectors() const
PutEventConfigurationRequest & AddAggregationConfigurations(AggregationConfigurationsT &&value)
PutEventConfigurationRequest & WithAggregationConfigurations(AggregationConfigurationsT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfigurations() const
MaxEventSize GetMaxEventSize() const
void SetAggregationConfigurations(AggregationConfigurationsT &&value)
bool EventDataStoreHasBeenSet() const
void SetTrailName(TrailNameT &&value)
PutEventConfigurationRequest & WithTrailName(TrailNameT &&value)
PutEventConfigurationRequest & WithContextKeySelectors(ContextKeySelectorsT &&value)
const Aws::String & GetEventDataStore() const
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector