7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/BillingMode.h>
12#include <aws/cloudtrail/model/AdvancedEventSelector.h>
13#include <aws/cloudtrail/model/Tag.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetMultiRegionEnabled(
bool value) { m_multiRegionEnabledHasBeenSet =
true; m_multiRegionEnabled = value; }
102 inline void SetOrganizationEnabled(
bool value) { m_organizationEnabledHasBeenSet =
true; m_organizationEnabled = value; }
126 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
180 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
193 inline void SetStartIngestion(
bool value) { m_startIngestionHasBeenSet =
true; m_startIngestion = value; }
225 bool m_nameHasBeenSet =
false;
228 bool m_advancedEventSelectorsHasBeenSet =
false;
230 bool m_multiRegionEnabled;
231 bool m_multiRegionEnabledHasBeenSet =
false;
233 bool m_organizationEnabled;
234 bool m_organizationEnabledHasBeenSet =
false;
236 int m_retentionPeriod;
237 bool m_retentionPeriodHasBeenSet =
false;
239 bool m_terminationProtectionEnabled;
240 bool m_terminationProtectionEnabledHasBeenSet =
false;
243 bool m_tagsListHasBeenSet =
false;
246 bool m_kmsKeyIdHasBeenSet =
false;
248 bool m_startIngestion;
249 bool m_startIngestionHasBeenSet =
false;
252 bool m_billingModeHasBeenSet =
false;
bool GetOrganizationEnabled() const
const BillingMode & GetBillingMode() const
bool NameHasBeenSet() const
CreateEventDataStoreRequest & WithOrganizationEnabled(bool value)
CreateEventDataStoreRequest & WithMultiRegionEnabled(bool value)
CreateEventDataStoreRequest & WithName(Aws::String &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
CreateEventDataStoreRequest & WithKmsKeyId(const Aws::String &value)
void SetOrganizationEnabled(bool value)
void SetName(const char *value)
const Aws::Vector< Tag > & GetTagsList() const
void SetTagsList(Aws::Vector< Tag > &&value)
void SetRetentionPeriod(int value)
const Aws::String & GetKmsKeyId() const
CreateEventDataStoreRequest & WithTerminationProtectionEnabled(bool value)
bool StartIngestionHasBeenSet() const
CreateEventDataStoreRequest & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
void SetName(const Aws::String &value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
CreateEventDataStoreRequest & WithName(const Aws::String &value)
CreateEventDataStoreRequest & AddTagsList(Tag &&value)
const Aws::String & GetName() const
bool TerminationProtectionEnabledHasBeenSet() const
void SetTagsList(const Aws::Vector< Tag > &value)
CreateEventDataStoreRequest & WithBillingMode(const BillingMode &value)
CreateEventDataStoreRequest & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
CreateEventDataStoreRequest & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
CreateEventDataStoreRequest & WithKmsKeyId(Aws::String &&value)
AWS_CLOUDTRAIL_API CreateEventDataStoreRequest()
bool GetMultiRegionEnabled() const
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
CreateEventDataStoreRequest & AddTagsList(const Tag &value)
bool GetTerminationProtectionEnabled() const
bool OrganizationEnabledHasBeenSet() const
CreateEventDataStoreRequest & WithTagsList(const Aws::Vector< Tag > &value)
CreateEventDataStoreRequest & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMultiRegionEnabled(bool value)
void SetKmsKeyId(const Aws::String &value)
void SetBillingMode(BillingMode &&value)
bool BillingModeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTerminationProtectionEnabled(bool value)
void SetKmsKeyId(const char *value)
bool RetentionPeriodHasBeenSet() const
bool MultiRegionEnabledHasBeenSet() const
void SetBillingMode(const BillingMode &value)
void SetStartIngestion(bool value)
bool GetStartIngestion() const
CreateEventDataStoreRequest & WithName(const char *value)
CreateEventDataStoreRequest & WithStartIngestion(bool value)
void SetKmsKeyId(Aws::String &&value)
bool TagsListHasBeenSet() const
bool AdvancedEventSelectorsHasBeenSet() const
CreateEventDataStoreRequest & WithBillingMode(BillingMode &&value)
CreateEventDataStoreRequest & WithKmsKeyId(const char *value)
void SetName(Aws::String &&value)
CreateEventDataStoreRequest & WithTagsList(Aws::Vector< Tag > &&value)
int GetRetentionPeriod() const
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
bool KmsKeyIdHasBeenSet() const
CreateEventDataStoreRequest & WithRetentionPeriod(int value)
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