/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Placeholder documentation for UpdateInputDeviceResponse

See Also:

* AWS * API Reference

*/ class UpdateInputDeviceResult { public: AWS_MEDIALIVE_API UpdateInputDeviceResult(); AWS_MEDIALIVE_API UpdateInputDeviceResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIALIVE_API UpdateInputDeviceResult& operator=(const Aws::AmazonWebServiceResult& result); /** * The unique ARN of the input device. */ inline const Aws::String& GetArn() const{ return m_arn; } /** * The unique ARN of the input device. */ inline void SetArn(const Aws::String& value) { m_arn = value; } /** * The unique ARN of the input device. */ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** * The unique ARN of the input device. */ inline void SetArn(const char* value) { m_arn.assign(value); } /** * The unique ARN of the input device. */ inline UpdateInputDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** * The unique ARN of the input device. */ inline UpdateInputDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** * The unique ARN of the input device. */ inline UpdateInputDeviceResult& WithArn(const char* value) { SetArn(value); return *this;} /** * The state of the connection between the input device and AWS. */ inline const InputDeviceConnectionState& GetConnectionState() const{ return m_connectionState; } /** * The state of the connection between the input device and AWS. */ inline void SetConnectionState(const InputDeviceConnectionState& value) { m_connectionState = value; } /** * The state of the connection between the input device and AWS. */ inline void SetConnectionState(InputDeviceConnectionState&& value) { m_connectionState = std::move(value); } /** * The state of the connection between the input device and AWS. */ inline UpdateInputDeviceResult& WithConnectionState(const InputDeviceConnectionState& value) { SetConnectionState(value); return *this;} /** * The state of the connection between the input device and AWS. */ inline UpdateInputDeviceResult& WithConnectionState(InputDeviceConnectionState&& value) { SetConnectionState(std::move(value)); return *this;} /** * The status of the action to synchronize the device configuration. If you change * the configuration of the input device (for example, the maximum bitrate), * MediaLive sends the new data to the device. The device might not update itself * immediately. SYNCED means the device has updated its configuration. SYNCING * means that it has not updated its configuration. */ inline const DeviceSettingsSyncState& GetDeviceSettingsSyncState() const{ return m_deviceSettingsSyncState; } /** * The status of the action to synchronize the device configuration. If you change * the configuration of the input device (for example, the maximum bitrate), * MediaLive sends the new data to the device. The device might not update itself * immediately. SYNCED means the device has updated its configuration. SYNCING * means that it has not updated its configuration. */ inline void SetDeviceSettingsSyncState(const DeviceSettingsSyncState& value) { m_deviceSettingsSyncState = value; } /** * The status of the action to synchronize the device configuration. If you change * the configuration of the input device (for example, the maximum bitrate), * MediaLive sends the new data to the device. The device might not update itself * immediately. SYNCED means the device has updated its configuration. SYNCING * means that it has not updated its configuration. */ inline void SetDeviceSettingsSyncState(DeviceSettingsSyncState&& value) { m_deviceSettingsSyncState = std::move(value); } /** * The status of the action to synchronize the device configuration. If you change * the configuration of the input device (for example, the maximum bitrate), * MediaLive sends the new data to the device. The device might not update itself * immediately. SYNCED means the device has updated its configuration. SYNCING * means that it has not updated its configuration. */ inline UpdateInputDeviceResult& WithDeviceSettingsSyncState(const DeviceSettingsSyncState& value) { SetDeviceSettingsSyncState(value); return *this;} /** * The status of the action to synchronize the device configuration. If you change * the configuration of the input device (for example, the maximum bitrate), * MediaLive sends the new data to the device. The device might not update itself * immediately. SYNCED means the device has updated its configuration. SYNCING * means that it has not updated its configuration. */ inline UpdateInputDeviceResult& WithDeviceSettingsSyncState(DeviceSettingsSyncState&& value) { SetDeviceSettingsSyncState(std::move(value)); return *this;} /** * The status of software on the input device. */ inline const DeviceUpdateStatus& GetDeviceUpdateStatus() const{ return m_deviceUpdateStatus; } /** * The status of software on the input device. */ inline void SetDeviceUpdateStatus(const DeviceUpdateStatus& value) { m_deviceUpdateStatus = value; } /** * The status of software on the input device. */ inline void SetDeviceUpdateStatus(DeviceUpdateStatus&& value) { m_deviceUpdateStatus = std::move(value); } /** * The status of software on the input device. */ inline UpdateInputDeviceResult& WithDeviceUpdateStatus(const DeviceUpdateStatus& value) { SetDeviceUpdateStatus(value); return *this;} /** * The status of software on the input device. */ inline UpdateInputDeviceResult& WithDeviceUpdateStatus(DeviceUpdateStatus&& value) { SetDeviceUpdateStatus(std::move(value)); return *this;} /** * Settings that describe an input device that is type HD. */ inline const InputDeviceHdSettings& GetHdDeviceSettings() const{ return m_hdDeviceSettings; } /** * Settings that describe an input device that is type HD. */ inline void SetHdDeviceSettings(const InputDeviceHdSettings& value) { m_hdDeviceSettings = value; } /** * Settings that describe an input device that is type HD. */ inline void SetHdDeviceSettings(InputDeviceHdSettings&& value) { m_hdDeviceSettings = std::move(value); } /** * Settings that describe an input device that is type HD. */ inline UpdateInputDeviceResult& WithHdDeviceSettings(const InputDeviceHdSettings& value) { SetHdDeviceSettings(value); return *this;} /** * Settings that describe an input device that is type HD. */ inline UpdateInputDeviceResult& WithHdDeviceSettings(InputDeviceHdSettings&& value) { SetHdDeviceSettings(std::move(value)); return *this;} /** * The unique ID of the input device. */ inline const Aws::String& GetId() const{ return m_id; } /** * The unique ID of the input device. */ inline void SetId(const Aws::String& value) { m_id = value; } /** * The unique ID of the input device. */ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** * The unique ID of the input device. */ inline void SetId(const char* value) { m_id.assign(value); } /** * The unique ID of the input device. */ inline UpdateInputDeviceResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** * The unique ID of the input device. */ inline UpdateInputDeviceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** * The unique ID of the input device. */ inline UpdateInputDeviceResult& WithId(const char* value) { SetId(value); return *this;} /** * The network MAC address of the input device. */ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** * The network MAC address of the input device. */ inline void SetMacAddress(const Aws::String& value) { m_macAddress = value; } /** * The network MAC address of the input device. */ inline void SetMacAddress(Aws::String&& value) { m_macAddress = std::move(value); } /** * The network MAC address of the input device. */ inline void SetMacAddress(const char* value) { m_macAddress.assign(value); } /** * The network MAC address of the input device. */ inline UpdateInputDeviceResult& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** * The network MAC address of the input device. */ inline UpdateInputDeviceResult& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** * The network MAC address of the input device. */ inline UpdateInputDeviceResult& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** * A name that you specify for the input device. */ inline const Aws::String& GetName() const{ return m_name; } /** * A name that you specify for the input device. */ inline void SetName(const Aws::String& value) { m_name = value; } /** * A name that you specify for the input device. */ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** * A name that you specify for the input device. */ inline void SetName(const char* value) { m_name.assign(value); } /** * A name that you specify for the input device. */ inline UpdateInputDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** * A name that you specify for the input device. */ inline UpdateInputDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** * A name that you specify for the input device. */ inline UpdateInputDeviceResult& WithName(const char* value) { SetName(value); return *this;} /** * The network settings for the input device. */ inline const InputDeviceNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; } /** * The network settings for the input device. */ inline void SetNetworkSettings(const InputDeviceNetworkSettings& value) { m_networkSettings = value; } /** * The network settings for the input device. */ inline void SetNetworkSettings(InputDeviceNetworkSettings&& value) { m_networkSettings = std::move(value); } /** * The network settings for the input device. */ inline UpdateInputDeviceResult& WithNetworkSettings(const InputDeviceNetworkSettings& value) { SetNetworkSettings(value); return *this;} /** * The network settings for the input device. */ inline UpdateInputDeviceResult& WithNetworkSettings(InputDeviceNetworkSettings&& value) { SetNetworkSettings(std::move(value)); return *this;} /** * The unique serial number of the input device. */ inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; } /** * The unique serial number of the input device. */ inline void SetSerialNumber(const Aws::String& value) { m_serialNumber = value; } /** * The unique serial number of the input device. */ inline void SetSerialNumber(Aws::String&& value) { m_serialNumber = std::move(value); } /** * The unique serial number of the input device. */ inline void SetSerialNumber(const char* value) { m_serialNumber.assign(value); } /** * The unique serial number of the input device. */ inline UpdateInputDeviceResult& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;} /** * The unique serial number of the input device. */ inline UpdateInputDeviceResult& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;} /** * The unique serial number of the input device. */ inline UpdateInputDeviceResult& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;} /** * The type of the input device. */ inline const InputDeviceType& GetType() const{ return m_type; } /** * The type of the input device. */ inline void SetType(const InputDeviceType& value) { m_type = value; } /** * The type of the input device. */ inline void SetType(InputDeviceType&& value) { m_type = std::move(value); } /** * The type of the input device. */ inline UpdateInputDeviceResult& WithType(const InputDeviceType& value) { SetType(value); return *this;} /** * The type of the input device. */ inline UpdateInputDeviceResult& WithType(InputDeviceType&& value) { SetType(std::move(value)); return *this;} /** * Settings that describe an input device that is type UHD. */ inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const{ return m_uhdDeviceSettings; } /** * Settings that describe an input device that is type UHD. */ inline void SetUhdDeviceSettings(const InputDeviceUhdSettings& value) { m_uhdDeviceSettings = value; } /** * Settings that describe an input device that is type UHD. */ inline void SetUhdDeviceSettings(InputDeviceUhdSettings&& value) { m_uhdDeviceSettings = std::move(value); } /** * Settings that describe an input device that is type UHD. */ inline UpdateInputDeviceResult& WithUhdDeviceSettings(const InputDeviceUhdSettings& value) { SetUhdDeviceSettings(value); return *this;} /** * Settings that describe an input device that is type UHD. */ inline UpdateInputDeviceResult& WithUhdDeviceSettings(InputDeviceUhdSettings&& value) { SetUhdDeviceSettings(std::move(value)); return *this;} /** * A collection of key-value pairs. */ inline const Aws::Map& GetTags() const{ return m_tags; } /** * A collection of key-value pairs. */ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** * A collection of key-value pairs. */ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** * A collection of key-value pairs. */ inline UpdateInputDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateInputDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateInputDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateInputDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; InputDeviceConnectionState m_connectionState; DeviceSettingsSyncState m_deviceSettingsSyncState; DeviceUpdateStatus m_deviceUpdateStatus; InputDeviceHdSettings m_hdDeviceSettings; Aws::String m_id; Aws::String m_macAddress; Aws::String m_name; InputDeviceNetworkSettings m_networkSettings; Aws::String m_serialNumber; InputDeviceType m_type; InputDeviceUhdSettings m_uhdDeviceSettings; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace MediaLive } // namespace Aws