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/FederationStatus.h>
14#include <aws/cloudtrail/model/AdvancedEventSelector.h>
15#include <aws/cloudtrail/model/PartitionKey.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
62 inline void SetName(
const char* value) { m_name.assign(value); }
164 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
231 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
246 bool m_multiRegionEnabled;
248 bool m_organizationEnabled;
250 int m_retentionPeriod;
252 bool m_terminationProtectionEnabled;
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
void SetRequestId(Aws::String &&value)
GetEventDataStoreResult & WithMultiRegionEnabled(bool value)
GetEventDataStoreResult & AddPartitionKeys(const PartitionKey &value)
GetEventDataStoreResult & WithBillingMode(const BillingMode &value)
GetEventDataStoreResult & WithKmsKeyId(Aws::String &&value)
GetEventDataStoreResult & WithTerminationProtectionEnabled(bool value)
void SetKmsKeyId(const Aws::String &value)
GetEventDataStoreResult & WithPartitionKeys(Aws::Vector< PartitionKey > &&value)
void SetKmsKeyId(Aws::String &&value)
GetEventDataStoreResult & WithName(const char *value)
void SetKmsKeyId(const char *value)
void SetFederationRoleArn(const char *value)
void SetRequestId(const char *value)
void SetFederationRoleArn(const Aws::String &value)
GetEventDataStoreResult & WithName(const Aws::String &value)
void SetName(const char *value)
GetEventDataStoreResult & WithEventDataStoreArn(Aws::String &&value)
const Aws::String & GetName() const
void SetStatus(const EventDataStoreStatus &value)
bool GetMultiRegionEnabled() const
GetEventDataStoreResult & AddPartitionKeys(PartitionKey &&value)
GetEventDataStoreResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithStatus(EventDataStoreStatus &&value)
void SetName(const Aws::String &value)
void SetTerminationProtectionEnabled(bool value)
GetEventDataStoreResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
bool GetOrganizationEnabled() const
GetEventDataStoreResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CLOUDTRAIL_API GetEventDataStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventDataStoreResult & WithFederationStatus(FederationStatus &&value)
GetEventDataStoreResult & WithKmsKeyId(const Aws::String &value)
bool GetTerminationProtectionEnabled() const
const Aws::String & GetFederationRoleArn() const
const Aws::Vector< PartitionKey > & GetPartitionKeys() const
void SetPartitionKeys(Aws::Vector< PartitionKey > &&value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
GetEventDataStoreResult & WithEventDataStoreArn(const Aws::String &value)
void SetEventDataStoreArn(const Aws::String &value)
GetEventDataStoreResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithName(Aws::String &&value)
GetEventDataStoreResult & WithPartitionKeys(const Aws::Vector< PartitionKey > &value)
const BillingMode & GetBillingMode() const
GetEventDataStoreResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
GetEventDataStoreResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetPartitionKeys(const Aws::Vector< PartitionKey > &value)
void SetMultiRegionEnabled(bool value)
GetEventDataStoreResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetEventDataStoreResult & WithKmsKeyId(const char *value)
void SetEventDataStoreArn(const char *value)
void SetOrganizationEnabled(bool value)
void SetStatus(EventDataStoreStatus &&value)
GetEventDataStoreResult & WithRetentionPeriod(int value)
GetEventDataStoreResult & WithOrganizationEnabled(bool value)
AWS_CLOUDTRAIL_API GetEventDataStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBillingMode(BillingMode &&value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithBillingMode(BillingMode &&value)
GetEventDataStoreResult & WithFederationRoleArn(const char *value)
GetEventDataStoreResult & WithFederationStatus(const FederationStatus &value)
GetEventDataStoreResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const FederationStatus & GetFederationStatus() const
void SetName(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetEventDataStoreArn() const
GetEventDataStoreResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
const EventDataStoreStatus & GetStatus() const
int GetRetentionPeriod() const
GetEventDataStoreResult & WithEventDataStoreArn(const char *value)
AWS_CLOUDTRAIL_API GetEventDataStoreResult()
void SetEventDataStoreArn(Aws::String &&value)
void SetBillingMode(const BillingMode &value)
GetEventDataStoreResult & WithRequestId(const char *value)
GetEventDataStoreResult & WithFederationRoleArn(const Aws::String &value)
GetEventDataStoreResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetFederationStatus(FederationStatus &&value)
const Aws::String & GetKmsKeyId() const
void SetFederationStatus(const FederationStatus &value)
GetEventDataStoreResult & WithStatus(const EventDataStoreStatus &value)
void SetFederationRoleArn(Aws::String &&value)
void SetRetentionPeriod(int value)
GetEventDataStoreResult & WithFederationRoleArn(Aws::String &&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