AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GetVehicleStatusRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoTFleetWise {
15namespace Model {
16
20 public:
21 AWS_IOTFLEETWISE_API GetVehicleStatusRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetVehicleStatus"; }
28
29 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
30
31 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template <typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) {
47 m_nextTokenHasBeenSet = true;
48 m_nextToken = std::forward<NextTokenT>(value);
49 }
50 template <typename NextTokenT = Aws::String>
52 SetNextToken(std::forward<NextTokenT>(value));
53 return *this;
54 }
56
58
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
78 inline const Aws::String& GetVehicleName() const { return m_vehicleName; }
79 inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; }
80 template <typename VehicleNameT = Aws::String>
81 void SetVehicleName(VehicleNameT&& value) {
82 m_vehicleNameHasBeenSet = true;
83 m_vehicleName = std::forward<VehicleNameT>(value);
84 }
85 template <typename VehicleNameT = Aws::String>
87 SetVehicleName(std::forward<VehicleNameT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_nextToken;
93
94 int m_maxResults{0};
95
96 Aws::String m_vehicleName;
97 bool m_nextTokenHasBeenSet = false;
98 bool m_maxResultsHasBeenSet = false;
99 bool m_vehicleNameHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace IoTFleetWise
104} // namespace Aws
AWS_IOTFLEETWISE_API GetVehicleStatusRequest()=default
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetVehicleStatusRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
GetVehicleStatusRequest & WithVehicleName(VehicleNameT &&value)
GetVehicleStatusRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String