AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; }
47 inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); }
48 inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); }
49 inline CreateVehicleResponseItem& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
50 inline CreateVehicleResponseItem& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
51 inline CreateVehicleResponseItem& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
53
55
58 inline const Aws::String& GetArn() const{ return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
61 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
63 inline CreateVehicleResponseItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 inline CreateVehicleResponseItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 inline CreateVehicleResponseItem& WithArn(const char* value) { SetArn(value); return *this;}
67
69
72 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
73 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
74 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
75 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
76 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
77 inline CreateVehicleResponseItem& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
78 inline CreateVehicleResponseItem& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
79 inline CreateVehicleResponseItem& WithThingArn(const char* value) { SetThingArn(value); return *this;}
81 private:
82
83 Aws::String m_vehicleName;
84 bool m_vehicleNameHasBeenSet = false;
85
86 Aws::String m_arn;
87 bool m_arnHasBeenSet = false;
88
89 Aws::String m_thingArn;
90 bool m_thingArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTFleetWise
95} // namespace Aws
CreateVehicleResponseItem & WithThingArn(Aws::String &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CreateVehicleResponseItem & WithVehicleName(const char *value)
AWS_IOTFLEETWISE_API CreateVehicleResponseItem(Aws::Utils::Json::JsonView jsonValue)
CreateVehicleResponseItem & WithThingArn(const Aws::String &value)
CreateVehicleResponseItem & WithArn(Aws::String &&value)
CreateVehicleResponseItem & WithArn(const char *value)
CreateVehicleResponseItem & WithVehicleName(const Aws::String &value)
CreateVehicleResponseItem & WithArn(const Aws::String &value)
AWS_IOTFLEETWISE_API CreateVehicleResponseItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateVehicleResponseItem & WithVehicleName(Aws::String &&value)
CreateVehicleResponseItem & WithThingArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue