AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
VehicleSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
31 public:
32 AWS_IOTFLEETWISE_API VehicleSummary() = default;
33 AWS_IOTFLEETWISE_API VehicleSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTFLEETWISE_API VehicleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetVehicleName() const { return m_vehicleName; }
42 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
43 template <typename VehicleNameT = Aws::String>
44 void SetVehicleName(VehicleNameT&& value) {
45 m_vehicleNameHasBeenSet = true;
46 m_vehicleName = std::forward<VehicleNameT>(value);
47 }
48 template <typename VehicleNameT = Aws::String>
49 VehicleSummary& WithVehicleName(VehicleNameT&& value) {
50 SetVehicleName(std::forward<VehicleNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
67 VehicleSummary& WithArn(ArnT&& value) {
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
78 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
79 template <typename ModelManifestArnT = Aws::String>
80 void SetModelManifestArn(ModelManifestArnT&& value) {
81 m_modelManifestArnHasBeenSet = true;
82 m_modelManifestArn = std::forward<ModelManifestArnT>(value);
83 }
84 template <typename ModelManifestArnT = Aws::String>
85 VehicleSummary& WithModelManifestArn(ModelManifestArnT&& value) {
86 SetModelManifestArn(std::forward<ModelManifestArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDecoderManifestArn() const { return m_decoderManifestArn; }
96 inline bool DecoderManifestArnHasBeenSet() const { return m_decoderManifestArnHasBeenSet; }
97 template <typename DecoderManifestArnT = Aws::String>
98 void SetDecoderManifestArn(DecoderManifestArnT&& value) {
99 m_decoderManifestArnHasBeenSet = true;
100 m_decoderManifestArn = std::forward<DecoderManifestArnT>(value);
101 }
102 template <typename DecoderManifestArnT = Aws::String>
103 VehicleSummary& WithDecoderManifestArn(DecoderManifestArnT&& value) {
104 SetDecoderManifestArn(std::forward<DecoderManifestArnT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
117 void SetCreationTime(CreationTimeT&& value) {
118 m_creationTimeHasBeenSet = true;
119 m_creationTime = std::forward<CreationTimeT>(value);
120 }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
122 VehicleSummary& WithCreationTime(CreationTimeT&& value) {
123 SetCreationTime(std::forward<CreationTimeT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
134 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
135 template <typename LastModificationTimeT = Aws::Utils::DateTime>
136 void SetLastModificationTime(LastModificationTimeT&& value) {
137 m_lastModificationTimeHasBeenSet = true;
138 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
139 }
140 template <typename LastModificationTimeT = Aws::Utils::DateTime>
141 VehicleSummary& WithLastModificationTime(LastModificationTimeT&& value) {
142 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
153 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
154 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
155 void SetAttributes(AttributesT&& value) {
156 m_attributesHasBeenSet = true;
157 m_attributes = std::forward<AttributesT>(value);
158 }
159 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
160 VehicleSummary& WithAttributes(AttributesT&& value) {
161 SetAttributes(std::forward<AttributesT>(value));
162 return *this;
163 }
164 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
165 VehicleSummary& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
166 m_attributesHasBeenSet = true;
167 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
168 return *this;
169 }
171 private:
172 Aws::String m_vehicleName;
173
174 Aws::String m_arn;
175
176 Aws::String m_modelManifestArn;
177
178 Aws::String m_decoderManifestArn;
179
180 Aws::Utils::DateTime m_creationTime{};
181
182 Aws::Utils::DateTime m_lastModificationTime{};
183
185 bool m_vehicleNameHasBeenSet = false;
186 bool m_arnHasBeenSet = false;
187 bool m_modelManifestArnHasBeenSet = false;
188 bool m_decoderManifestArnHasBeenSet = false;
189 bool m_creationTimeHasBeenSet = false;
190 bool m_lastModificationTimeHasBeenSet = false;
191 bool m_attributesHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace IoTFleetWise
196} // namespace Aws
void SetAttributes(AttributesT &&value)
VehicleSummary & WithDecoderManifestArn(DecoderManifestArnT &&value)
VehicleSummary & WithModelManifestArn(ModelManifestArnT &&value)
VehicleSummary & WithAttributes(AttributesT &&value)
VehicleSummary & WithArn(ArnT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetModelManifestArn(ModelManifestArnT &&value)
void SetDecoderManifestArn(DecoderManifestArnT &&value)
const Aws::String & GetModelManifestArn() const
const Aws::Utils::DateTime & GetLastModificationTime() const
VehicleSummary & WithLastModificationTime(LastModificationTimeT &&value)
VehicleSummary & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDecoderManifestArn() const
void SetVehicleName(VehicleNameT &&value)
AWS_IOTFLEETWISE_API VehicleSummary(Aws::Utils::Json::JsonView jsonValue)
VehicleSummary & WithCreationTime(CreationTimeT &&value)
AWS_IOTFLEETWISE_API VehicleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API VehicleSummary()=default
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetLastModificationTime(LastModificationTimeT &&value)
VehicleSummary & WithVehicleName(VehicleNameT &&value)
const Aws::String & GetVehicleName() const
const Aws::String & GetArn() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() 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
Aws::Utils::Json::JsonValue JsonValue