7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/EventDataStoreStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudtrail/model/BillingMode.h>
13#include <aws/cloudtrail/model/AdvancedEventSelector.h>
14#include <aws/cloudtrail/model/Tag.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
61 inline void SetName(
const char* value) { m_name.assign(value); }
176 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
198 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
213 bool m_multiRegionEnabled;
215 bool m_organizationEnabled;
217 int m_retentionPeriod;
219 bool m_terminationProtectionEnabled;
CreateEventDataStoreResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetKmsKeyId() const
CreateEventDataStoreResult & AddTagsList(Tag &&value)
CreateEventDataStoreResult & WithBillingMode(BillingMode &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
CreateEventDataStoreResult & AddTagsList(const Tag &value)
void SetName(const Aws::String &value)
bool GetTerminationProtectionEnabled() const
CreateEventDataStoreResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
CreateEventDataStoreResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetRequestId(const char *value)
CreateEventDataStoreResult & WithOrganizationEnabled(bool value)
const Aws::String & GetEventDataStoreArn() const
CreateEventDataStoreResult & WithMultiRegionEnabled(bool value)
AWS_CLOUDTRAIL_API CreateEventDataStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyId(Aws::String &&value)
void SetEventDataStoreArn(Aws::String &&value)
void SetMultiRegionEnabled(bool value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetStatus(const EventDataStoreStatus &value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
CreateEventDataStoreResult & WithRequestId(const char *value)
const EventDataStoreStatus & GetStatus() const
CreateEventDataStoreResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
void SetKmsKeyId(const Aws::String &value)
CreateEventDataStoreResult & WithName(Aws::String &&value)
void SetEventDataStoreArn(const Aws::String &value)
bool GetMultiRegionEnabled() const
void SetTagsList(const Aws::Vector< Tag > &value)
CreateEventDataStoreResult & WithName(const char *value)
void SetName(const char *value)
const Aws::Vector< Tag > & GetTagsList() const
int GetRetentionPeriod() const
void SetRetentionPeriod(int value)
CreateEventDataStoreResult & WithTagsList(Aws::Vector< Tag > &&value)
CreateEventDataStoreResult & WithKmsKeyId(const char *value)
bool GetOrganizationEnabled() const
CreateEventDataStoreResult & WithEventDataStoreArn(Aws::String &&value)
CreateEventDataStoreResult & WithName(const Aws::String &value)
CreateEventDataStoreResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
void SetKmsKeyId(const char *value)
void SetBillingMode(const BillingMode &value)
CreateEventDataStoreResult & WithEventDataStoreArn(const Aws::String &value)
void SetOrganizationEnabled(bool value)
CreateEventDataStoreResult & WithRequestId(Aws::String &&value)
CreateEventDataStoreResult & WithKmsKeyId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetTagsList(Aws::Vector< Tag > &&value)
CreateEventDataStoreResult & WithRequestId(const Aws::String &value)
void SetStatus(EventDataStoreStatus &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetBillingMode(BillingMode &&value)
void SetEventDataStoreArn(const char *value)
const BillingMode & GetBillingMode() const
AWS_CLOUDTRAIL_API CreateEventDataStoreResult()
void SetRequestId(const Aws::String &value)
void SetName(Aws::String &&value)
CreateEventDataStoreResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
CreateEventDataStoreResult & WithBillingMode(const BillingMode &value)
const Aws::String & GetRequestId() const
CreateEventDataStoreResult & WithTerminationProtectionEnabled(bool value)
CreateEventDataStoreResult & WithStatus(EventDataStoreStatus &&value)
CreateEventDataStoreResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
CreateEventDataStoreResult & WithRetentionPeriod(int value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
CreateEventDataStoreResult & WithEventDataStoreArn(const char *value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateEventDataStoreResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
CreateEventDataStoreResult & WithTagsList(const Aws::Vector< Tag > &value)
CreateEventDataStoreResult & WithKmsKeyId(const Aws::String &value)
CreateEventDataStoreResult & WithStatus(const EventDataStoreStatus &value)
AWS_CLOUDTRAIL_API CreateEventDataStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTerminationProtectionEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue