/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CloudTrail { namespace Model { /** */ class RestoreEventDataStoreRequest : public CloudTrailRequest { public: AWS_CLOUDTRAIL_API RestoreEventDataStoreRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RestoreEventDataStore"; } AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override; AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline const Aws::String& GetEventDataStore() const{ return m_eventDataStore; } /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline bool EventDataStoreHasBeenSet() const { return m_eventDataStoreHasBeenSet; } /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline void SetEventDataStore(const Aws::String& value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore = value; } /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline void SetEventDataStore(Aws::String&& value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore = std::move(value); } /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline void SetEventDataStore(const char* value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore.assign(value); } /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline RestoreEventDataStoreRequest& WithEventDataStore(const Aws::String& value) { SetEventDataStore(value); return *this;} /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline RestoreEventDataStoreRequest& WithEventDataStore(Aws::String&& value) { SetEventDataStore(std::move(value)); return *this;} /** *

The ARN (or the ID suffix of the ARN) of the event data store that you want * to restore.

*/ inline RestoreEventDataStoreRequest& WithEventDataStore(const char* value) { SetEventDataStore(value); return *this;} private: Aws::String m_eventDataStore; bool m_eventDataStoreHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws