AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VehicleSummary.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.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
35 {
36 public:
37 AWS_IOTFLEETWISE_API VehicleSummary() = default;
38 AWS_IOTFLEETWISE_API VehicleSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API VehicleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVehicleName() const { return m_vehicleName; }
48 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
49 template<typename VehicleNameT = Aws::String>
50 void SetVehicleName(VehicleNameT&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::forward<VehicleNameT>(value); }
51 template<typename VehicleNameT = Aws::String>
52 VehicleSummary& WithVehicleName(VehicleNameT&& value) { SetVehicleName(std::forward<VehicleNameT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 VehicleSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
72 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
73 template<typename ModelManifestArnT = Aws::String>
74 void SetModelManifestArn(ModelManifestArnT&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::forward<ModelManifestArnT>(value); }
75 template<typename ModelManifestArnT = Aws::String>
76 VehicleSummary& WithModelManifestArn(ModelManifestArnT&& value) { SetModelManifestArn(std::forward<ModelManifestArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDecoderManifestArn() const { return m_decoderManifestArn; }
84 inline bool DecoderManifestArnHasBeenSet() const { return m_decoderManifestArnHasBeenSet; }
85 template<typename DecoderManifestArnT = Aws::String>
86 void SetDecoderManifestArn(DecoderManifestArnT&& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = std::forward<DecoderManifestArnT>(value); }
87 template<typename DecoderManifestArnT = Aws::String>
88 VehicleSummary& WithDecoderManifestArn(DecoderManifestArnT&& value) { SetDecoderManifestArn(std::forward<DecoderManifestArnT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 VehicleSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
110 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
111 template<typename LastModificationTimeT = Aws::Utils::DateTime>
112 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
113 template<typename LastModificationTimeT = Aws::Utils::DateTime>
114 VehicleSummary& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
116
118
122 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
123 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
124 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
125 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
126 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
127 VehicleSummary& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
128 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
129 VehicleSummary& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
130 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
131 }
133 private:
134
135 Aws::String m_vehicleName;
136 bool m_vehicleNameHasBeenSet = false;
137
138 Aws::String m_arn;
139 bool m_arnHasBeenSet = false;
140
141 Aws::String m_modelManifestArn;
142 bool m_modelManifestArnHasBeenSet = false;
143
144 Aws::String m_decoderManifestArn;
145 bool m_decoderManifestArnHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationTime{};
148 bool m_creationTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModificationTime{};
151 bool m_lastModificationTimeHasBeenSet = false;
152
154 bool m_attributesHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace IoTFleetWise
159} // 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