AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVehicleRequestItem.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iotfleetwise/model/UpdateMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTFLEETWISE_API UpdateVehicleRequestItem();
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVehicleName() const{ return m_vehicleName; }
47 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
48 inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; }
49 inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); }
50 inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); }
51 inline UpdateVehicleRequestItem& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
52 inline UpdateVehicleRequestItem& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
53 inline UpdateVehicleRequestItem& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
55
57
61 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
62 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
63 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; }
64 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); }
65 inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); }
67 inline UpdateVehicleRequestItem& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
68 inline UpdateVehicleRequestItem& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
70
72
76 inline const Aws::String& GetDecoderManifestArn() const{ return m_decoderManifestArn; }
77 inline bool DecoderManifestArnHasBeenSet() const { return m_decoderManifestArnHasBeenSet; }
78 inline void SetDecoderManifestArn(const Aws::String& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = value; }
79 inline void SetDecoderManifestArn(Aws::String&& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = std::move(value); }
80 inline void SetDecoderManifestArn(const char* value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn.assign(value); }
82 inline UpdateVehicleRequestItem& WithDecoderManifestArn(Aws::String&& value) { SetDecoderManifestArn(std::move(value)); return *this;}
83 inline UpdateVehicleRequestItem& WithDecoderManifestArn(const char* value) { SetDecoderManifestArn(value); return *this;}
85
87
91 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
92 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
93 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
94 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
97 inline UpdateVehicleRequestItem& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
98 inline UpdateVehicleRequestItem& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
99 inline UpdateVehicleRequestItem& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
100 inline UpdateVehicleRequestItem& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
101 inline UpdateVehicleRequestItem& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
102 inline UpdateVehicleRequestItem& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
103 inline UpdateVehicleRequestItem& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
105
107
113 inline const UpdateMode& GetAttributeUpdateMode() const{ return m_attributeUpdateMode; }
114 inline bool AttributeUpdateModeHasBeenSet() const { return m_attributeUpdateModeHasBeenSet; }
115 inline void SetAttributeUpdateMode(const UpdateMode& value) { m_attributeUpdateModeHasBeenSet = true; m_attributeUpdateMode = value; }
116 inline void SetAttributeUpdateMode(UpdateMode&& value) { m_attributeUpdateModeHasBeenSet = true; m_attributeUpdateMode = std::move(value); }
118 inline UpdateVehicleRequestItem& WithAttributeUpdateMode(UpdateMode&& value) { SetAttributeUpdateMode(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_vehicleName;
123 bool m_vehicleNameHasBeenSet = false;
124
125 Aws::String m_modelManifestArn;
126 bool m_modelManifestArnHasBeenSet = false;
127
128 Aws::String m_decoderManifestArn;
129 bool m_decoderManifestArnHasBeenSet = false;
130
132 bool m_attributesHasBeenSet = false;
133
134 UpdateMode m_attributeUpdateMode;
135 bool m_attributeUpdateModeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace IoTFleetWise
140} // namespace Aws
UpdateVehicleRequestItem & AddAttributes(Aws::String &&key, Aws::String &&value)
AWS_IOTFLEETWISE_API UpdateVehicleRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdateVehicleRequestItem & WithAttributeUpdateMode(const UpdateMode &value)
UpdateVehicleRequestItem & AddAttributes(const Aws::String &key, Aws::String &&value)
UpdateVehicleRequestItem & AddAttributes(const char *key, Aws::String &&value)
UpdateVehicleRequestItem & WithVehicleName(const Aws::String &value)
UpdateVehicleRequestItem & AddAttributes(Aws::String &&key, const Aws::String &value)
UpdateVehicleRequestItem & WithVehicleName(const char *value)
UpdateVehicleRequestItem & WithAttributeUpdateMode(UpdateMode &&value)
UpdateVehicleRequestItem & WithDecoderManifestArn(const Aws::String &value)
UpdateVehicleRequestItem & AddAttributes(Aws::String &&key, const char *value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UpdateVehicleRequestItem & WithModelManifestArn(const Aws::String &value)
UpdateVehicleRequestItem & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UpdateVehicleRequestItem & WithDecoderManifestArn(Aws::String &&value)
UpdateVehicleRequestItem & WithModelManifestArn(Aws::String &&value)
AWS_IOTFLEETWISE_API UpdateVehicleRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
UpdateVehicleRequestItem & AddAttributes(const Aws::String &key, const Aws::String &value)
UpdateVehicleRequestItem & WithDecoderManifestArn(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdateVehicleRequestItem & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdateVehicleRequestItem & WithModelManifestArn(const char *value)
UpdateVehicleRequestItem & WithVehicleName(Aws::String &&value)
UpdateVehicleRequestItem & AddAttributes(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue