/** * 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 DataExchange { namespace Model { /** *

What occurs after a certain event.

See Also:

AWS * API Reference

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

Details for the export revision to Amazon S3 action.

*/ inline const AutoExportRevisionToS3RequestDetails& GetExportRevisionToS3() const{ return m_exportRevisionToS3; } /** *

Details for the export revision to Amazon S3 action.

*/ inline bool ExportRevisionToS3HasBeenSet() const { return m_exportRevisionToS3HasBeenSet; } /** *

Details for the export revision to Amazon S3 action.

*/ inline void SetExportRevisionToS3(const AutoExportRevisionToS3RequestDetails& value) { m_exportRevisionToS3HasBeenSet = true; m_exportRevisionToS3 = value; } /** *

Details for the export revision to Amazon S3 action.

*/ inline void SetExportRevisionToS3(AutoExportRevisionToS3RequestDetails&& value) { m_exportRevisionToS3HasBeenSet = true; m_exportRevisionToS3 = std::move(value); } /** *

Details for the export revision to Amazon S3 action.

*/ inline Action& WithExportRevisionToS3(const AutoExportRevisionToS3RequestDetails& value) { SetExportRevisionToS3(value); return *this;} /** *

Details for the export revision to Amazon S3 action.

*/ inline Action& WithExportRevisionToS3(AutoExportRevisionToS3RequestDetails&& value) { SetExportRevisionToS3(std::move(value)); return *this;} private: AutoExportRevisionToS3RequestDetails m_exportRevisionToS3; bool m_exportRevisionToS3HasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws