/** * 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 CreateDecoderManifestRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API CreateDecoderManifestRequest(); // 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 "CreateDecoderManifest"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

The unique name of the decoder manifest to create.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

A brief description of the decoder manifest.

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

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; } /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; } /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline CreateDecoderManifestRequest& WithModelManifestArn(const Aws::String& value) { SetModelManifestArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline CreateDecoderManifestRequest& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the vehicle model (model manifest).

*/ inline CreateDecoderManifestRequest& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;} /** *

A list of information about signal decoders.

*/ inline const Aws::Vector& GetSignalDecoders() const{ return m_signalDecoders; } /** *

A list of information about signal decoders.

*/ inline bool SignalDecodersHasBeenSet() const { return m_signalDecodersHasBeenSet; } /** *

A list of information about signal decoders.

*/ inline void SetSignalDecoders(const Aws::Vector& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders = value; } /** *

A list of information about signal decoders.

*/ inline void SetSignalDecoders(Aws::Vector&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders = std::move(value); } /** *

A list of information about signal decoders.

*/ inline CreateDecoderManifestRequest& WithSignalDecoders(const Aws::Vector& value) { SetSignalDecoders(value); return *this;} /** *

A list of information about signal decoders.

*/ inline CreateDecoderManifestRequest& WithSignalDecoders(Aws::Vector&& value) { SetSignalDecoders(std::move(value)); return *this;} /** *

A list of information about signal decoders.

*/ inline CreateDecoderManifestRequest& AddSignalDecoders(const SignalDecoder& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders.push_back(value); return *this; } /** *

A list of information about signal decoders.

*/ inline CreateDecoderManifestRequest& AddSignalDecoders(SignalDecoder&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders.push_back(std::move(value)); return *this; } /** *

A list of information about available network interfaces.

*/ inline const Aws::Vector& GetNetworkInterfaces() const{ return m_networkInterfaces; } /** *

A list of information about available network interfaces.

*/ inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } /** *

A list of information about available network interfaces.

*/ inline void SetNetworkInterfaces(const Aws::Vector& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; } /** *

A list of information about available network interfaces.

*/ inline void SetNetworkInterfaces(Aws::Vector&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); } /** *

A list of information about available network interfaces.

*/ inline CreateDecoderManifestRequest& WithNetworkInterfaces(const Aws::Vector& value) { SetNetworkInterfaces(value); return *this;} /** *

A list of information about available network interfaces.

*/ inline CreateDecoderManifestRequest& WithNetworkInterfaces(Aws::Vector&& value) { SetNetworkInterfaces(std::move(value)); return *this;} /** *

A list of information about available network interfaces.

*/ inline CreateDecoderManifestRequest& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } /** *

A list of information about available network interfaces.

*/ inline CreateDecoderManifestRequest& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline CreateDecoderManifestRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Metadata that can be used to manage the decoder manifest.

*/ inline CreateDecoderManifestRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata that can be used to manage the decoder manifest.

*/ inline CreateDecoderManifestRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Metadata that can be used to manage the decoder manifest.

*/ inline CreateDecoderManifestRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_modelManifestArn; bool m_modelManifestArnHasBeenSet = false; Aws::Vector m_signalDecoders; bool m_signalDecodersHasBeenSet = false; Aws::Vector m_networkInterfaces; bool m_networkInterfacesHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws