AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreatePlaceIndexResult.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 CreatePlaceIndexResult() = default;
29
31
34 inline const Aws::String& GetIndexName() const { return m_indexName; }
35 template <typename IndexNameT = Aws::String>
36 void SetIndexName(IndexNameT&& value) {
37 m_indexNameHasBeenSet = true;
38 m_indexName = std::forward<IndexNameT>(value);
39 }
40 template <typename IndexNameT = Aws::String>
42 SetIndexName(std::forward<IndexNameT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
55 template <typename IndexArnT = Aws::String>
56 void SetIndexArn(IndexArnT&& value) {
57 m_indexArnHasBeenSet = true;
58 m_indexArn = std::forward<IndexArnT>(value);
59 }
60 template <typename IndexArnT = Aws::String>
62 SetIndexArn(std::forward<IndexArnT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
74 template <typename CreateTimeT = Aws::Utils::DateTime>
75 void SetCreateTime(CreateTimeT&& value) {
76 m_createTimeHasBeenSet = true;
77 m_createTime = std::forward<CreateTimeT>(value);
78 }
79 template <typename CreateTimeT = Aws::Utils::DateTime>
80 CreatePlaceIndexResult& WithCreateTime(CreateTimeT&& value) {
81 SetCreateTime(std::forward<CreateTimeT>(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_indexName;
102
103 Aws::String m_indexArn;
104
105 Aws::Utils::DateTime m_createTime{};
106
107 Aws::String m_requestId;
108 bool m_indexNameHasBeenSet = false;
109 bool m_indexArnHasBeenSet = false;
110 bool m_createTimeHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace LocationService
116} // namespace Aws
AWS_LOCATIONSERVICE_API CreatePlaceIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API CreatePlaceIndexResult()=default
AWS_LOCATIONSERVICE_API CreatePlaceIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePlaceIndexResult & WithCreateTime(CreateTimeT &&value)
CreatePlaceIndexResult & WithIndexArn(IndexArnT &&value)
CreatePlaceIndexResult & WithIndexName(IndexNameT &&value)
CreatePlaceIndexResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue