AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
GetBasePathMappingResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.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 APIGateway {
23namespace Model {
31 public:
32 AWS_APIGATEWAY_API GetBasePathMappingResult() = default;
35
37
41 inline const Aws::String& GetBasePath() const { return m_basePath; }
42 template <typename BasePathT = Aws::String>
43 void SetBasePath(BasePathT&& value) {
44 m_basePathHasBeenSet = true;
45 m_basePath = std::forward<BasePathT>(value);
46 }
47 template <typename BasePathT = Aws::String>
49 SetBasePath(std::forward<BasePathT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
59 template <typename RestApiIdT = Aws::String>
60 void SetRestApiId(RestApiIdT&& value) {
61 m_restApiIdHasBeenSet = true;
62 m_restApiId = std::forward<RestApiIdT>(value);
63 }
64 template <typename RestApiIdT = Aws::String>
66 SetRestApiId(std::forward<RestApiIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStage() const { return m_stage; }
76 template <typename StageT = Aws::String>
77 void SetStage(StageT&& value) {
78 m_stageHasBeenSet = true;
79 m_stage = std::forward<StageT>(value);
80 }
81 template <typename StageT = Aws::String>
83 SetStage(std::forward<StageT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::String m_basePath;
106
107 Aws::String m_restApiId;
108
109 Aws::String m_stage;
110
111 Aws::String m_requestId;
112 Aws::Http::HttpResponseCode m_HttpResponseCode;
113 bool m_basePathHasBeenSet = false;
114 bool m_restApiIdHasBeenSet = false;
115 bool m_stageHasBeenSet = false;
116 bool m_requestIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace APIGateway
121} // namespace Aws
GetBasePathMappingResult & WithBasePath(BasePathT &&value)
AWS_APIGATEWAY_API GetBasePathMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBasePathMappingResult & WithStage(StageT &&value)
GetBasePathMappingResult & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API GetBasePathMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_APIGATEWAY_API GetBasePathMappingResult()=default
GetBasePathMappingResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue