AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetVehicleResult.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/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTFLEETWISE_API GetVehicleResult();
35
36
38
41 inline const Aws::String& GetVehicleName() const{ return m_vehicleName; }
42 inline void SetVehicleName(const Aws::String& value) { m_vehicleName = value; }
43 inline void SetVehicleName(Aws::String&& value) { m_vehicleName = std::move(value); }
44 inline void SetVehicleName(const char* value) { m_vehicleName.assign(value); }
45 inline GetVehicleResult& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
46 inline GetVehicleResult& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
47 inline GetVehicleResult& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
49
51
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline GetVehicleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline GetVehicleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline GetVehicleResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
69 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
70 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArn = value; }
71 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArn = std::move(value); }
72 inline void SetModelManifestArn(const char* value) { m_modelManifestArn.assign(value); }
73 inline GetVehicleResult& WithModelManifestArn(const Aws::String& value) { SetModelManifestArn(value); return *this;}
74 inline GetVehicleResult& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
75 inline GetVehicleResult& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
77
79
82 inline const Aws::String& GetDecoderManifestArn() const{ return m_decoderManifestArn; }
83 inline void SetDecoderManifestArn(const Aws::String& value) { m_decoderManifestArn = value; }
84 inline void SetDecoderManifestArn(Aws::String&& value) { m_decoderManifestArn = std::move(value); }
85 inline void SetDecoderManifestArn(const char* value) { m_decoderManifestArn.assign(value); }
86 inline GetVehicleResult& WithDecoderManifestArn(const Aws::String& value) { SetDecoderManifestArn(value); return *this;}
87 inline GetVehicleResult& WithDecoderManifestArn(Aws::String&& value) { SetDecoderManifestArn(std::move(value)); return *this;}
88 inline GetVehicleResult& WithDecoderManifestArn(const char* value) { SetDecoderManifestArn(value); return *this;}
90
92
96 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
97 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
98 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
100 inline GetVehicleResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
101 inline GetVehicleResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
102 inline GetVehicleResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
103 inline GetVehicleResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
104 inline GetVehicleResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
105 inline GetVehicleResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
106 inline GetVehicleResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
107 inline GetVehicleResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
109
111
115 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
116 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
117 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
118 inline GetVehicleResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
119 inline GetVehicleResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
128 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
129 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline GetVehicleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline GetVehicleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline GetVehicleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_vehicleName;
147
148 Aws::String m_arn;
149
150 Aws::String m_modelManifestArn;
151
152 Aws::String m_decoderManifestArn;
153
155
156 Aws::Utils::DateTime m_creationTime;
157
158 Aws::Utils::DateTime m_lastModificationTime;
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace IoTFleetWise
165} // namespace Aws
GetVehicleResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetVehicleResult & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetVehicleResult & WithArn(const char *value)
void SetVehicleName(const Aws::String &value)
GetVehicleResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
GetVehicleResult & WithDecoderManifestArn(const Aws::String &value)
const Aws::String & GetModelManifestArn() const
GetVehicleResult & WithRequestId(Aws::String &&value)
GetVehicleResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetVehicleResult & AddAttributes(Aws::String &&key, const Aws::String &value)
AWS_IOTFLEETWISE_API GetVehicleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVehicleResult & AddAttributes(const char *key, const char *value)
GetVehicleResult & AddAttributes(Aws::String &&key, const char *value)
void SetArn(const Aws::String &value)
GetVehicleResult & WithArn(const Aws::String &value)
GetVehicleResult & WithRequestId(const Aws::String &value)
GetVehicleResult & WithVehicleName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::String & GetDecoderManifestArn() const
AWS_IOTFLEETWISE_API GetVehicleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVehicleResult & WithDecoderManifestArn(const char *value)
void SetRequestId(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetVehicleResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
void SetModelManifestArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetVehicleResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
GetVehicleResult & WithModelManifestArn(Aws::String &&value)
GetVehicleResult & AddAttributes(const Aws::String &key, Aws::String &&value)
GetVehicleResult & WithRequestId(const char *value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
void SetModelManifestArn(Aws::String &&value)
GetVehicleResult & WithVehicleName(const char *value)
const Aws::String & GetVehicleName() const
const Aws::Utils::DateTime & GetCreationTime() const
GetVehicleResult & AddAttributes(const Aws::String &key, const Aws::String &value)
GetVehicleResult & AddAttributes(const char *key, Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetVehicleResult & WithVehicleName(const Aws::String &value)
GetVehicleResult & WithModelManifestArn(const Aws::String &value)
void SetDecoderManifestArn(Aws::String &&value)
GetVehicleResult & WithModelManifestArn(const char *value)
GetVehicleResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetVehicleResult & WithArn(Aws::String &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
GetVehicleResult & WithDecoderManifestArn(Aws::String &&value)
void SetDecoderManifestArn(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