7#include <aws/cloudtrail-data/CloudTrailData_EXPORTS.h>
8#include <aws/cloudtrail-data/CloudTrailDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/cloudtrail-data/model/AuditEvent.h>
20namespace CloudTrailData
66 inline void SetChannelArn(
const char* value) { m_channelArnHasBeenSet =
true; m_channelArn.assign(value); }
82 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
90 bool m_auditEventsHasBeenSet =
false;
93 bool m_channelArnHasBeenSet =
false;
96 bool m_externalIdHasBeenSet =
false;
AWS_CLOUDTRAILDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CLOUDTRAILDATA_API PutAuditEventsRequest()
void SetExternalId(Aws::String &&value)
PutAuditEventsRequest & WithChannelArn(Aws::String &&value)
PutAuditEventsRequest & WithChannelArn(const Aws::String &value)
PutAuditEventsRequest & WithAuditEvents(const Aws::Vector< AuditEvent > &value)
void SetChannelArn(const Aws::String &value)
const Aws::String & GetChannelArn() const
void SetAuditEvents(Aws::Vector< AuditEvent > &&value)
bool AuditEventsHasBeenSet() const
void SetChannelArn(Aws::String &&value)
PutAuditEventsRequest & WithExternalId(const char *value)
const Aws::Vector< AuditEvent > & GetAuditEvents() const
PutAuditEventsRequest & WithAuditEvents(Aws::Vector< AuditEvent > &&value)
PutAuditEventsRequest & WithExternalId(const Aws::String &value)
bool ExternalIdHasBeenSet() const
bool ChannelArnHasBeenSet() const
PutAuditEventsRequest & WithChannelArn(const char *value)
void SetChannelArn(const char *value)
void SetAuditEvents(const Aws::Vector< AuditEvent > &value)
void SetExternalId(const Aws::String &value)
PutAuditEventsRequest & AddAuditEvents(const AuditEvent &value)
virtual const char * GetServiceRequestName() const override
PutAuditEventsRequest & WithExternalId(Aws::String &&value)
const Aws::String & GetExternalId() const
PutAuditEventsRequest & AddAuditEvents(AuditEvent &&value)
void SetExternalId(const char *value)
AWS_CLOUDTRAILDATA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector