AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeRouteCalculatorResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 DescribeRouteCalculatorResult() = default;
30
32
35 inline const Aws::String& GetCalculatorName() const { return m_calculatorName; }
36 template <typename CalculatorNameT = Aws::String>
37 void SetCalculatorName(CalculatorNameT&& value) {
38 m_calculatorNameHasBeenSet = true;
39 m_calculatorName = std::forward<CalculatorNameT>(value);
40 }
41 template <typename CalculatorNameT = Aws::String>
43 SetCalculatorName(std::forward<CalculatorNameT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::String& GetCalculatorArn() const { return m_calculatorArn; }
57 template <typename CalculatorArnT = Aws::String>
58 void SetCalculatorArn(CalculatorArnT&& value) {
59 m_calculatorArnHasBeenSet = true;
60 m_calculatorArn = std::forward<CalculatorArnT>(value);
61 }
62 template <typename CalculatorArnT = Aws::String>
64 SetCalculatorArn(std::forward<CalculatorArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
93 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
94 template <typename CreateTimeT = Aws::Utils::DateTime>
95 void SetCreateTime(CreateTimeT&& value) {
96 m_createTimeHasBeenSet = true;
97 m_createTime = std::forward<CreateTimeT>(value);
98 }
99 template <typename CreateTimeT = Aws::Utils::DateTime>
101 SetCreateTime(std::forward<CreateTimeT>(value));
102 return *this;
103 }
105
107
113 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
114 template <typename UpdateTimeT = Aws::Utils::DateTime>
115 void SetUpdateTime(UpdateTimeT&& value) {
116 m_updateTimeHasBeenSet = true;
117 m_updateTime = std::forward<UpdateTimeT>(value);
118 }
119 template <typename UpdateTimeT = Aws::Utils::DateTime>
121 SetUpdateTime(std::forward<UpdateTimeT>(value));
122 return *this;
123 }
125
127
135 inline const Aws::String& GetDataSource() const { return m_dataSource; }
136 template <typename DataSourceT = Aws::String>
137 void SetDataSource(DataSourceT&& value) {
138 m_dataSourceHasBeenSet = true;
139 m_dataSource = std::forward<DataSourceT>(value);
140 }
141 template <typename DataSourceT = Aws::String>
143 SetDataSource(std::forward<DataSourceT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
153 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 void SetTags(TagsT&& value) {
155 m_tagsHasBeenSet = true;
156 m_tags = std::forward<TagsT>(value);
157 }
158 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 SetTags(std::forward<TagsT>(value));
161 return *this;
162 }
163 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
164 DescribeRouteCalculatorResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
165 m_tagsHasBeenSet = true;
166 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 return *this;
168 }
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template <typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) {
176 m_requestIdHasBeenSet = true;
177 m_requestId = std::forward<RequestIdT>(value);
178 }
179 template <typename RequestIdT = Aws::String>
181 SetRequestId(std::forward<RequestIdT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_calculatorName;
187
188 Aws::String m_calculatorArn;
189
190 Aws::String m_description;
191
192 Aws::Utils::DateTime m_createTime{};
193
194 Aws::Utils::DateTime m_updateTime{};
195
196 Aws::String m_dataSource;
197
199
200 Aws::String m_requestId;
201 bool m_calculatorNameHasBeenSet = false;
202 bool m_calculatorArnHasBeenSet = false;
203 bool m_descriptionHasBeenSet = false;
204 bool m_createTimeHasBeenSet = false;
205 bool m_updateTimeHasBeenSet = false;
206 bool m_dataSourceHasBeenSet = false;
207 bool m_tagsHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace LocationService
213} // 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