AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreatePlaceIndexResult.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 CreatePlaceIndexResult() = default;
30
32
35 inline const Aws::String& GetIndexName() const { return m_indexName; }
36 template <typename IndexNameT = Aws::String>
37 void SetIndexName(IndexNameT&& value) {
38 m_indexNameHasBeenSet = true;
39 m_indexName = std::forward<IndexNameT>(value);
40 }
41 template <typename IndexNameT = Aws::String>
43 SetIndexName(std::forward<IndexNameT>(value));
44 return *this;
45 }
47
49
55 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
56 template <typename IndexArnT = Aws::String>
57 void SetIndexArn(IndexArnT&& value) {
58 m_indexArnHasBeenSet = true;
59 m_indexArn = std::forward<IndexArnT>(value);
60 }
61 template <typename IndexArnT = Aws::String>
63 SetIndexArn(std::forward<IndexArnT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
75 template <typename CreateTimeT = Aws::Utils::DateTime>
76 void SetCreateTime(CreateTimeT&& value) {
77 m_createTimeHasBeenSet = true;
78 m_createTime = std::forward<CreateTimeT>(value);
79 }
80 template <typename CreateTimeT = Aws::Utils::DateTime>
81 CreatePlaceIndexResult& WithCreateTime(CreateTimeT&& value) {
82 SetCreateTime(std::forward<CreateTimeT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_indexName;
105
106 Aws::String m_indexArn;
107
108 Aws::Utils::DateTime m_createTime{};
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_indexNameHasBeenSet = false;
113 bool m_indexArnHasBeenSet = false;
114 bool m_createTimeHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace LocationService
120} // 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