AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateGeofenceCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/LocationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LocationService {
23namespace Model {
25 public:
26 AWS_LOCATIONSERVICE_API UpdateGeofenceCollectionResult() = default;
29
31
34 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
35 template <typename CollectionNameT = Aws::String>
36 void SetCollectionName(CollectionNameT&& value) {
37 m_collectionNameHasBeenSet = true;
38 m_collectionName = std::forward<CollectionNameT>(value);
39 }
40 template <typename CollectionNameT = Aws::String>
42 SetCollectionName(std::forward<CollectionNameT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
55 template <typename CollectionArnT = Aws::String>
56 void SetCollectionArn(CollectionArnT&& value) {
57 m_collectionArnHasBeenSet = true;
58 m_collectionArn = std::forward<CollectionArnT>(value);
59 }
60 template <typename CollectionArnT = Aws::String>
62 SetCollectionArn(std::forward<CollectionArnT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
74 template <typename UpdateTimeT = Aws::Utils::DateTime>
75 void SetUpdateTime(UpdateTimeT&& value) {
76 m_updateTimeHasBeenSet = true;
77 m_updateTime = std::forward<UpdateTimeT>(value);
78 }
79 template <typename UpdateTimeT = Aws::Utils::DateTime>
81 SetUpdateTime(std::forward<UpdateTimeT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_collectionName;
102
103 Aws::String m_collectionArn;
104
105 Aws::Utils::DateTime m_updateTime{};
106
107 Aws::String m_requestId;
108 bool m_collectionNameHasBeenSet = false;
109 bool m_collectionArnHasBeenSet = false;
110 bool m_updateTimeHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace LocationService
116} // namespace Aws
UpdateGeofenceCollectionResult & WithCollectionName(CollectionNameT &&value)
AWS_LOCATIONSERVICE_API UpdateGeofenceCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGeofenceCollectionResult & WithCollectionArn(CollectionArnT &&value)
AWS_LOCATIONSERVICE_API UpdateGeofenceCollectionResult()=default
UpdateGeofenceCollectionResult & WithUpdateTime(UpdateTimeT &&value)
AWS_LOCATIONSERVICE_API UpdateGeofenceCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGeofenceCollectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue