AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline LocationAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline LocationAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline LocationAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
62 inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
63 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
64 inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
65 inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
66 inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
67 inline LocationAction& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
68 inline LocationAction& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
69 inline LocationAction& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
71
73
76 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
77 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
78 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
79 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
80 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
81 inline LocationAction& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
82 inline LocationAction& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
83 inline LocationAction& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
85
87
91 inline const LocationTimestamp& GetTimestamp() const{ return m_timestamp; }
92 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
93 inline void SetTimestamp(const LocationTimestamp& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
94 inline void SetTimestamp(LocationTimestamp&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
95 inline LocationAction& WithTimestamp(const LocationTimestamp& value) { SetTimestamp(value); return *this;}
96 inline LocationAction& WithTimestamp(LocationTimestamp&& value) { SetTimestamp(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetLatitude() const{ return m_latitude; }
105 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
106 inline void SetLatitude(const Aws::String& value) { m_latitudeHasBeenSet = true; m_latitude = value; }
107 inline void SetLatitude(Aws::String&& value) { m_latitudeHasBeenSet = true; m_latitude = std::move(value); }
108 inline void SetLatitude(const char* value) { m_latitudeHasBeenSet = true; m_latitude.assign(value); }
109 inline LocationAction& WithLatitude(const Aws::String& value) { SetLatitude(value); return *this;}
110 inline LocationAction& WithLatitude(Aws::String&& value) { SetLatitude(std::move(value)); return *this;}
111 inline LocationAction& WithLatitude(const char* value) { SetLatitude(value); return *this;}
113
115
119 inline const Aws::String& GetLongitude() const{ return m_longitude; }
120 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
121 inline void SetLongitude(const Aws::String& value) { m_longitudeHasBeenSet = true; m_longitude = value; }
122 inline void SetLongitude(Aws::String&& value) { m_longitudeHasBeenSet = true; m_longitude = std::move(value); }
123 inline void SetLongitude(const char* value) { m_longitudeHasBeenSet = true; m_longitude.assign(value); }
124 inline LocationAction& WithLongitude(const Aws::String& value) { SetLongitude(value); return *this;}
125 inline LocationAction& WithLongitude(Aws::String&& value) { SetLongitude(std::move(value)); return *this;}
126 inline LocationAction& WithLongitude(const char* value) { SetLongitude(value); return *this;}
128 private:
129
130 Aws::String m_roleArn;
131 bool m_roleArnHasBeenSet = false;
132
133 Aws::String m_trackerName;
134 bool m_trackerNameHasBeenSet = false;
135
136 Aws::String m_deviceId;
137 bool m_deviceIdHasBeenSet = false;
138
139 LocationTimestamp m_timestamp;
140 bool m_timestampHasBeenSet = false;
141
142 Aws::String m_latitude;
143 bool m_latitudeHasBeenSet = false;
144
145 Aws::String m_longitude;
146 bool m_longitudeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace IoT
151} // namespace Aws
LocationAction & WithDeviceId(const Aws::String &value)
LocationAction & WithLatitude(Aws::String &&value)
LocationAction & WithRoleArn(const Aws::String &value)
LocationAction & WithRoleArn(const char *value)
void SetLongitude(Aws::String &&value)
void SetLatitude(const char *value)
void SetRoleArn(const char *value)
LocationAction & WithTrackerName(const Aws::String &value)
void SetDeviceId(const Aws::String &value)
void SetTrackerName(const char *value)
LocationAction & WithDeviceId(const char *value)
void SetLongitude(const Aws::String &value)
LocationAction & WithTrackerName(const char *value)
void SetTimestamp(LocationTimestamp &&value)
const Aws::String & GetRoleArn() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
LocationAction & WithTrackerName(Aws::String &&value)
void SetTrackerName(Aws::String &&value)
AWS_IOT_API LocationAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API LocationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceId(Aws::String &&value)
LocationAction & WithLongitude(const char *value)
const Aws::String & GetDeviceId() const
LocationAction & WithRoleArn(Aws::String &&value)
const Aws::String & GetLongitude() const
const LocationTimestamp & GetTimestamp() const
void SetRoleArn(const Aws::String &value)
LocationAction & WithTimestamp(const LocationTimestamp &value)
LocationAction & WithLatitude(const char *value)
LocationAction & WithTimestamp(LocationTimestamp &&value)
void SetTimestamp(const LocationTimestamp &value)
LocationAction & WithLatitude(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetLatitude(const Aws::String &value)
LocationAction & WithDeviceId(Aws::String &&value)
const Aws::String & GetTrackerName() const
void SetTrackerName(const Aws::String &value)
LocationAction & WithLongitude(Aws::String &&value)
void SetLatitude(Aws::String &&value)
void SetDeviceId(const char *value)
const Aws::String & GetLatitude() const
LocationAction & WithLongitude(const Aws::String &value)
void SetLongitude(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue