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/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 template <
typename TrailARNT = Aws::String>
42 m_trailARNHasBeenSet =
true;
43 m_trailARN = std::forward<TrailARNT>(value);
45 template <
typename TrailARNT = Aws::String>
58 template <
typename EventDataStoreArnT = Aws::String>
60 m_eventDataStoreArnHasBeenSet =
true;
61 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
63 template <
typename EventDataStoreArnT = Aws::String>
77 m_maxEventSizeHasBeenSet =
true;
78 m_maxEventSize = value;
92 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
94 m_contextKeySelectorsHasBeenSet =
true;
95 m_contextKeySelectors = std::forward<ContextKeySelectorsT>(value);
97 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
102 template <
typename ContextKeySelectorsT = ContextKeySelector>
104 m_contextKeySelectorsHasBeenSet =
true;
105 m_contextKeySelectors.emplace_back(std::forward<ContextKeySelectorsT>(value));
115 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
117 m_aggregationConfigurationsHasBeenSet =
true;
118 m_aggregationConfigurations = std::forward<AggregationConfigurationsT>(value);
120 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
125 template <
typename AggregationConfigurationsT = AggregationConfiguration>
127 m_aggregationConfigurationsHasBeenSet =
true;
128 m_aggregationConfigurations.emplace_back(std::forward<AggregationConfigurationsT>(value));
136 template <
typename RequestIdT = Aws::String>
138 m_requestIdHasBeenSet =
true;
139 m_requestId = std::forward<RequestIdT>(value);
141 template <
typename RequestIdT = Aws::String>
162 bool m_trailARNHasBeenSet =
false;
163 bool m_eventDataStoreArnHasBeenSet =
false;
164 bool m_maxEventSizeHasBeenSet =
false;
165 bool m_contextKeySelectorsHasBeenSet =
false;
166 bool m_aggregationConfigurationsHasBeenSet =
false;
167 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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