AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateMapResult.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 UpdateMapResult() = default;
34
35
37
40 inline const Aws::String& GetMapName() const { return m_mapName; }
41 template<typename MapNameT = Aws::String>
42 void SetMapName(MapNameT&& value) { m_mapNameHasBeenSet = true; m_mapName = std::forward<MapNameT>(value); }
43 template<typename MapNameT = Aws::String>
44 UpdateMapResult& WithMapName(MapNameT&& value) { SetMapName(std::forward<MapNameT>(value)); return *this;}
46
48
53 inline const Aws::String& GetMapArn() const { return m_mapArn; }
54 template<typename MapArnT = Aws::String>
55 void SetMapArn(MapArnT&& value) { m_mapArnHasBeenSet = true; m_mapArn = std::forward<MapArnT>(value); }
56 template<typename MapArnT = Aws::String>
57 UpdateMapResult& WithMapArn(MapArnT&& value) { SetMapArn(std::forward<MapArnT>(value)); return *this;}
59
61
66 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
67 template<typename UpdateTimeT = Aws::Utils::DateTime>
68 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
69 template<typename UpdateTimeT = Aws::Utils::DateTime>
70 UpdateMapResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 UpdateMapResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_mapName;
84 bool m_mapNameHasBeenSet = false;
85
86 Aws::String m_mapArn;
87 bool m_mapArnHasBeenSet = false;
88
89 Aws::Utils::DateTime m_updateTime{};
90 bool m_updateTimeHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace LocationService
98} // namespace Aws
AWS_LOCATIONSERVICE_API UpdateMapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API UpdateMapResult()=default
UpdateMapResult & WithUpdateTime(UpdateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_LOCATIONSERVICE_API UpdateMapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMapResult & WithRequestId(RequestIdT &&value)
UpdateMapResult & WithMapName(MapNameT &&value)
UpdateMapResult & WithMapArn(MapArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue