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;
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>
161 bool m_trailARNHasBeenSet =
false;
162 bool m_eventDataStoreArnHasBeenSet =
false;
163 bool m_maxEventSizeHasBeenSet =
false;
164 bool m_contextKeySelectorsHasBeenSet =
false;
165 bool m_aggregationConfigurationsHasBeenSet =
false;
166 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::Http::HttpResponseCode GetHttpResponseCode() const
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