AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeTrackerResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/LocationService_EXPORTS.h>
11#include <aws/location/model/PositionFiltering.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService {
25namespace Model {
27 public:
28 AWS_LOCATIONSERVICE_API DescribeTrackerResult() = default;
31
33
36 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
37 template <typename TrackerNameT = Aws::String>
38 void SetTrackerName(TrackerNameT&& value) {
39 m_trackerNameHasBeenSet = true;
40 m_trackerName = std::forward<TrackerNameT>(value);
41 }
42 template <typename TrackerNameT = Aws::String>
43 DescribeTrackerResult& WithTrackerName(TrackerNameT&& value) {
44 SetTrackerName(std::forward<TrackerNameT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetTrackerArn() const { return m_trackerArn; }
57 template <typename TrackerArnT = Aws::String>
58 void SetTrackerArn(TrackerArnT&& value) {
59 m_trackerArnHasBeenSet = true;
60 m_trackerArn = std::forward<TrackerArnT>(value);
61 }
62 template <typename TrackerArnT = Aws::String>
63 DescribeTrackerResult& WithTrackerArn(TrackerArnT&& value) {
64 SetTrackerArn(std::forward<TrackerArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
80 DescribeTrackerResult& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
91 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 void SetTags(TagsT&& value) {
93 m_tagsHasBeenSet = true;
94 m_tags = std::forward<TagsT>(value);
95 }
96 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 SetTags(std::forward<TagsT>(value));
99 return *this;
100 }
101 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
102 DescribeTrackerResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
103 m_tagsHasBeenSet = true;
104 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
105 return *this;
106 }
108
110
115 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
116 template <typename CreateTimeT = Aws::Utils::DateTime>
117 void SetCreateTime(CreateTimeT&& value) {
118 m_createTimeHasBeenSet = true;
119 m_createTime = std::forward<CreateTimeT>(value);
120 }
121 template <typename CreateTimeT = Aws::Utils::DateTime>
122 DescribeTrackerResult& WithCreateTime(CreateTimeT&& value) {
123 SetCreateTime(std::forward<CreateTimeT>(value));
124 return *this;
125 }
127
129
134 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
135 template <typename UpdateTimeT = Aws::Utils::DateTime>
136 void SetUpdateTime(UpdateTimeT&& value) {
137 m_updateTimeHasBeenSet = true;
138 m_updateTime = std::forward<UpdateTimeT>(value);
139 }
140 template <typename UpdateTimeT = Aws::Utils::DateTime>
141 DescribeTrackerResult& WithUpdateTime(UpdateTimeT&& value) {
142 SetUpdateTime(std::forward<UpdateTimeT>(value));
143 return *this;
144 }
146
148
154 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
155 template <typename KmsKeyIdT = Aws::String>
156 void SetKmsKeyId(KmsKeyIdT&& value) {
157 m_kmsKeyIdHasBeenSet = true;
158 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
159 }
160 template <typename KmsKeyIdT = Aws::String>
162 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
163 return *this;
164 }
166
168
171 inline PositionFiltering GetPositionFiltering() const { return m_positionFiltering; }
173 m_positionFilteringHasBeenSet = true;
174 m_positionFiltering = value;
175 }
178 return *this;
179 }
181
183
188 inline bool GetEventBridgeEnabled() const { return m_eventBridgeEnabled; }
189 inline void SetEventBridgeEnabled(bool value) {
190 m_eventBridgeEnabledHasBeenSet = true;
191 m_eventBridgeEnabled = value;
192 }
195 return *this;
196 }
198
200
214 inline bool GetKmsKeyEnableGeospatialQueries() const { return m_kmsKeyEnableGeospatialQueries; }
215 inline void SetKmsKeyEnableGeospatialQueries(bool value) {
216 m_kmsKeyEnableGeospatialQueriesHasBeenSet = true;
217 m_kmsKeyEnableGeospatialQueries = value;
218 }
221 return *this;
222 }
224
226
227 inline const Aws::String& GetRequestId() const { return m_requestId; }
228 template <typename RequestIdT = Aws::String>
229 void SetRequestId(RequestIdT&& value) {
230 m_requestIdHasBeenSet = true;
231 m_requestId = std::forward<RequestIdT>(value);
232 }
233 template <typename RequestIdT = Aws::String>
235 SetRequestId(std::forward<RequestIdT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_trackerName;
241
242 Aws::String m_trackerArn;
243
244 Aws::String m_description;
245
247
248 Aws::Utils::DateTime m_createTime{};
249
250 Aws::Utils::DateTime m_updateTime{};
251
252 Aws::String m_kmsKeyId;
253
255
256 bool m_eventBridgeEnabled{false};
257
258 bool m_kmsKeyEnableGeospatialQueries{false};
259
260 Aws::String m_requestId;
261 bool m_trackerNameHasBeenSet = false;
262 bool m_trackerArnHasBeenSet = false;
263 bool m_descriptionHasBeenSet = false;
264 bool m_tagsHasBeenSet = false;
265 bool m_createTimeHasBeenSet = false;
266 bool m_updateTimeHasBeenSet = false;
267 bool m_kmsKeyIdHasBeenSet = false;
268 bool m_positionFilteringHasBeenSet = false;
269 bool m_eventBridgeEnabledHasBeenSet = false;
270 bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false;
271 bool m_requestIdHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace LocationService
276} // namespace Aws
AWS_LOCATIONSERVICE_API DescribeTrackerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API DescribeTrackerResult()=default
DescribeTrackerResult & WithRequestId(RequestIdT &&value)
DescribeTrackerResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeTrackerResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeTrackerResult & WithDescription(DescriptionT &&value)
DescribeTrackerResult & WithTrackerName(TrackerNameT &&value)
AWS_LOCATIONSERVICE_API DescribeTrackerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrackerResult & WithUpdateTime(UpdateTimeT &&value)
DescribeTrackerResult & WithPositionFiltering(PositionFiltering value)
DescribeTrackerResult & WithTrackerArn(TrackerArnT &&value)
DescribeTrackerResult & WithKmsKeyEnableGeospatialQueries(bool value)
DescribeTrackerResult & WithKmsKeyId(KmsKeyIdT &&value)
DescribeTrackerResult & WithCreateTime(CreateTimeT &&value)
DescribeTrackerResult & WithEventBridgeEnabled(bool value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue