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>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
74 template<
typename AdvancedEventSelectorsT = Aws::Vector<AdvancedEventSelector>>
75 void SetAdvancedEventSelectors(AdvancedEventSelectorsT&& value) { m_advancedEventSelectorsHasBeenSet =
true; m_advancedEventSelectors = std::forward<AdvancedEventSelectorsT>(value); }
76 template<
typename AdvancedEventSelectorsT = Aws::Vector<AdvancedEventSelector>>
78 template<
typename AdvancedEventSelectorsT = AdvancedEventSelector>
89 inline void SetMultiRegionEnabled(
bool value) { m_multiRegionEnabledHasBeenSet =
true; m_multiRegionEnabled = value; }
100 inline void SetOrganizationEnabled(
bool value) { m_organizationEnabledHasBeenSet =
true; m_organizationEnabled = value; }
124 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
144 template<
typename TagsListT = Aws::Vector<Tag>>
145 void SetTagsList(TagsListT&& value) { m_tagsListHasBeenSet =
true; m_tagsList = std::forward<TagsListT>(value); }
146 template<
typename TagsListT = Aws::Vector<Tag>>
148 template<
typename TagsListT = Tag>
176 template<
typename KmsKeyIdT = Aws::String>
177 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
178 template<
typename KmsKeyIdT = Aws::String>
189 inline void SetStartIngestion(
bool value) { m_startIngestionHasBeenSet =
true; m_startIngestion = value; }
219 bool m_nameHasBeenSet =
false;
222 bool m_advancedEventSelectorsHasBeenSet =
false;
224 bool m_multiRegionEnabled{
false};
225 bool m_multiRegionEnabledHasBeenSet =
false;
227 bool m_organizationEnabled{
false};
228 bool m_organizationEnabledHasBeenSet =
false;
230 int m_retentionPeriod{0};
231 bool m_retentionPeriodHasBeenSet =
false;
233 bool m_terminationProtectionEnabled{
false};
234 bool m_terminationProtectionEnabledHasBeenSet =
false;
237 bool m_tagsListHasBeenSet =
false;
240 bool m_kmsKeyIdHasBeenSet =
false;
242 bool m_startIngestion{
false};
243 bool m_startIngestionHasBeenSet =
false;
246 bool m_billingModeHasBeenSet =
false;
bool GetOrganizationEnabled() const
bool NameHasBeenSet() const
CreateEventDataStoreRequest & AddAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
CreateEventDataStoreRequest & WithOrganizationEnabled(bool value)
void SetName(NameT &&value)
CreateEventDataStoreRequest & WithMultiRegionEnabled(bool value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetOrganizationEnabled(bool value)
const Aws::Vector< Tag > & GetTagsList() const
void SetRetentionPeriod(int value)
const Aws::String & GetKmsKeyId() const
CreateEventDataStoreRequest & WithTerminationProtectionEnabled(bool value)
bool StartIngestionHasBeenSet() const
const Aws::String & GetName() const
bool TerminationProtectionEnabledHasBeenSet() const
void SetAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
CreateEventDataStoreRequest & WithTagsList(TagsListT &&value)
bool GetMultiRegionEnabled() const
void SetBillingMode(BillingMode value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
bool GetTerminationProtectionEnabled() const
CreateEventDataStoreRequest & WithBillingMode(BillingMode value)
bool OrganizationEnabledHasBeenSet() const
CreateEventDataStoreRequest & WithAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMultiRegionEnabled(bool value)
CreateEventDataStoreRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool BillingModeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTerminationProtectionEnabled(bool value)
CreateEventDataStoreRequest & WithName(NameT &&value)
bool RetentionPeriodHasBeenSet() const
bool MultiRegionEnabledHasBeenSet() const
void SetStartIngestion(bool value)
CreateEventDataStoreRequest & AddTagsList(TagsListT &&value)
bool GetStartIngestion() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_CLOUDTRAIL_API CreateEventDataStoreRequest()=default
void SetTagsList(TagsListT &&value)
CreateEventDataStoreRequest & WithStartIngestion(bool value)
bool TagsListHasBeenSet() const
bool AdvancedEventSelectorsHasBeenSet() const
BillingMode GetBillingMode() const
int GetRetentionPeriod() const
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