AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateMapResult.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 CreateMapResult() = default;
29
31
34 inline const Aws::String& GetMapName() const { return m_mapName; }
35 template <typename MapNameT = Aws::String>
36 void SetMapName(MapNameT&& value) {
37 m_mapNameHasBeenSet = true;
38 m_mapName = std::forward<MapNameT>(value);
39 }
40 template <typename MapNameT = Aws::String>
41 CreateMapResult& WithMapName(MapNameT&& value) {
42 SetMapName(std::forward<MapNameT>(value));
43 return *this;
44 }
46
48
53 inline const Aws::String& GetMapArn() const { return m_mapArn; }
54 template <typename MapArnT = Aws::String>
55 void SetMapArn(MapArnT&& value) {
56 m_mapArnHasBeenSet = true;
57 m_mapArn = std::forward<MapArnT>(value);
58 }
59 template <typename MapArnT = Aws::String>
60 CreateMapResult& WithMapArn(MapArnT&& value) {
61 SetMapArn(std::forward<MapArnT>(value));
62 return *this;
63 }
65
67
72 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
73 template <typename CreateTimeT = Aws::Utils::DateTime>
74 void SetCreateTime(CreateTimeT&& value) {
75 m_createTimeHasBeenSet = true;
76 m_createTime = std::forward<CreateTimeT>(value);
77 }
78 template <typename CreateTimeT = Aws::Utils::DateTime>
79 CreateMapResult& WithCreateTime(CreateTimeT&& value) {
80 SetCreateTime(std::forward<CreateTimeT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
94 CreateMapResult& WithRequestId(RequestIdT&& value) {
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_mapName;
101
102 Aws::String m_mapArn;
103
104 Aws::Utils::DateTime m_createTime{};
105
106 Aws::String m_requestId;
107 bool m_mapNameHasBeenSet = false;
108 bool m_mapArnHasBeenSet = false;
109 bool m_createTimeHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace LocationService
115} // namespace Aws
AWS_LOCATIONSERVICE_API CreateMapResult()=default
AWS_LOCATIONSERVICE_API CreateMapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMapResult & WithRequestId(RequestIdT &&value)
CreateMapResult & WithMapArn(MapArnT &&value)
CreateMapResult & WithMapName(MapNameT &&value)
CreateMapResult & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_LOCATIONSERVICE_API CreateMapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue