AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateVehicleResponseItem.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTFLEETWISE_API CreateVehicleResponseItem() = default;
37 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetVehicleName() const { return m_vehicleName; }
45 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
46 template<typename VehicleNameT = Aws::String>
47 void SetVehicleName(VehicleNameT&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::forward<VehicleNameT>(value); }
48 template<typename VehicleNameT = Aws::String>
49 CreateVehicleResponseItem& WithVehicleName(VehicleNameT&& value) { SetVehicleName(std::forward<VehicleNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 CreateVehicleResponseItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetThingArn() const { return m_thingArn; }
69 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
70 template<typename ThingArnT = Aws::String>
71 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
72 template<typename ThingArnT = Aws::String>
73 CreateVehicleResponseItem& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
75 private:
76
77 Aws::String m_vehicleName;
78 bool m_vehicleNameHasBeenSet = false;
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82
83 Aws::String m_thingArn;
84 bool m_thingArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTFleetWise
89} // namespace Aws
CreateVehicleResponseItem & WithVehicleName(VehicleNameT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API CreateVehicleResponseItem()=default
AWS_IOTFLEETWISE_API CreateVehicleResponseItem(Aws::Utils::Json::JsonView jsonValue)
CreateVehicleResponseItem & WithThingArn(ThingArnT &&value)
AWS_IOTFLEETWISE_API CreateVehicleResponseItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateVehicleResponseItem & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue