AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateRouteCalculatorResult.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/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 UpdateRouteCalculatorResult() = 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
55 inline const Aws::String& GetCalculatorArn() const { return m_calculatorArn; }
56 template <typename CalculatorArnT = Aws::String>
57 void SetCalculatorArn(CalculatorArnT&& value) {
58 m_calculatorArnHasBeenSet = true;
59 m_calculatorArn = std::forward<CalculatorArnT>(value);
60 }
61 template <typename CalculatorArnT = Aws::String>
63 SetCalculatorArn(std::forward<CalculatorArnT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
75 template <typename UpdateTimeT = Aws::Utils::DateTime>
76 void SetUpdateTime(UpdateTimeT&& value) {
77 m_updateTimeHasBeenSet = true;
78 m_updateTime = std::forward<UpdateTimeT>(value);
79 }
80 template <typename UpdateTimeT = Aws::Utils::DateTime>
82 SetUpdateTime(std::forward<UpdateTimeT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_calculatorName;
105
106 Aws::String m_calculatorArn;
107
108 Aws::Utils::DateTime m_updateTime{};
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_calculatorNameHasBeenSet = false;
113 bool m_calculatorArnHasBeenSet = false;
114 bool m_updateTimeHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace LocationService
120} // namespace Aws
UpdateRouteCalculatorResult & WithUpdateTime(UpdateTimeT &&value)
AWS_LOCATIONSERVICE_API UpdateRouteCalculatorResult()=default
AWS_LOCATIONSERVICE_API UpdateRouteCalculatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRouteCalculatorResult & WithCalculatorName(CalculatorNameT &&value)
UpdateRouteCalculatorResult & WithCalculatorArn(CalculatorArnT &&value)
AWS_LOCATIONSERVICE_API UpdateRouteCalculatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRouteCalculatorResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue