AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeGeofenceCollectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/location/LocationService_EXPORTS.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 DescribeGeofenceCollectionResult() = default;
32
34
37 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
38 template <typename CollectionNameT = Aws::String>
39 void SetCollectionName(CollectionNameT&& value) {
40 m_collectionNameHasBeenSet = true;
41 m_collectionName = std::forward<CollectionNameT>(value);
42 }
43 template <typename CollectionNameT = Aws::String>
45 SetCollectionName(std::forward<CollectionNameT>(value));
46 return *this;
47 }
49
51
58 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
59 template <typename CollectionArnT = Aws::String>
60 void SetCollectionArn(CollectionArnT&& value) {
61 m_collectionArnHasBeenSet = true;
62 m_collectionArn = std::forward<CollectionArnT>(value);
63 }
64 template <typename CollectionArnT = Aws::String>
66 SetCollectionArn(std::forward<CollectionArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
95 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
96 template <typename KmsKeyIdT = Aws::String>
97 void SetKmsKeyId(KmsKeyIdT&& value) {
98 m_kmsKeyIdHasBeenSet = true;
99 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
100 }
101 template <typename KmsKeyIdT = Aws::String>
103 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
113 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 void SetTags(TagsT&& value) {
115 m_tagsHasBeenSet = true;
116 m_tags = std::forward<TagsT>(value);
117 }
118 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 SetTags(std::forward<TagsT>(value));
121 return *this;
122 }
123 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
124 DescribeGeofenceCollectionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
125 m_tagsHasBeenSet = true;
126 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
127 return *this;
128 }
130
132
137 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
138 template <typename CreateTimeT = Aws::Utils::DateTime>
139 void SetCreateTime(CreateTimeT&& value) {
140 m_createTimeHasBeenSet = true;
141 m_createTime = std::forward<CreateTimeT>(value);
142 }
143 template <typename CreateTimeT = Aws::Utils::DateTime>
145 SetCreateTime(std::forward<CreateTimeT>(value));
146 return *this;
147 }
149
151
156 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
157 template <typename UpdateTimeT = Aws::Utils::DateTime>
158 void SetUpdateTime(UpdateTimeT&& value) {
159 m_updateTimeHasBeenSet = true;
160 m_updateTime = std::forward<UpdateTimeT>(value);
161 }
162 template <typename UpdateTimeT = Aws::Utils::DateTime>
164 SetUpdateTime(std::forward<UpdateTimeT>(value));
165 return *this;
166 }
168
170
173 inline int GetGeofenceCount() const { return m_geofenceCount; }
174 inline void SetGeofenceCount(int value) {
175 m_geofenceCountHasBeenSet = true;
176 m_geofenceCount = value;
177 }
179 SetGeofenceCount(value);
180 return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template <typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) {
189 m_requestIdHasBeenSet = true;
190 m_requestId = std::forward<RequestIdT>(value);
191 }
192 template <typename RequestIdT = Aws::String>
194 SetRequestId(std::forward<RequestIdT>(value));
195 return *this;
196 }
198 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
199
200 private:
201 Aws::String m_collectionName;
202
203 Aws::String m_collectionArn;
204
205 Aws::String m_description;
206
207 Aws::String m_kmsKeyId;
208
210
211 Aws::Utils::DateTime m_createTime{};
212
213 Aws::Utils::DateTime m_updateTime{};
214
215 int m_geofenceCount{0};
216
217 Aws::String m_requestId;
218 Aws::Http::HttpResponseCode m_HttpResponseCode;
219 bool m_collectionNameHasBeenSet = false;
220 bool m_collectionArnHasBeenSet = false;
221 bool m_descriptionHasBeenSet = false;
222 bool m_kmsKeyIdHasBeenSet = false;
223 bool m_tagsHasBeenSet = false;
224 bool m_createTimeHasBeenSet = false;
225 bool m_updateTimeHasBeenSet = false;
226 bool m_geofenceCountHasBeenSet = false;
227 bool m_requestIdHasBeenSet = false;
228};
229
230} // namespace Model
231} // namespace LocationService
232} // namespace Aws
AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult()=default
DescribeGeofenceCollectionResult & WithKmsKeyId(KmsKeyIdT &&value)
DescribeGeofenceCollectionResult & WithUpdateTime(UpdateTimeT &&value)
DescribeGeofenceCollectionResult & WithCreateTime(CreateTimeT &&value)
AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGeofenceCollectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeGeofenceCollectionResult & WithCollectionName(CollectionNameT &&value)
DescribeGeofenceCollectionResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGeofenceCollectionResult & WithCollectionArn(CollectionArnT &&value)
DescribeGeofenceCollectionResult & WithDescription(DescriptionT &&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