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>
49 inline void SetEventDataStore(
const char* value) { m_eventDataStoreHasBeenSet =
true; m_eventDataStore.assign(value); }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
92 inline void SetMultiRegionEnabled(
bool value) { m_multiRegionEnabledHasBeenSet =
true; m_multiRegionEnabled = value; }
106 inline void SetOrganizationEnabled(
bool value) { m_organizationEnabledHasBeenSet =
true; m_organizationEnabled = value; }
129 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
170 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
210 bool m_eventDataStoreHasBeenSet =
false;
213 bool m_nameHasBeenSet =
false;
216 bool m_advancedEventSelectorsHasBeenSet =
false;
218 bool m_multiRegionEnabled;
219 bool m_multiRegionEnabledHasBeenSet =
false;
221 bool m_organizationEnabled;
222 bool m_organizationEnabledHasBeenSet =
false;
224 int m_retentionPeriod;
225 bool m_retentionPeriodHasBeenSet =
false;
227 bool m_terminationProtectionEnabled;
228 bool m_terminationProtectionEnabledHasBeenSet =
false;
231 bool m_kmsKeyIdHasBeenSet =
false;
234 bool m_billingModeHasBeenSet =
false;
void SetKmsKeyId(Aws::String &&value)
UpdateEventDataStoreRequest & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
bool GetMultiRegionEnabled() const
void SetName(const char *value)
void SetKmsKeyId(const char *value)
UpdateEventDataStoreRequest & WithEventDataStore(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetKmsKeyId() const
UpdateEventDataStoreRequest & WithEventDataStore(const char *value)
UpdateEventDataStoreRequest & WithName(const Aws::String &value)
bool BillingModeHasBeenSet() const
bool TerminationProtectionEnabledHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEventDataStoreRequest & WithName(const char *value)
UpdateEventDataStoreRequest & WithMultiRegionEnabled(bool value)
bool OrganizationEnabledHasBeenSet() const
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
UpdateEventDataStoreRequest & WithKmsKeyId(const Aws::String &value)
void SetEventDataStore(Aws::String &&value)
const Aws::String & GetEventDataStore() const
virtual const char * GetServiceRequestName() const override
UpdateEventDataStoreRequest & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
void SetBillingMode(const BillingMode &value)
UpdateEventDataStoreRequest & WithBillingMode(const BillingMode &value)
bool RetentionPeriodHasBeenSet() const
void SetEventDataStore(const Aws::String &value)
UpdateEventDataStoreRequest & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
bool GetTerminationProtectionEnabled() const
UpdateEventDataStoreRequest & WithOrganizationEnabled(bool value)
void SetOrganizationEnabled(bool value)
const BillingMode & GetBillingMode() const
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
void SetEventDataStore(const char *value)
bool MultiRegionEnabledHasBeenSet() const
const Aws::String & GetName() const
void SetKmsKeyId(const Aws::String &value)
UpdateEventDataStoreRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
UpdateEventDataStoreRequest & WithTerminationProtectionEnabled(bool value)
void SetTerminationProtectionEnabled(bool value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
UpdateEventDataStoreRequest & WithBillingMode(BillingMode &&value)
bool EventDataStoreHasBeenSet() const
int GetRetentionPeriod() const
bool AdvancedEventSelectorsHasBeenSet() const
void SetMultiRegionEnabled(bool value)
UpdateEventDataStoreRequest & WithKmsKeyId(const char *value)
UpdateEventDataStoreRequest & WithKmsKeyId(Aws::String &&value)
UpdateEventDataStoreRequest & WithEventDataStore(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
bool KmsKeyIdHasBeenSet() const
UpdateEventDataStoreRequest & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
void SetName(Aws::String &&value)
void SetRetentionPeriod(int value)
bool GetOrganizationEnabled() const
void SetBillingMode(BillingMode &&value)
AWS_CLOUDTRAIL_API UpdateEventDataStoreRequest()
UpdateEventDataStoreRequest & 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