AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVehicleRequestItem.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/VehicleAssociationBehavior.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotfleetwise/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IOTFLEETWISE_API CreateVehicleRequestItem();
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetVehicleName() const{ return m_vehicleName; }
49 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
50 inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; }
51 inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); }
52 inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); }
53 inline CreateVehicleRequestItem& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
54 inline CreateVehicleRequestItem& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
55 inline CreateVehicleRequestItem& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
57
59
62 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
63 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
64 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; }
65 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); }
66 inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); }
68 inline CreateVehicleRequestItem& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
69 inline CreateVehicleRequestItem& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
71
73
77 inline const Aws::String& GetDecoderManifestArn() const{ return m_decoderManifestArn; }
78 inline bool DecoderManifestArnHasBeenSet() const { return m_decoderManifestArnHasBeenSet; }
79 inline void SetDecoderManifestArn(const Aws::String& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = value; }
80 inline void SetDecoderManifestArn(Aws::String&& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = std::move(value); }
81 inline void SetDecoderManifestArn(const char* value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn.assign(value); }
83 inline CreateVehicleRequestItem& WithDecoderManifestArn(Aws::String&& value) { SetDecoderManifestArn(std::move(value)); return *this;}
84 inline CreateVehicleRequestItem& WithDecoderManifestArn(const char* value) { SetDecoderManifestArn(value); return *this;}
86
88
92 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
93 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
94 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
95 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
98 inline CreateVehicleRequestItem& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
99 inline CreateVehicleRequestItem& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
100 inline CreateVehicleRequestItem& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
101 inline CreateVehicleRequestItem& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
102 inline CreateVehicleRequestItem& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
103 inline CreateVehicleRequestItem& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
104 inline CreateVehicleRequestItem& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
106
108
112 inline const VehicleAssociationBehavior& GetAssociationBehavior() const{ return m_associationBehavior; }
113 inline bool AssociationBehaviorHasBeenSet() const { return m_associationBehaviorHasBeenSet; }
114 inline void SetAssociationBehavior(const VehicleAssociationBehavior& value) { m_associationBehaviorHasBeenSet = true; m_associationBehavior = value; }
115 inline void SetAssociationBehavior(VehicleAssociationBehavior&& value) { m_associationBehaviorHasBeenSet = true; m_associationBehavior = std::move(value); }
119
121
124 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
128 inline CreateVehicleRequestItem& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
129 inline CreateVehicleRequestItem& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
130 inline CreateVehicleRequestItem& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
131 inline CreateVehicleRequestItem& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
133 private:
134
135 Aws::String m_vehicleName;
136 bool m_vehicleNameHasBeenSet = false;
137
138 Aws::String m_modelManifestArn;
139 bool m_modelManifestArnHasBeenSet = false;
140
141 Aws::String m_decoderManifestArn;
142 bool m_decoderManifestArnHasBeenSet = false;
143
145 bool m_attributesHasBeenSet = false;
146
147 VehicleAssociationBehavior m_associationBehavior;
148 bool m_associationBehaviorHasBeenSet = false;
149
150 Aws::Vector<Tag> m_tags;
151 bool m_tagsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace IoTFleetWise
156} // namespace Aws
CreateVehicleRequestItem & WithAssociationBehavior(const VehicleAssociationBehavior &value)
CreateVehicleRequestItem & WithVehicleName(const Aws::String &value)
CreateVehicleRequestItem & WithDecoderManifestArn(Aws::String &&value)
CreateVehicleRequestItem & AddAttributes(const Aws::String &key, const Aws::String &value)
CreateVehicleRequestItem & AddAttributes(const char *key, Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreateVehicleRequestItem & AddAttributes(const Aws::String &key, Aws::String &&value)
CreateVehicleRequestItem & WithDecoderManifestArn(const char *value)
CreateVehicleRequestItem & AddAttributes(const char *key, const char *value)
const VehicleAssociationBehavior & GetAssociationBehavior() const
CreateVehicleRequestItem & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IOTFLEETWISE_API CreateVehicleRequestItem(Aws::Utils::Json::JsonView jsonValue)
CreateVehicleRequestItem & AddTags(const Tag &value)
CreateVehicleRequestItem & AddAttributes(Aws::String &&key, const Aws::String &value)
CreateVehicleRequestItem & WithTags(Aws::Vector< Tag > &&value)
CreateVehicleRequestItem & WithDecoderManifestArn(const Aws::String &value)
void SetAssociationBehavior(const VehicleAssociationBehavior &value)
CreateVehicleRequestItem & WithAssociationBehavior(VehicleAssociationBehavior &&value)
CreateVehicleRequestItem & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IOTFLEETWISE_API CreateVehicleRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CreateVehicleRequestItem & WithModelManifestArn(const Aws::String &value)
CreateVehicleRequestItem & WithTags(const Aws::Vector< Tag > &value)
CreateVehicleRequestItem & WithVehicleName(const char *value)
CreateVehicleRequestItem & AddAttributes(Aws::String &&key, const char *value)
CreateVehicleRequestItem & WithVehicleName(Aws::String &&value)
CreateVehicleRequestItem & WithModelManifestArn(const char *value)
CreateVehicleRequestItem & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetAssociationBehavior(VehicleAssociationBehavior &&value)
CreateVehicleRequestItem & WithModelManifestArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue