/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { /** *

Information about the action that automatically creates the dataset's * contents.

See Also:

AWS * API Reference

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

The name of the action that automatically creates the dataset's contents.

*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *

The name of the action that automatically creates the dataset's contents.

*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *

The name of the action that automatically creates the dataset's contents.

*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *

The name of the action that automatically creates the dataset's contents.

*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *

The name of the action that automatically creates the dataset's contents.

*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *

The name of the action that automatically creates the dataset's contents.

*/ inline DatasetActionSummary& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *

The name of the action that automatically creates the dataset's contents.

*/ inline DatasetActionSummary& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *

The name of the action that automatically creates the dataset's contents.

*/ inline DatasetActionSummary& WithActionName(const char* value) { SetActionName(value); return *this;} /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline const DatasetActionType& GetActionType() const{ return m_actionType; } /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline void SetActionType(const DatasetActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; } /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline void SetActionType(DatasetActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); } /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline DatasetActionSummary& WithActionType(const DatasetActionType& value) { SetActionType(value); return *this;} /** *

The type of action by which the dataset's contents are automatically * created.

*/ inline DatasetActionSummary& WithActionType(DatasetActionType&& value) { SetActionType(std::move(value)); return *this;} private: Aws::String m_actionName; bool m_actionNameHasBeenSet = false; DatasetActionType m_actionType; bool m_actionTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws