AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
42 inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; }
43 inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); }
44 inline void SetCollectionName(const char* value) { m_collectionName.assign(value); }
46 inline DescribeGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
47 inline DescribeGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
49
51
58 inline const Aws::String& GetCollectionArn() const{ return m_collectionArn; }
59 inline void SetCollectionArn(const Aws::String& value) { m_collectionArn = value; }
60 inline void SetCollectionArn(Aws::String&& value) { m_collectionArn = std::move(value); }
61 inline void SetCollectionArn(const char* value) { m_collectionArn.assign(value); }
63 inline DescribeGeofenceCollectionResult& WithCollectionArn(Aws::String&& value) { SetCollectionArn(std::move(value)); return *this;}
64 inline DescribeGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(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 DescribeGeofenceCollectionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline DescribeGeofenceCollectionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline DescribeGeofenceCollectionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
87 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
88 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
89 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
90 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
91 inline DescribeGeofenceCollectionResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
92 inline DescribeGeofenceCollectionResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
93 inline DescribeGeofenceCollectionResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
101 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
102 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
104 inline DescribeGeofenceCollectionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
105 inline DescribeGeofenceCollectionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
106 inline DescribeGeofenceCollectionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
107 inline DescribeGeofenceCollectionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
108 inline DescribeGeofenceCollectionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
109 inline DescribeGeofenceCollectionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
110 inline DescribeGeofenceCollectionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
111 inline DescribeGeofenceCollectionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
113
115
120 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
121 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
122 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
124 inline DescribeGeofenceCollectionResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
126
128
133 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
134 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
135 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
137 inline DescribeGeofenceCollectionResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
139
141
144 inline int GetGeofenceCount() const{ return m_geofenceCount; }
145 inline void SetGeofenceCount(int value) { m_geofenceCount = value; }
146 inline DescribeGeofenceCollectionResult& WithGeofenceCount(int value) { SetGeofenceCount(value); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const{ return m_requestId; }
152 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
153 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
154 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
155 inline DescribeGeofenceCollectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 inline DescribeGeofenceCollectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
157 inline DescribeGeofenceCollectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
159 private:
160
161 Aws::String m_collectionName;
162
163 Aws::String m_collectionArn;
164
165 Aws::String m_description;
166
167 Aws::String m_kmsKeyId;
168
170
171 Aws::Utils::DateTime m_createTime;
172
173 Aws::Utils::DateTime m_updateTime;
174
175 int m_geofenceCount;
176
177 Aws::String m_requestId;
178 };
179
180} // namespace Model
181} // namespace LocationService
182} // namespace Aws
DescribeGeofenceCollectionResult & WithCollectionArn(const char *value)
DescribeGeofenceCollectionResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeGeofenceCollectionResult & WithRequestId(const char *value)
DescribeGeofenceCollectionResult & WithDescription(const char *value)
DescribeGeofenceCollectionResult & WithCreateTime(const Aws::Utils::DateTime &value)
DescribeGeofenceCollectionResult & AddTags(const char *key, const char *value)
AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGeofenceCollectionResult & WithKmsKeyId(Aws::String &&value)
DescribeGeofenceCollectionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeGeofenceCollectionResult & WithKmsKeyId(const char *value)
DescribeGeofenceCollectionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeGeofenceCollectionResult & AddTags(const char *key, Aws::String &&value)
DescribeGeofenceCollectionResult & WithCollectionName(const Aws::String &value)
DescribeGeofenceCollectionResult & WithCollectionArn(Aws::String &&value)
DescribeGeofenceCollectionResult & WithUpdateTime(const Aws::Utils::DateTime &value)
DescribeGeofenceCollectionResult & WithRequestId(const Aws::String &value)
DescribeGeofenceCollectionResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeGeofenceCollectionResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGeofenceCollectionResult & WithUpdateTime(Aws::Utils::DateTime &&value)
DescribeGeofenceCollectionResult & WithCreateTime(Aws::Utils::DateTime &&value)
DescribeGeofenceCollectionResult & AddTags(Aws::String &&key, const char *value)
DescribeGeofenceCollectionResult & WithKmsKeyId(const Aws::String &value)
DescribeGeofenceCollectionResult & WithDescription(Aws::String &&value)
DescribeGeofenceCollectionResult & WithCollectionName(Aws::String &&value)
DescribeGeofenceCollectionResult & WithRequestId(Aws::String &&value)
DescribeGeofenceCollectionResult & WithCollectionArn(const Aws::String &value)
DescribeGeofenceCollectionResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeGeofenceCollectionResult & WithDescription(const Aws::String &value)
DescribeGeofenceCollectionResult & WithCollectionName(const char *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