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

Information about an action.

See Also:

AWS * API Reference

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

The action type.

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

The action type.

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

The action type.

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

The action type.

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

The action type.

*/ inline ActionSummary& WithActionType(const ActionType& value) { SetActionType(value); return *this;} /** *

The action type.

*/ inline ActionSummary& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;} private: ActionType m_actionType; bool m_actionTypeHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws