7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/InsightSelector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename TrailNameT = Aws::String>
45 m_trailNameHasBeenSet =
true;
46 m_trailName = std::forward<TrailNameT>(value);
48 template <
typename TrailNameT = Aws::String>
70 template <
typename InsightSelectorsT = Aws::Vector<InsightSelector>>
72 m_insightSelectorsHasBeenSet =
true;
73 m_insightSelectors = std::forward<InsightSelectorsT>(value);
75 template <
typename InsightSelectorsT = Aws::Vector<InsightSelector>>
80 template <
typename InsightSelectorsT = InsightSelector>
82 m_insightSelectorsHasBeenSet =
true;
83 m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value));
98 template <
typename EventDataStoreT = Aws::String>
100 m_eventDataStoreHasBeenSet =
true;
101 m_eventDataStore = std::forward<EventDataStoreT>(value);
103 template <
typename EventDataStoreT = Aws::String>
120 template <
typename InsightsDestinationT = Aws::String>
122 m_insightsDestinationHasBeenSet =
true;
123 m_insightsDestination = std::forward<InsightsDestinationT>(value);
125 template <
typename InsightsDestinationT = Aws::String>
139 bool m_trailNameHasBeenSet =
false;
140 bool m_insightSelectorsHasBeenSet =
false;
141 bool m_eventDataStoreHasBeenSet =
false;
142 bool m_insightsDestinationHasBeenSet =
false;
PutInsightSelectorsRequest & WithTrailName(TrailNameT &&value)
const Aws::String & GetTrailName() const
void SetTrailName(TrailNameT &&value)
PutInsightSelectorsRequest & WithInsightSelectors(InsightSelectorsT &&value)
const Aws::Vector< InsightSelector > & GetInsightSelectors() const
const Aws::String & GetEventDataStore() const
PutInsightSelectorsRequest & WithInsightsDestination(InsightsDestinationT &&value)
bool TrailNameHasBeenSet() const
bool InsightsDestinationHasBeenSet() const
const Aws::String & GetInsightsDestination() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool InsightSelectorsHasBeenSet() const
AWS_CLOUDTRAIL_API PutInsightSelectorsRequest()=default
void SetInsightsDestination(InsightsDestinationT &&value)
void SetEventDataStore(EventDataStoreT &&value)
PutInsightSelectorsRequest & AddInsightSelectors(InsightSelectorsT &&value)
void SetInsightSelectors(InsightSelectorsT &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
PutInsightSelectorsRequest & WithEventDataStore(EventDataStoreT &&value)
bool EventDataStoreHasBeenSet() const
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