AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateGeofenceCollectionResult.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/AWSString.h>
10#include <aws/location/LocationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LocationService {
24namespace Model {
26 public:
27 AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult() = default;
30
32
35 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
36 template <typename CollectionNameT = Aws::String>
37 void SetCollectionName(CollectionNameT&& value) {
38 m_collectionNameHasBeenSet = true;
39 m_collectionName = std::forward<CollectionNameT>(value);
40 }
41 template <typename CollectionNameT = Aws::String>
43 SetCollectionName(std::forward<CollectionNameT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
57 template <typename CollectionArnT = Aws::String>
58 void SetCollectionArn(CollectionArnT&& value) {
59 m_collectionArnHasBeenSet = true;
60 m_collectionArn = std::forward<CollectionArnT>(value);
61 }
62 template <typename CollectionArnT = Aws::String>
64 SetCollectionArn(std::forward<CollectionArnT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
76 template <typename CreateTimeT = Aws::Utils::DateTime>
77 void SetCreateTime(CreateTimeT&& value) {
78 m_createTimeHasBeenSet = true;
79 m_createTime = std::forward<CreateTimeT>(value);
80 }
81 template <typename CreateTimeT = Aws::Utils::DateTime>
83 SetCreateTime(std::forward<CreateTimeT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::String m_collectionName;
106
107 Aws::String m_collectionArn;
108
109 Aws::Utils::DateTime m_createTime{};
110
111 Aws::String m_requestId;
112 Aws::Http::HttpResponseCode m_HttpResponseCode;
113 bool m_collectionNameHasBeenSet = false;
114 bool m_collectionArnHasBeenSet = false;
115 bool m_createTimeHasBeenSet = false;
116 bool m_requestIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace LocationService
121} // namespace Aws
AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult()=default
AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGeofenceCollectionResult & WithCreateTime(CreateTimeT &&value)
AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGeofenceCollectionResult & WithRequestId(RequestIdT &&value)
CreateGeofenceCollectionResult & WithCollectionName(CollectionNameT &&value)
CreateGeofenceCollectionResult & WithCollectionArn(CollectionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue