AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CreateGeofenceCollectionResult.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult() = default;
34
35
37
40 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
41 template<typename CollectionNameT = Aws::String>
42 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::forward<CollectionNameT>(value); }
43 template<typename CollectionNameT = Aws::String>
44 CreateGeofenceCollectionResult& WithCollectionName(CollectionNameT&& value) { SetCollectionName(std::forward<CollectionNameT>(value)); return *this;}
46
48
55 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
56 template<typename CollectionArnT = Aws::String>
57 void SetCollectionArn(CollectionArnT&& value) { m_collectionArnHasBeenSet = true; m_collectionArn = std::forward<CollectionArnT>(value); }
58 template<typename CollectionArnT = Aws::String>
59 CreateGeofenceCollectionResult& WithCollectionArn(CollectionArnT&& value) { SetCollectionArn(std::forward<CollectionArnT>(value)); return *this;}
61
63
68 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
69 template<typename CreateTimeT = Aws::Utils::DateTime>
70 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
71 template<typename CreateTimeT = Aws::Utils::DateTime>
72 CreateGeofenceCollectionResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 CreateGeofenceCollectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_collectionName;
86 bool m_collectionNameHasBeenSet = false;
87
88 Aws::String m_collectionArn;
89 bool m_collectionArnHasBeenSet = false;
90
91 Aws::Utils::DateTime m_createTime{};
92 bool m_createTimeHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace LocationService
100} // 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