AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VehicleStatus.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/VehicleState.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API VehicleStatus();
37 AWS_IOTFLEETWISE_API VehicleStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API VehicleStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCampaignName() const{ return m_campaignName; }
47 inline bool CampaignNameHasBeenSet() const { return m_campaignNameHasBeenSet; }
48 inline void SetCampaignName(const Aws::String& value) { m_campaignNameHasBeenSet = true; m_campaignName = value; }
49 inline void SetCampaignName(Aws::String&& value) { m_campaignNameHasBeenSet = true; m_campaignName = std::move(value); }
50 inline void SetCampaignName(const char* value) { m_campaignNameHasBeenSet = true; m_campaignName.assign(value); }
51 inline VehicleStatus& WithCampaignName(const Aws::String& value) { SetCampaignName(value); return *this;}
52 inline VehicleStatus& WithCampaignName(Aws::String&& value) { SetCampaignName(std::move(value)); return *this;}
53 inline VehicleStatus& WithCampaignName(const char* value) { SetCampaignName(value); return *this;}
55
57
60 inline const Aws::String& GetVehicleName() const{ return m_vehicleName; }
61 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
62 inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; }
63 inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); }
64 inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); }
65 inline VehicleStatus& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;}
66 inline VehicleStatus& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;}
67 inline VehicleStatus& WithVehicleName(const char* value) { SetVehicleName(value); return *this;}
69
71
82 inline const VehicleState& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const VehicleState& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(VehicleState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline VehicleStatus& WithStatus(const VehicleState& value) { SetStatus(value); return *this;}
87 inline VehicleStatus& WithStatus(VehicleState&& value) { SetStatus(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_campaignName;
92 bool m_campaignNameHasBeenSet = false;
93
94 Aws::String m_vehicleName;
95 bool m_vehicleNameHasBeenSet = false;
96
97 VehicleState m_status;
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace IoTFleetWise
103} // namespace Aws
VehicleStatus & WithCampaignName(Aws::String &&value)
const Aws::String & GetCampaignName() const
void SetVehicleName(const Aws::String &value)
AWS_IOTFLEETWISE_API VehicleStatus(Aws::Utils::Json::JsonView jsonValue)
VehicleStatus & WithVehicleName(const char *value)
AWS_IOTFLEETWISE_API VehicleStatus()
void SetStatus(const VehicleState &value)
VehicleStatus & WithCampaignName(const char *value)
const VehicleState & GetStatus() const
AWS_IOTFLEETWISE_API VehicleStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
VehicleStatus & WithStatus(const VehicleState &value)
VehicleStatus & WithVehicleName(Aws::String &&value)
VehicleStatus & WithVehicleName(const Aws::String &value)
void SetCampaignName(Aws::String &&value)
void SetCampaignName(const Aws::String &value)
void SetVehicleName(Aws::String &&value)
void SetCampaignName(const char *value)
void SetStatus(VehicleState &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVehicleName(const char *value)
VehicleStatus & WithCampaignName(const Aws::String &value)
const Aws::String & GetVehicleName() const
VehicleStatus & WithStatus(VehicleState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue