AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LocationAction.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/LocationTimestamp.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API LocationAction() = default;
40
41
43
47 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 template<typename RoleArnT = Aws::String>
50 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
51 template<typename RoleArnT = Aws::String>
52 LocationAction& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
54
56
60 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
61 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
62 template<typename TrackerNameT = Aws::String>
63 void SetTrackerName(TrackerNameT&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::forward<TrackerNameT>(value); }
64 template<typename TrackerNameT = Aws::String>
65 LocationAction& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
73 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
74 template<typename DeviceIdT = Aws::String>
75 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
76 template<typename DeviceIdT = Aws::String>
77 LocationAction& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
79
81
85 inline const LocationTimestamp& GetTimestamp() const { return m_timestamp; }
86 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
87 template<typename TimestampT = LocationTimestamp>
88 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
89 template<typename TimestampT = LocationTimestamp>
90 LocationAction& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
92
94
98 inline const Aws::String& GetLatitude() const { return m_latitude; }
99 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
100 template<typename LatitudeT = Aws::String>
101 void SetLatitude(LatitudeT&& value) { m_latitudeHasBeenSet = true; m_latitude = std::forward<LatitudeT>(value); }
102 template<typename LatitudeT = Aws::String>
103 LocationAction& WithLatitude(LatitudeT&& value) { SetLatitude(std::forward<LatitudeT>(value)); return *this;}
105
107
111 inline const Aws::String& GetLongitude() const { return m_longitude; }
112 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
113 template<typename LongitudeT = Aws::String>
114 void SetLongitude(LongitudeT&& value) { m_longitudeHasBeenSet = true; m_longitude = std::forward<LongitudeT>(value); }
115 template<typename LongitudeT = Aws::String>
116 LocationAction& WithLongitude(LongitudeT&& value) { SetLongitude(std::forward<LongitudeT>(value)); return *this;}
118 private:
119
120 Aws::String m_roleArn;
121 bool m_roleArnHasBeenSet = false;
122
123 Aws::String m_trackerName;
124 bool m_trackerNameHasBeenSet = false;
125
126 Aws::String m_deviceId;
127 bool m_deviceIdHasBeenSet = false;
128
129 LocationTimestamp m_timestamp;
130 bool m_timestampHasBeenSet = false;
131
132 Aws::String m_latitude;
133 bool m_latitudeHasBeenSet = false;
134
135 Aws::String m_longitude;
136 bool m_longitudeHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoT
141} // namespace Aws
LocationAction & WithTimestamp(TimestampT &&value)
const Aws::String & GetRoleArn() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API LocationAction(Aws::Utils::Json::JsonView jsonValue)
void SetLongitude(LongitudeT &&value)
void SetLatitude(LatitudeT &&value)
AWS_IOT_API LocationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API LocationAction()=default
const Aws::String & GetDeviceId() const
const Aws::String & GetLongitude() const
const LocationTimestamp & GetTimestamp() const
void SetDeviceId(DeviceIdT &&value)
LocationAction & WithLatitude(LatitudeT &&value)
const Aws::String & GetTrackerName() const
void SetTimestamp(TimestampT &&value)
LocationAction & WithDeviceId(DeviceIdT &&value)
void SetTrackerName(TrackerNameT &&value)
const Aws::String & GetLatitude() const
LocationAction & WithTrackerName(TrackerNameT &&value)
LocationAction & WithLongitude(LongitudeT &&value)
void SetRoleArn(RoleArnT &&value)
LocationAction & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue