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;
47 template<
typename EventDataStoreArnT = Aws::String>
48 void SetEventDataStoreArn(EventDataStoreArnT&& value) { m_eventDataStoreArnHasBeenSet =
true; m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value); }
49 template<
typename EventDataStoreArnT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
78 template<
typename AdvancedEventSelectorsT = Aws::Vector<AdvancedEventSelector>>
79 void SetAdvancedEventSelectors(AdvancedEventSelectorsT&& value) { m_advancedEventSelectorsHasBeenSet =
true; m_advancedEventSelectors = std::forward<AdvancedEventSelectorsT>(value); }
80 template<
typename AdvancedEventSelectorsT = Aws::Vector<AdvancedEventSelector>>
82 template<
typename AdvancedEventSelectorsT = AdvancedEventSelector>
92 inline void SetMultiRegionEnabled(
bool value) { m_multiRegionEnabledHasBeenSet =
true; m_multiRegionEnabled = value; }
102 inline void SetOrganizationEnabled(
bool value) { m_organizationEnabledHasBeenSet =
true; m_organizationEnabled = value; }
111 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
129 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
130 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
131 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
142 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
143 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
144 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
156 template<
typename KmsKeyIdT = Aws::String>
157 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
158 template<
typename KmsKeyIdT = Aws::String>
191 template<
typename FederationRoleArnT = Aws::String>
192 void SetFederationRoleArn(FederationRoleArnT&& value) { m_federationRoleArnHasBeenSet =
true; m_federationRoleArn = std::forward<FederationRoleArnT>(value); }
193 template<
typename FederationRoleArnT = Aws::String>
204 template<
typename PartitionKeysT = Aws::Vector<PartitionKey>>
205 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
206 template<
typename PartitionKeysT = Aws::Vector<PartitionKey>>
208 template<
typename PartitionKeysT = PartitionKey>
215 template<
typename RequestIdT = Aws::String>
216 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
217 template<
typename RequestIdT = Aws::String>
223 bool m_eventDataStoreArnHasBeenSet =
false;
226 bool m_nameHasBeenSet =
false;
229 bool m_statusHasBeenSet =
false;
232 bool m_advancedEventSelectorsHasBeenSet =
false;
234 bool m_multiRegionEnabled{
false};
235 bool m_multiRegionEnabledHasBeenSet =
false;
237 bool m_organizationEnabled{
false};
238 bool m_organizationEnabledHasBeenSet =
false;
240 int m_retentionPeriod{0};
241 bool m_retentionPeriodHasBeenSet =
false;
243 bool m_terminationProtectionEnabled{
false};
244 bool m_terminationProtectionEnabledHasBeenSet =
false;
247 bool m_createdTimestampHasBeenSet =
false;
250 bool m_updatedTimestampHasBeenSet =
false;
253 bool m_kmsKeyIdHasBeenSet =
false;
256 bool m_billingModeHasBeenSet =
false;
259 bool m_federationStatusHasBeenSet =
false;
262 bool m_federationRoleArnHasBeenSet =
false;
265 bool m_partitionKeysHasBeenSet =
false;
268 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
GetEventDataStoreResult & WithRequestId(RequestIdT &&value)
GetEventDataStoreResult & WithMultiRegionEnabled(bool value)
GetEventDataStoreResult & AddAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
EventDataStoreStatus GetStatus() const
FederationStatus GetFederationStatus() const
void SetAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
GetEventDataStoreResult & WithTerminationProtectionEnabled(bool value)
GetEventDataStoreResult & WithEventDataStoreArn(EventDataStoreArnT &&value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
GetEventDataStoreResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetEventDataStoreResult & WithStatus(EventDataStoreStatus value)
void SetBillingMode(BillingMode value)
BillingMode GetBillingMode() const
const Aws::String & GetName() const
bool GetMultiRegionEnabled() const
void SetStatus(EventDataStoreStatus value)
GetEventDataStoreResult & WithFederationRoleArn(FederationRoleArnT &&value)
GetEventDataStoreResult & WithName(NameT &&value)
void SetTerminationProtectionEnabled(bool value)
bool GetOrganizationEnabled() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CLOUDTRAIL_API GetEventDataStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetTerminationProtectionEnabled() const
GetEventDataStoreResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::String & GetFederationRoleArn() const
const Aws::Vector< PartitionKey > & GetPartitionKeys() const
void SetFederationStatus(FederationStatus value)
AWS_CLOUDTRAIL_API GetEventDataStoreResult()=default
GetEventDataStoreResult & WithPartitionKeys(PartitionKeysT &&value)
GetEventDataStoreResult & AddPartitionKeys(PartitionKeysT &&value)
void SetName(NameT &&value)
void SetMultiRegionEnabled(bool value)
void SetRequestId(RequestIdT &&value)
void SetOrganizationEnabled(bool value)
void SetPartitionKeys(PartitionKeysT &&value)
GetEventDataStoreResult & WithRetentionPeriod(int value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
GetEventDataStoreResult & WithOrganizationEnabled(bool value)
AWS_CLOUDTRAIL_API GetEventDataStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetEventDataStoreResult & WithBillingMode(BillingMode value)
void SetEventDataStoreArn(EventDataStoreArnT &&value)
const Aws::String & GetRequestId() const
GetEventDataStoreResult & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetEventDataStoreArn() const
void SetFederationRoleArn(FederationRoleArnT &&value)
int GetRetentionPeriod() const
GetEventDataStoreResult & WithAdvancedEventSelectors(AdvancedEventSelectorsT &&value)
GetEventDataStoreResult & WithFederationStatus(FederationStatus value)
const Aws::String & GetKmsKeyId() const
void SetRetentionPeriod(int 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