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

A signal to a camera node to start or stop processing video.

See * Also:

AWS * API Reference

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

The camera node's name, from the application manifest.

*/ inline const Aws::String& GetNodeInstanceId() const{ return m_nodeInstanceId; } /** *

The camera node's name, from the application manifest.

*/ inline bool NodeInstanceIdHasBeenSet() const { return m_nodeInstanceIdHasBeenSet; } /** *

The camera node's name, from the application manifest.

*/ inline void SetNodeInstanceId(const Aws::String& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = value; } /** *

The camera node's name, from the application manifest.

*/ inline void SetNodeInstanceId(Aws::String&& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = std::move(value); } /** *

The camera node's name, from the application manifest.

*/ inline void SetNodeInstanceId(const char* value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId.assign(value); } /** *

The camera node's name, from the application manifest.

*/ inline NodeSignal& WithNodeInstanceId(const Aws::String& value) { SetNodeInstanceId(value); return *this;} /** *

The camera node's name, from the application manifest.

*/ inline NodeSignal& WithNodeInstanceId(Aws::String&& value) { SetNodeInstanceId(std::move(value)); return *this;} /** *

The camera node's name, from the application manifest.

*/ inline NodeSignal& WithNodeInstanceId(const char* value) { SetNodeInstanceId(value); return *this;} /** *

The signal value.

*/ inline const NodeSignalValue& GetSignal() const{ return m_signal; } /** *

The signal value.

*/ inline bool SignalHasBeenSet() const { return m_signalHasBeenSet; } /** *

The signal value.

*/ inline void SetSignal(const NodeSignalValue& value) { m_signalHasBeenSet = true; m_signal = value; } /** *

The signal value.

*/ inline void SetSignal(NodeSignalValue&& value) { m_signalHasBeenSet = true; m_signal = std::move(value); } /** *

The signal value.

*/ inline NodeSignal& WithSignal(const NodeSignalValue& value) { SetSignal(value); return *this;} /** *

The signal value.

*/ inline NodeSignal& WithSignal(NodeSignalValue&& value) { SetSignal(std::move(value)); return *this;} private: Aws::String m_nodeInstanceId; bool m_nodeInstanceIdHasBeenSet = false; NodeSignalValue m_signal; bool m_signalHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws