/** * 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 namespace Aws { namespace IoTFleetWise { namespace Model { /** */ class UpdateDecoderManifestRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API UpdateDecoderManifestRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateDecoderManifest"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the decoder manifest to update.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the decoder manifest to update.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the decoder manifest to update.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the decoder manifest to update.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the decoder manifest to update.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A brief description of the decoder manifest to update.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A brief description of the decoder manifest to update.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A brief description of the decoder manifest to update.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A brief description of the decoder manifest to update.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A brief description of the decoder manifest to update.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A brief description of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A brief description of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A brief description of the decoder manifest to update.

*/ inline UpdateDecoderManifestRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline const Aws::Vector& GetSignalDecodersToAdd() const{ return m_signalDecodersToAdd; } /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline bool SignalDecodersToAddHasBeenSet() const { return m_signalDecodersToAddHasBeenSet; } /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline void SetSignalDecodersToAdd(const Aws::Vector& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd = value; } /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline void SetSignalDecodersToAdd(Aws::Vector&& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd = std::move(value); } /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToAdd(const Aws::Vector& value) { SetSignalDecodersToAdd(value); return *this;} /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToAdd(Aws::Vector&& value) { SetSignalDecodersToAdd(std::move(value)); return *this;} /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToAdd(const SignalDecoder& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd.push_back(value); return *this; } /** *

A list of information about decoding additional signals to add to the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToAdd(SignalDecoder&& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd.push_back(std::move(value)); return *this; } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline const Aws::Vector& GetSignalDecodersToUpdate() const{ return m_signalDecodersToUpdate; } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline bool SignalDecodersToUpdateHasBeenSet() const { return m_signalDecodersToUpdateHasBeenSet; } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline void SetSignalDecodersToUpdate(const Aws::Vector& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate = value; } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline void SetSignalDecodersToUpdate(Aws::Vector&& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate = std::move(value); } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToUpdate(const Aws::Vector& value) { SetSignalDecodersToUpdate(value); return *this;} /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToUpdate(Aws::Vector&& value) { SetSignalDecodersToUpdate(std::move(value)); return *this;} /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToUpdate(const SignalDecoder& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate.push_back(value); return *this; } /** *

A list of updated information about decoding signals to update in the * decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToUpdate(SignalDecoder&& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate.push_back(std::move(value)); return *this; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline const Aws::Vector& GetSignalDecodersToRemove() const{ return m_signalDecodersToRemove; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline bool SignalDecodersToRemoveHasBeenSet() const { return m_signalDecodersToRemoveHasBeenSet; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline void SetSignalDecodersToRemove(const Aws::Vector& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove = value; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline void SetSignalDecodersToRemove(Aws::Vector&& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove = std::move(value); } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToRemove(const Aws::Vector& value) { SetSignalDecodersToRemove(value); return *this;} /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithSignalDecodersToRemove(Aws::Vector&& value) { SetSignalDecodersToRemove(std::move(value)); return *this;} /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(const Aws::String& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(value); return *this; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(Aws::String&& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(std::move(value)); return *this; } /** *

A list of signal decoders to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(const char* value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(value); return *this; } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline const Aws::Vector& GetNetworkInterfacesToAdd() const{ return m_networkInterfacesToAdd; } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline bool NetworkInterfacesToAddHasBeenSet() const { return m_networkInterfacesToAddHasBeenSet; } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline void SetNetworkInterfacesToAdd(const Aws::Vector& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd = value; } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline void SetNetworkInterfacesToAdd(Aws::Vector&& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd = std::move(value); } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToAdd(const Aws::Vector& value) { SetNetworkInterfacesToAdd(value); return *this;} /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToAdd(Aws::Vector&& value) { SetNetworkInterfacesToAdd(std::move(value)); return *this;} /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToAdd(const NetworkInterface& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd.push_back(value); return *this; } /** *

A list of information about the network interfaces to add to the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToAdd(NetworkInterface&& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd.push_back(std::move(value)); return *this; } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline const Aws::Vector& GetNetworkInterfacesToUpdate() const{ return m_networkInterfacesToUpdate; } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline bool NetworkInterfacesToUpdateHasBeenSet() const { return m_networkInterfacesToUpdateHasBeenSet; } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline void SetNetworkInterfacesToUpdate(const Aws::Vector& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate = value; } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline void SetNetworkInterfacesToUpdate(Aws::Vector&& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate = std::move(value); } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToUpdate(const Aws::Vector& value) { SetNetworkInterfacesToUpdate(value); return *this;} /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToUpdate(Aws::Vector&& value) { SetNetworkInterfacesToUpdate(std::move(value)); return *this;} /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToUpdate(const NetworkInterface& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate.push_back(value); return *this; } /** *

A list of information about the network interfaces to update in the decoder * manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToUpdate(NetworkInterface&& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate.push_back(std::move(value)); return *this; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline const Aws::Vector& GetNetworkInterfacesToRemove() const{ return m_networkInterfacesToRemove; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline bool NetworkInterfacesToRemoveHasBeenSet() const { return m_networkInterfacesToRemoveHasBeenSet; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline void SetNetworkInterfacesToRemove(const Aws::Vector& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove = value; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline void SetNetworkInterfacesToRemove(Aws::Vector&& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove = std::move(value); } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToRemove(const Aws::Vector& value) { SetNetworkInterfacesToRemove(value); return *this;} /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithNetworkInterfacesToRemove(Aws::Vector&& value) { SetNetworkInterfacesToRemove(std::move(value)); return *this;} /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(const Aws::String& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(value); return *this; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(Aws::String&& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(std::move(value)); return *this; } /** *

A list of network interfaces to remove from the decoder manifest.

*/ inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(const char* value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(value); return *this; } /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline const ManifestStatus& GetStatus() const{ return m_status; } /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline void SetStatus(const ManifestStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline void SetStatus(ManifestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithStatus(const ManifestStatus& value) { SetStatus(value); return *this;} /** *

The state of the decoder manifest. If the status is ACTIVE, the * decoder manifest can't be edited. If the status is DRAFT, you can * edit the decoder manifest.

*/ inline UpdateDecoderManifestRequest& WithStatus(ManifestStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_signalDecodersToAdd; bool m_signalDecodersToAddHasBeenSet = false; Aws::Vector m_signalDecodersToUpdate; bool m_signalDecodersToUpdateHasBeenSet = false; Aws::Vector m_signalDecodersToRemove; bool m_signalDecodersToRemoveHasBeenSet = false; Aws::Vector m_networkInterfacesToAdd; bool m_networkInterfacesToAddHasBeenSet = false; Aws::Vector m_networkInterfacesToUpdate; bool m_networkInterfacesToUpdateHasBeenSet = false; Aws::Vector m_networkInterfacesToRemove; bool m_networkInterfacesToRemoveHasBeenSet = false; ManifestStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws