AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifyDevicePositionRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/DeviceState.h>
11#include <aws/location/model/DistanceUnit.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LocationService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOCATIONSERVICE_API VerifyDevicePositionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "VerifyDevicePosition"; }
33
34 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
43 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
44 inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
45 inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
46 inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
47 inline VerifyDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
48 inline VerifyDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
49 inline VerifyDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
51
53
57 inline const DeviceState& GetDeviceState() const{ return m_deviceState; }
58 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
59 inline void SetDeviceState(const DeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
60 inline void SetDeviceState(DeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); }
61 inline VerifyDevicePositionRequest& WithDeviceState(const DeviceState& value) { SetDeviceState(value); return *this;}
62 inline VerifyDevicePositionRequest& WithDeviceState(DeviceState&& value) { SetDeviceState(std::move(value)); return *this;}
64
66
70 inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
71 inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
72 inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
73 inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
74 inline VerifyDevicePositionRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
75 inline VerifyDevicePositionRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_trackerName;
80 bool m_trackerNameHasBeenSet = false;
81
82 DeviceState m_deviceState;
83 bool m_deviceStateHasBeenSet = false;
84
85 DistanceUnit m_distanceUnit;
86 bool m_distanceUnitHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LocationService
91} // namespace Aws
VerifyDevicePositionRequest & WithTrackerName(const char *value)
VerifyDevicePositionRequest & WithTrackerName(const Aws::String &value)
VerifyDevicePositionRequest & WithDeviceState(DeviceState &&value)
VerifyDevicePositionRequest & WithTrackerName(Aws::String &&value)
VerifyDevicePositionRequest & WithDistanceUnit(const DistanceUnit &value)
VerifyDevicePositionRequest & WithDistanceUnit(DistanceUnit &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
VerifyDevicePositionRequest & WithDeviceState(const DeviceState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String