AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/iotfleetwise/model/StateTemplateAssociation.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTFleetWise
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTFLEETWISE_API GetVehicleResult() = default;
37
38
40
43 inline const Aws::String& GetVehicleName() const { return m_vehicleName; }
44 template<typename VehicleNameT = Aws::String>
45 void SetVehicleName(VehicleNameT&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::forward<VehicleNameT>(value); }
46 template<typename VehicleNameT = Aws::String>
47 GetVehicleResult& WithVehicleName(VehicleNameT&& value) { SetVehicleName(std::forward<VehicleNameT>(value)); return *this;}
49
51
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 GetVehicleResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
68 template<typename ModelManifestArnT = Aws::String>
69 void SetModelManifestArn(ModelManifestArnT&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::forward<ModelManifestArnT>(value); }
70 template<typename ModelManifestArnT = Aws::String>
71 GetVehicleResult& WithModelManifestArn(ModelManifestArnT&& value) { SetModelManifestArn(std::forward<ModelManifestArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDecoderManifestArn() const { return m_decoderManifestArn; }
79 template<typename DecoderManifestArnT = Aws::String>
80 void SetDecoderManifestArn(DecoderManifestArnT&& value) { m_decoderManifestArnHasBeenSet = true; m_decoderManifestArn = std::forward<DecoderManifestArnT>(value); }
81 template<typename DecoderManifestArnT = Aws::String>
82 GetVehicleResult& WithDecoderManifestArn(DecoderManifestArnT&& value) { SetDecoderManifestArn(std::forward<DecoderManifestArnT>(value)); return *this;}
84
86
90 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
91 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
92 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
93 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
94 GetVehicleResult& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
95 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
96 GetVehicleResult& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
97 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
98 }
100
102
105 inline const Aws::Vector<StateTemplateAssociation>& GetStateTemplates() const { return m_stateTemplates; }
106 template<typename StateTemplatesT = Aws::Vector<StateTemplateAssociation>>
107 void SetStateTemplates(StateTemplatesT&& value) { m_stateTemplatesHasBeenSet = true; m_stateTemplates = std::forward<StateTemplatesT>(value); }
108 template<typename StateTemplatesT = Aws::Vector<StateTemplateAssociation>>
109 GetVehicleResult& WithStateTemplates(StateTemplatesT&& value) { SetStateTemplates(std::forward<StateTemplatesT>(value)); return *this;}
110 template<typename StateTemplatesT = StateTemplateAssociation>
111 GetVehicleResult& AddStateTemplates(StateTemplatesT&& value) { m_stateTemplatesHasBeenSet = true; m_stateTemplates.emplace_back(std::forward<StateTemplatesT>(value)); return *this; }
113
115
119 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 GetVehicleResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
125
127
131 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
132 template<typename LastModificationTimeT = Aws::Utils::DateTime>
133 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
134 template<typename LastModificationTimeT = Aws::Utils::DateTime>
135 GetVehicleResult& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template<typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
143 template<typename RequestIdT = Aws::String>
144 GetVehicleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
146 private:
147
148 Aws::String m_vehicleName;
149 bool m_vehicleNameHasBeenSet = false;
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::String m_modelManifestArn;
155 bool m_modelManifestArnHasBeenSet = false;
156
157 Aws::String m_decoderManifestArn;
158 bool m_decoderManifestArnHasBeenSet = false;
159
161 bool m_attributesHasBeenSet = false;
162
164 bool m_stateTemplatesHasBeenSet = false;
165
166 Aws::Utils::DateTime m_creationTime{};
167 bool m_creationTimeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_lastModificationTime{};
170 bool m_lastModificationTimeHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace IoTFleetWise
178} // namespace Aws
GetVehicleResult & WithCreationTime(CreationTimeT &&value)
void SetModelManifestArn(ModelManifestArnT &&value)
GetVehicleResult & WithStateTemplates(StateTemplatesT &&value)
GetVehicleResult & WithDecoderManifestArn(DecoderManifestArnT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
const Aws::String & GetModelManifestArn() const
GetVehicleResult & WithArn(ArnT &&value)
AWS_IOTFLEETWISE_API GetVehicleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVehicleResult & WithLastModificationTime(LastModificationTimeT &&value)
GetVehicleResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetLastModificationTime(LastModificationTimeT &&value)
void SetStateTemplates(StateTemplatesT &&value)
const Aws::String & GetDecoderManifestArn() const
GetVehicleResult & WithAttributes(AttributesT &&value)
AWS_IOTFLEETWISE_API GetVehicleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVehicleResult & AddStateTemplates(StateTemplatesT &&value)
const Aws::Vector< StateTemplateAssociation > & GetStateTemplates() const
AWS_IOTFLEETWISE_API GetVehicleResult()=default
void SetCreationTime(CreationTimeT &&value)
GetVehicleResult & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
GetVehicleResult & WithVehicleName(VehicleNameT &&value)
const Aws::String & GetVehicleName() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetDecoderManifestArn(DecoderManifestArnT &&value)
GetVehicleResult & WithModelManifestArn(ModelManifestArnT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue