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;
38 template <
typename TrailARNT = Aws::String>
40 m_trailARNHasBeenSet =
true;
41 m_trailARN = std::forward<TrailARNT>(value);
43 template <
typename TrailARNT = Aws::String>
56 template <
typename EventDataStoreArnT = Aws::String>
58 m_eventDataStoreArnHasBeenSet =
true;
59 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
61 template <
typename EventDataStoreArnT = Aws::String>
75 m_maxEventSizeHasBeenSet =
true;
76 m_maxEventSize = value;
90 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
92 m_contextKeySelectorsHasBeenSet =
true;
93 m_contextKeySelectors = std::forward<ContextKeySelectorsT>(value);
95 template <
typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
100 template <
typename ContextKeySelectorsT = ContextKeySelector>
102 m_contextKeySelectorsHasBeenSet =
true;
103 m_contextKeySelectors.emplace_back(std::forward<ContextKeySelectorsT>(value));
113 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
115 m_aggregationConfigurationsHasBeenSet =
true;
116 m_aggregationConfigurations = std::forward<AggregationConfigurationsT>(value);
118 template <
typename AggregationConfigurationsT = Aws::Vector<AggregationConfiguration>>
123 template <
typename AggregationConfigurationsT = AggregationConfiguration>
125 m_aggregationConfigurationsHasBeenSet =
true;
126 m_aggregationConfigurations.emplace_back(std::forward<AggregationConfigurationsT>(value));
134 template <
typename RequestIdT = Aws::String>
136 m_requestIdHasBeenSet =
true;
137 m_requestId = std::forward<RequestIdT>(value);
139 template <
typename RequestIdT = Aws::String>
157 bool m_trailARNHasBeenSet =
false;
158 bool m_eventDataStoreArnHasBeenSet =
false;
159 bool m_maxEventSizeHasBeenSet =
false;
160 bool m_contextKeySelectorsHasBeenSet =
false;
161 bool m_aggregationConfigurationsHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
PutEventConfigurationResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetTrailARN() const
PutEventConfigurationResult & WithEventDataStoreArn(EventDataStoreArnT &&value)
PutEventConfigurationResult & WithMaxEventSize(MaxEventSize value)
AWS_CLOUDTRAIL_API PutEventConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MaxEventSize GetMaxEventSize() const
PutEventConfigurationResult & WithContextKeySelectors(ContextKeySelectorsT &&value)
void SetMaxEventSize(MaxEventSize value)
PutEventConfigurationResult & AddAggregationConfigurations(AggregationConfigurationsT &&value)
void SetContextKeySelectors(ContextKeySelectorsT &&value)
PutEventConfigurationResult & AddContextKeySelectors(ContextKeySelectorsT &&value)
AWS_CLOUDTRAIL_API PutEventConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutEventConfigurationResult & WithAggregationConfigurations(AggregationConfigurationsT &&value)
void SetAggregationConfigurations(AggregationConfigurationsT &&value)
void SetTrailARN(TrailARNT &&value)
const Aws::String & GetRequestId() const
void SetEventDataStoreArn(EventDataStoreArnT &&value)
const Aws::Vector< ContextKeySelector > & GetContextKeySelectors() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfigurations() const
AWS_CLOUDTRAIL_API PutEventConfigurationResult()=default
PutEventConfigurationResult & WithTrailARN(TrailARNT &&value)
const Aws::String & GetEventDataStoreArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue