7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/AggregationConfiguration.h>
9#include <aws/cloudtrail/model/ContextKeySelector.h>
10#include <aws/cloudtrail/model/MaxEventSize.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename TrailARNT = Aws::String>
41 m_trailARNHasBeenSet =
true;
42 m_trailARN = std::forward<TrailARNT>(value);
44 template <
typename TrailARNT = Aws::String>
57 template <
typename EventDataStoreArnT = Aws::String>
59 m_eventDataStoreArnHasBeenSet =
true;
60 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
62 template <
typename EventDataStoreArnT = Aws::String>
76 m_maxEventSizeHasBeenSet =
true;
77 m_maxEventSize = value;
91 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
93 m_contextKeySelectorsHasBeenSet =
true;
94 m_contextKeySelectors = std::forward<ContextKeySelectorsT>(value);
96 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
101 template <
typename ContextKeySelectorsT = ContextKeySelector>
103 m_contextKeySelectorsHasBeenSet =
true;
104 m_contextKeySelectors.emplace_back(std::forward<ContextKeySelectorsT>(value));
114 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
116 m_aggregationConfigurationsHasBeenSet =
true;
117 m_aggregationConfigurations = std::forward<AggregationConfigurationsT>(value);
119 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
124 template <
typename AggregationConfigurationsT = AggregationConfiguration>
126 m_aggregationConfigurationsHasBeenSet =
true;
127 m_aggregationConfigurations.emplace_back(std::forward<AggregationConfigurationsT>(value));
135 template <
typename RequestIdT = Aws::String>
137 m_requestIdHasBeenSet =
true;
138 m_requestId = std::forward<RequestIdT>(value);
140 template <
typename RequestIdT = Aws::String>
158 bool m_trailARNHasBeenSet =
false;
159 bool m_eventDataStoreArnHasBeenSet =
false;
160 bool m_maxEventSizeHasBeenSet =
false;
161 bool m_contextKeySelectorsHasBeenSet =
false;
162 bool m_aggregationConfigurationsHasBeenSet =
false;
163 bool m_requestIdHasBeenSet =
false;
GetEventConfigurationResult & WithMaxEventSize(MaxEventSize value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetEventDataStoreArn() const
GetEventConfigurationResult & AddContextKeySelectors(ContextKeySelectorsT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfigurations() const
GetEventConfigurationResult & WithTrailARN(TrailARNT &&value)
GetEventConfigurationResult & WithContextKeySelectors(ContextKeySelectorsT &&value)
void SetTrailARN(TrailARNT &&value)
void SetContextKeySelectors(ContextKeySelectorsT &&value)
GetEventConfigurationResult & AddAggregationConfigurations(AggregationConfigurationsT &&value)
const Aws::Vector< ContextKeySelector > & GetContextKeySelectors() const
GetEventConfigurationResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDTRAIL_API GetEventConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MaxEventSize GetMaxEventSize() const
AWS_CLOUDTRAIL_API GetEventConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventDataStoreArn(EventDataStoreArnT &&value)
AWS_CLOUDTRAIL_API GetEventConfigurationResult()=default
const Aws::String & GetTrailARN() const
GetEventConfigurationResult & WithAggregationConfigurations(AggregationConfigurationsT &&value)
GetEventConfigurationResult & WithEventDataStoreArn(EventDataStoreArnT &&value)
void SetAggregationConfigurations(AggregationConfigurationsT &&value)
void SetMaxEventSize(MaxEventSize value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue