/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A "DatasetAction" object that specifies how data set contents are
* automatically created.See Also:
AWS
* API Reference
The name of the data set action by which data set contents are automatically * created.
*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *The name of the data set action by which data set contents are automatically * created.
*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *The name of the data set action by which data set contents are automatically * created.
*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *The name of the data set action by which data set contents are automatically * created.
*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *The name of the data set action by which data set contents are automatically * created.
*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *The name of the data set action by which data set contents are automatically * created.
*/ inline DatasetAction& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *The name of the data set action by which data set contents are automatically * created.
*/ inline DatasetAction& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *The name of the data set action by which data set contents are automatically * created.
*/ inline DatasetAction& WithActionName(const char* value) { SetActionName(value); return *this;} /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline const SqlQueryDatasetAction& GetQueryAction() const{ return m_queryAction; } /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline bool QueryActionHasBeenSet() const { return m_queryActionHasBeenSet; } /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline void SetQueryAction(const SqlQueryDatasetAction& value) { m_queryActionHasBeenSet = true; m_queryAction = value; } /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline void SetQueryAction(SqlQueryDatasetAction&& value) { m_queryActionHasBeenSet = true; m_queryAction = std::move(value); } /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline DatasetAction& WithQueryAction(const SqlQueryDatasetAction& value) { SetQueryAction(value); return *this;} /** *An "SqlQueryDatasetAction" object that uses an SQL query to automatically * create data set contents.
*/ inline DatasetAction& WithQueryAction(SqlQueryDatasetAction&& value) { SetQueryAction(std::move(value)); return *this;} /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline const ContainerDatasetAction& GetContainerAction() const{ return m_containerAction; } /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline bool ContainerActionHasBeenSet() const { return m_containerActionHasBeenSet; } /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline void SetContainerAction(const ContainerDatasetAction& value) { m_containerActionHasBeenSet = true; m_containerAction = value; } /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline void SetContainerAction(ContainerDatasetAction&& value) { m_containerActionHasBeenSet = true; m_containerAction = std::move(value); } /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline DatasetAction& WithContainerAction(const ContainerDatasetAction& value) { SetContainerAction(value); return *this;} /** *Information which allows the system to run a containerized application in * order to create the data set contents. The application must be in a Docker * container along with any needed support libraries.
*/ inline DatasetAction& WithContainerAction(ContainerDatasetAction&& value) { SetContainerAction(std::move(value)); return *this;} private: Aws::String m_actionName; bool m_actionNameHasBeenSet; SqlQueryDatasetAction m_queryAction; bool m_queryActionHasBeenSet; ContainerDatasetAction m_containerAction; bool m_containerActionHasBeenSet; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws