/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudTrail { namespace Model { /** *

A storage lake of event data against which you can run complex SQL-based * queries. An event data store can include events that you have logged on your * account from the last 90 to 2557 days (about three months to up to seven years). * To select events for an event data store, use advanced * event selectors.

See Also:

AWS * API Reference

*/ class EventDataStore { public: AWS_CLOUDTRAIL_API EventDataStore(); AWS_CLOUDTRAIL_API EventDataStore(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDTRAIL_API EventDataStore& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the event data store.

*/ inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; } /** *

The ARN of the event data store.

*/ inline bool EventDataStoreArnHasBeenSet() const { return m_eventDataStoreArnHasBeenSet; } /** *

The ARN of the event data store.

*/ inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = value; } /** *

The ARN of the event data store.

*/ inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = std::move(value); } /** *

The ARN of the event data store.

*/ inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn.assign(value); } /** *

The ARN of the event data store.

*/ inline EventDataStore& WithEventDataStoreArn(const Aws::String& value) { SetEventDataStoreArn(value); return *this;} /** *

The ARN of the event data store.

*/ inline EventDataStore& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;} /** *

The ARN of the event data store.

*/ inline EventDataStore& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;} /** *

The name of the event data store.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the event data store.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the event data store.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the event data store.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the event data store.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the event data store.

*/ inline EventDataStore& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the event data store.

*/ inline EventDataStore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the event data store.

*/ inline EventDataStore& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_eventDataStoreArn; bool m_eventDataStoreArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws