AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeRouteCalculatorResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/location/LocationService_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService {
25namespace Model {
27 public:
28 AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult() = default;
31
33
36 inline const Aws::String& GetCalculatorName() const { return m_calculatorName; }
37 template <typename CalculatorNameT = Aws::String>
38 void SetCalculatorName(CalculatorNameT&& value) {
39 m_calculatorNameHasBeenSet = true;
40 m_calculatorName = std::forward<CalculatorNameT>(value);
41 }
42 template <typename CalculatorNameT = Aws::String>
44 SetCalculatorName(std::forward<CalculatorNameT>(value));
45 return *this;
46 }
48
50
57 inline const Aws::String& GetCalculatorArn() const { return m_calculatorArn; }
58 template <typename CalculatorArnT = Aws::String>
59 void SetCalculatorArn(CalculatorArnT&& value) {
60 m_calculatorArnHasBeenSet = true;
61 m_calculatorArn = std::forward<CalculatorArnT>(value);
62 }
63 template <typename CalculatorArnT = Aws::String>
65 SetCalculatorArn(std::forward<CalculatorArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
94 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
95 template <typename CreateTimeT = Aws::Utils::DateTime>
96 void SetCreateTime(CreateTimeT&& value) {
97 m_createTimeHasBeenSet = true;
98 m_createTime = std::forward<CreateTimeT>(value);
99 }
100 template <typename CreateTimeT = Aws::Utils::DateTime>
102 SetCreateTime(std::forward<CreateTimeT>(value));
103 return *this;
104 }
106
108
114 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
115 template <typename UpdateTimeT = Aws::Utils::DateTime>
116 void SetUpdateTime(UpdateTimeT&& value) {
117 m_updateTimeHasBeenSet = true;
118 m_updateTime = std::forward<UpdateTimeT>(value);
119 }
120 template <typename UpdateTimeT = Aws::Utils::DateTime>
122 SetUpdateTime(std::forward<UpdateTimeT>(value));
123 return *this;
124 }
126
128
136 inline const Aws::String& GetDataSource() const { return m_dataSource; }
137 template <typename DataSourceT = Aws::String>
138 void SetDataSource(DataSourceT&& value) {
139 m_dataSourceHasBeenSet = true;
140 m_dataSource = std::forward<DataSourceT>(value);
141 }
142 template <typename DataSourceT = Aws::String>
144 SetDataSource(std::forward<DataSourceT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) {
156 m_tagsHasBeenSet = true;
157 m_tags = std::forward<TagsT>(value);
158 }
159 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
162 return *this;
163 }
164 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
165 DescribeRouteCalculatorResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 return *this;
169 }
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template <typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) {
177 m_requestIdHasBeenSet = true;
178 m_requestId = std::forward<RequestIdT>(value);
179 }
180 template <typename RequestIdT = Aws::String>
182 SetRequestId(std::forward<RequestIdT>(value));
183 return *this;
184 }
186 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
187
188 private:
189 Aws::String m_calculatorName;
190
191 Aws::String m_calculatorArn;
192
193 Aws::String m_description;
194
195 Aws::Utils::DateTime m_createTime{};
196
197 Aws::Utils::DateTime m_updateTime{};
198
199 Aws::String m_dataSource;
200
202
203 Aws::String m_requestId;
204 Aws::Http::HttpResponseCode m_HttpResponseCode;
205 bool m_calculatorNameHasBeenSet = false;
206 bool m_calculatorArnHasBeenSet = false;
207 bool m_descriptionHasBeenSet = false;
208 bool m_createTimeHasBeenSet = false;
209 bool m_updateTimeHasBeenSet = false;
210 bool m_dataSourceHasBeenSet = false;
211 bool m_tagsHasBeenSet = false;
212 bool m_requestIdHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace LocationService
217} // namespace Aws
DescribeRouteCalculatorResult & WithCalculatorArn(CalculatorArnT &&value)
DescribeRouteCalculatorResult & WithDescription(DescriptionT &&value)
DescribeRouteCalculatorResult & WithDataSource(DataSourceT &&value)
AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRouteCalculatorResult & WithRequestId(RequestIdT &&value)
DescribeRouteCalculatorResult & WithUpdateTime(UpdateTimeT &&value)
DescribeRouteCalculatorResult & WithCreateTime(CreateTimeT &&value)
DescribeRouteCalculatorResult & WithCalculatorName(CalculatorNameT &&value)
DescribeRouteCalculatorResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue