AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
DescribeGeofenceCollectionResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LocationService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult() = default;
35
36
38
41 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
42 template<typename CollectionNameT = Aws::String>
43 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::forward<CollectionNameT>(value); }
44 template<typename CollectionNameT = Aws::String>
45 DescribeGeofenceCollectionResult& WithCollectionName(CollectionNameT&& value) { SetCollectionName(std::forward<CollectionNameT>(value)); return *this;}
47
49
56 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
57 template<typename CollectionArnT = Aws::String>
58 void SetCollectionArn(CollectionArnT&& value) { m_collectionArnHasBeenSet = true; m_collectionArn = std::forward<CollectionArnT>(value); }
59 template<typename CollectionArnT = Aws::String>
60 DescribeGeofenceCollectionResult& WithCollectionArn(CollectionArnT&& value) { SetCollectionArn(std::forward<CollectionArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 DescribeGeofenceCollectionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
81 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
82 template<typename KmsKeyIdT = Aws::String>
83 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
84 template<typename KmsKeyIdT = Aws::String>
85 DescribeGeofenceCollectionResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
95 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 DescribeGeofenceCollectionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
97 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
98 DescribeGeofenceCollectionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
99 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
100 }
102
104
109 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
110 template<typename CreateTimeT = Aws::Utils::DateTime>
111 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
112 template<typename CreateTimeT = Aws::Utils::DateTime>
113 DescribeGeofenceCollectionResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
115
117
122 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
123 template<typename UpdateTimeT = Aws::Utils::DateTime>
124 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
125 template<typename UpdateTimeT = Aws::Utils::DateTime>
126 DescribeGeofenceCollectionResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
128
130
133 inline int GetGeofenceCount() const { return m_geofenceCount; }
134 inline void SetGeofenceCount(int value) { m_geofenceCountHasBeenSet = true; m_geofenceCount = value; }
135 inline DescribeGeofenceCollectionResult& WithGeofenceCount(int value) { SetGeofenceCount(value); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template<typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
143 template<typename RequestIdT = Aws::String>
144 DescribeGeofenceCollectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
146 private:
147
148 Aws::String m_collectionName;
149 bool m_collectionNameHasBeenSet = false;
150
151 Aws::String m_collectionArn;
152 bool m_collectionArnHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::String m_kmsKeyId;
158 bool m_kmsKeyIdHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createTime{};
164 bool m_createTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_updateTime{};
167 bool m_updateTimeHasBeenSet = false;
168
169 int m_geofenceCount{0};
170 bool m_geofenceCountHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace LocationService
178} // 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