AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; }
50 inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); }
51 inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); }
52 inline VehicleSummary& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
53 inline VehicleSummary& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
54 inline VehicleSummary& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline VehicleSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline VehicleSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline VehicleSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
76 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
77 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; }
78 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); }
79 inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); }
80 inline VehicleSummary& WithModelManifestArn(const Aws::String& value) { SetModelManifestArn(value); return *this;}
81 inline VehicleSummary& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
82 inline VehicleSummary& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
84
86
89 inline const Aws::String& GetDecoderManifestArn() const{ return m_decoderManifestArn; }
90 inline bool DecoderManifestArnHasBeenSet() const { return m_decoderManifestArnHasBeenSet; }
91 inline void SetDecoderManifestArn(const Aws::String& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = value; }
92 inline void SetDecoderManifestArn(Aws::String&& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = std::move(value); }
93 inline void SetDecoderManifestArn(const char* value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn.assign(value); }
94 inline VehicleSummary& WithDecoderManifestArn(const Aws::String& value) { SetDecoderManifestArn(value); return *this;}
95 inline VehicleSummary& WithDecoderManifestArn(Aws::String&& value) { SetDecoderManifestArn(std::move(value)); return *this;}
96 inline VehicleSummary& WithDecoderManifestArn(const char* value) { SetDecoderManifestArn(value); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
108 inline VehicleSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
109 inline VehicleSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
118 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
119 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
120 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
122 inline VehicleSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
124
126
130 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
131 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
132 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
133 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
135 inline VehicleSummary& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
136 inline VehicleSummary& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
137 inline VehicleSummary& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
138 inline VehicleSummary& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
139 inline VehicleSummary& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
140 inline VehicleSummary& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
141 inline VehicleSummary& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
142 inline VehicleSummary& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
144 private:
145
146 Aws::String m_vehicleName;
147 bool m_vehicleNameHasBeenSet = false;
148
149 Aws::String m_arn;
150 bool m_arnHasBeenSet = false;
151
152 Aws::String m_modelManifestArn;
153 bool m_modelManifestArnHasBeenSet = false;
154
155 Aws::String m_decoderManifestArn;
156 bool m_decoderManifestArnHasBeenSet = false;
157
158 Aws::Utils::DateTime m_creationTime;
159 bool m_creationTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastModificationTime;
162 bool m_lastModificationTimeHasBeenSet = false;
163
165 bool m_attributesHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace IoTFleetWise
170} // namespace Aws
VehicleSummary & AddAttributes(Aws::String &&key, const Aws::String &value)
VehicleSummary & WithArn(const char *value)
VehicleSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetDecoderManifestArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
VehicleSummary & AddAttributes(Aws::String &&key, const char *value)
VehicleSummary & AddAttributes(const char *key, Aws::String &&value)
void SetModelManifestArn(Aws::String &&value)
VehicleSummary & WithDecoderManifestArn(const char *value)
const Aws::String & GetModelManifestArn() const
void SetDecoderManifestArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
VehicleSummary & WithArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
VehicleSummary & WithVehicleName(Aws::String &&value)
VehicleSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
VehicleSummary & AddAttributes(const char *key, const char *value)
VehicleSummary & WithModelManifestArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDecoderManifestArn() const
VehicleSummary & WithModelManifestArn(Aws::String &&value)
VehicleSummary & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
VehicleSummary & AddAttributes(const Aws::String &key, const Aws::String &value)
VehicleSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IOTFLEETWISE_API VehicleSummary(Aws::Utils::Json::JsonView jsonValue)
VehicleSummary & WithVehicleName(const char *value)
VehicleSummary & WithDecoderManifestArn(Aws::String &&value)
void SetDecoderManifestArn(Aws::String &&value)
VehicleSummary & WithModelManifestArn(const char *value)
void SetModelManifestArn(const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
AWS_IOTFLEETWISE_API VehicleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VehicleSummary & WithCreationTime(Aws::Utils::DateTime &&value)
VehicleSummary & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetVehicleName(Aws::String &&value)
VehicleSummary & WithArn(Aws::String &&value)
VehicleSummary & AddAttributes(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetModelManifestArn(const Aws::String &value)
VehicleSummary & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
VehicleSummary & WithDecoderManifestArn(const Aws::String &value)
const Aws::String & GetVehicleName() const
void SetVehicleName(const Aws::String &value)
const Aws::String & GetArn() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
VehicleSummary & WithVehicleName(const Aws::String &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