AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
UpdatePlaceIndexResult.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 UpdatePlaceIndexResult() = default;
34
35
37
40 inline const Aws::String& GetIndexName() const { return m_indexName; }
41 template<typename IndexNameT = Aws::String>
42 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
43 template<typename IndexNameT = Aws::String>
44 UpdatePlaceIndexResult& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
46
48
54 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
55 template<typename IndexArnT = Aws::String>
56 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::forward<IndexArnT>(value); }
57 template<typename IndexArnT = Aws::String>
58 UpdatePlaceIndexResult& WithIndexArn(IndexArnT&& value) { SetIndexArn(std::forward<IndexArnT>(value)); return *this;}
60
62
67 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
68 template<typename UpdateTimeT = Aws::Utils::DateTime>
69 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
70 template<typename UpdateTimeT = Aws::Utils::DateTime>
71 UpdatePlaceIndexResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 UpdatePlaceIndexResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_indexName;
85 bool m_indexNameHasBeenSet = false;
86
87 Aws::String m_indexArn;
88 bool m_indexArnHasBeenSet = false;
89
90 Aws::Utils::DateTime m_updateTime{};
91 bool m_updateTimeHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LocationService
99} // namespace Aws
AWS_LOCATIONSERVICE_API UpdatePlaceIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API UpdatePlaceIndexResult()=default
AWS_LOCATIONSERVICE_API UpdatePlaceIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePlaceIndexResult & WithIndexArn(IndexArnT &&value)
UpdatePlaceIndexResult & WithRequestId(RequestIdT &&value)
UpdatePlaceIndexResult & WithIndexName(IndexNameT &&value)
UpdatePlaceIndexResult & WithUpdateTime(UpdateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue