AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateVehicleResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/model/UpdateVehicleResponseItem.h>
11#include <aws/iotfleetwise/model/UpdateVehicleError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTFleetWise
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTFLEETWISE_API BatchUpdateVehicleResult();
36
37
39
44 inline const Aws::Vector<UpdateVehicleResponseItem>& GetVehicles() const{ return m_vehicles; }
45 inline void SetVehicles(const Aws::Vector<UpdateVehicleResponseItem>& value) { m_vehicles = value; }
46 inline void SetVehicles(Aws::Vector<UpdateVehicleResponseItem>&& value) { m_vehicles = std::move(value); }
49 inline BatchUpdateVehicleResult& AddVehicles(const UpdateVehicleResponseItem& value) { m_vehicles.push_back(value); return *this; }
50 inline BatchUpdateVehicleResult& AddVehicles(UpdateVehicleResponseItem&& value) { m_vehicles.push_back(std::move(value)); return *this; }
52
54
58 inline const Aws::Vector<UpdateVehicleError>& GetErrors() const{ return m_errors; }
59 inline void SetErrors(const Aws::Vector<UpdateVehicleError>& value) { m_errors = value; }
60 inline void SetErrors(Aws::Vector<UpdateVehicleError>&& value) { m_errors = std::move(value); }
62 inline BatchUpdateVehicleResult& WithErrors(Aws::Vector<UpdateVehicleError>&& value) { SetErrors(std::move(value)); return *this;}
63 inline BatchUpdateVehicleResult& AddErrors(const UpdateVehicleError& value) { m_errors.push_back(value); return *this; }
64 inline BatchUpdateVehicleResult& AddErrors(UpdateVehicleError&& value) { m_errors.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline BatchUpdateVehicleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline BatchUpdateVehicleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline BatchUpdateVehicleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace IoTFleetWise
88} // namespace Aws
void SetVehicles(const Aws::Vector< UpdateVehicleResponseItem > &value)
BatchUpdateVehicleResult & AddVehicles(UpdateVehicleResponseItem &&value)
BatchUpdateVehicleResult & WithErrors(const Aws::Vector< UpdateVehicleError > &value)
BatchUpdateVehicleResult & WithErrors(Aws::Vector< UpdateVehicleError > &&value)
BatchUpdateVehicleResult & AddErrors(UpdateVehicleError &&value)
BatchUpdateVehicleResult & AddErrors(const UpdateVehicleError &value)
const Aws::Vector< UpdateVehicleError > & GetErrors() const
BatchUpdateVehicleResult & WithRequestId(const Aws::String &value)
BatchUpdateVehicleResult & WithVehicles(const Aws::Vector< UpdateVehicleResponseItem > &value)
BatchUpdateVehicleResult & AddVehicles(const UpdateVehicleResponseItem &value)
const Aws::Vector< UpdateVehicleResponseItem > & GetVehicles() const
AWS_IOTFLEETWISE_API BatchUpdateVehicleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(Aws::Vector< UpdateVehicleError > &&value)
void SetErrors(const Aws::Vector< UpdateVehicleError > &value)
AWS_IOTFLEETWISE_API BatchUpdateVehicleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateVehicleResult & WithVehicles(Aws::Vector< UpdateVehicleResponseItem > &&value)
BatchUpdateVehicleResult & WithRequestId(const char *value)
void SetVehicles(Aws::Vector< UpdateVehicleResponseItem > &&value)
BatchUpdateVehicleResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue