AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrackerResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/location/model/PositionFiltering.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LocationService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LOCATIONSERVICE_API DescribeTrackerResult();
36
37
39
42 inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
43 inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; }
44 inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); }
45 inline void SetTrackerName(const char* value) { m_trackerName.assign(value); }
46 inline DescribeTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
47 inline DescribeTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
48 inline DescribeTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
50
52
58 inline const Aws::String& GetTrackerArn() const{ return m_trackerArn; }
59 inline void SetTrackerArn(const Aws::String& value) { m_trackerArn = value; }
60 inline void SetTrackerArn(Aws::String&& value) { m_trackerArn = std::move(value); }
61 inline void SetTrackerArn(const char* value) { m_trackerArn.assign(value); }
62 inline DescribeTrackerResult& WithTrackerArn(const Aws::String& value) { SetTrackerArn(value); return *this;}
63 inline DescribeTrackerResult& WithTrackerArn(Aws::String&& value) { SetTrackerArn(std::move(value)); return *this;}
64 inline DescribeTrackerResult& WithTrackerArn(const char* value) { SetTrackerArn(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline DescribeTrackerResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline DescribeTrackerResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline DescribeTrackerResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
86 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
87 inline DescribeTrackerResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
88 inline DescribeTrackerResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
89 inline DescribeTrackerResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
90 inline DescribeTrackerResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
91 inline DescribeTrackerResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
92 inline DescribeTrackerResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
93 inline DescribeTrackerResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
94 inline DescribeTrackerResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
95 inline DescribeTrackerResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
97
99
104 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
105 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
106 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
107 inline DescribeTrackerResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
108 inline DescribeTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
110
112
117 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
118 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
119 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
120 inline DescribeTrackerResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
121 inline DescribeTrackerResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
123
125
131 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
132 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
133 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
134 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
135 inline DescribeTrackerResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
136 inline DescribeTrackerResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
137 inline DescribeTrackerResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
139
141
144 inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; }
145 inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFiltering = value; }
146 inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFiltering = std::move(value); }
148 inline DescribeTrackerResult& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;}
150
152
157 inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; }
158 inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabled = value; }
159 inline DescribeTrackerResult& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;}
161
163
177 inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; }
178 inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueries = value; }
181
183
184 inline const Aws::String& GetRequestId() const{ return m_requestId; }
185 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
186 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
187 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
188 inline DescribeTrackerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
189 inline DescribeTrackerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
190 inline DescribeTrackerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
192 private:
193
194 Aws::String m_trackerName;
195
196 Aws::String m_trackerArn;
197
198 Aws::String m_description;
199
201
202 Aws::Utils::DateTime m_createTime;
203
204 Aws::Utils::DateTime m_updateTime;
205
206 Aws::String m_kmsKeyId;
207
208 PositionFiltering m_positionFiltering;
209
210 bool m_eventBridgeEnabled;
211
212 bool m_kmsKeyEnableGeospatialQueries;
213
214 Aws::String m_requestId;
215 };
216
217} // namespace Model
218} // namespace LocationService
219} // namespace Aws
DescribeTrackerResult & WithKmsKeyId(const char *value)
DescribeTrackerResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeTrackerResult & WithDescription(Aws::String &&value)
DescribeTrackerResult & WithDescription(const Aws::String &value)
DescribeTrackerResult & WithTrackerName(const Aws::String &value)
DescribeTrackerResult & AddTags(const char *key, const char *value)
AWS_LOCATIONSERVICE_API DescribeTrackerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrackerResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeTrackerResult & WithRequestId(const char *value)
DescribeTrackerResult & WithCreateTime(const Aws::Utils::DateTime &value)
DescribeTrackerResult & WithTrackerArn(Aws::String &&value)
DescribeTrackerResult & WithUpdateTime(Aws::Utils::DateTime &&value)
DescribeTrackerResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeTrackerResult & WithKmsKeyId(const Aws::String &value)
DescribeTrackerResult & WithKmsKeyId(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
DescribeTrackerResult & WithTrackerName(const char *value)
void SetPositionFiltering(const PositionFiltering &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
DescribeTrackerResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeTrackerResult & WithTrackerArn(const Aws::String &value)
DescribeTrackerResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeTrackerResult & WithPositionFiltering(const PositionFiltering &value)
AWS_LOCATIONSERVICE_API DescribeTrackerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeTrackerResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeTrackerResult & WithTrackerName(Aws::String &&value)
DescribeTrackerResult & WithKmsKeyEnableGeospatialQueries(bool value)
DescribeTrackerResult & WithDescription(const char *value)
DescribeTrackerResult & AddTags(const char *key, Aws::String &&value)
DescribeTrackerResult & WithTrackerArn(const char *value)
DescribeTrackerResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeTrackerResult & WithEventBridgeEnabled(bool value)
DescribeTrackerResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeTrackerResult & WithPositionFiltering(PositionFiltering &&value)
DescribeTrackerResult & AddTags(Aws::String &&key, const char *value)
DescribeTrackerResult & WithRequestId(const Aws::String &value)
DescribeTrackerResult & WithUpdateTime(const Aws::Utils::DateTime &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