AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
UpdateApiMappingResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_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 ApiGatewayV2 {
23namespace Model {
25 public:
26 AWS_APIGATEWAYV2_API UpdateApiMappingResult() = default;
29
31
34 inline const Aws::String& GetApiId() const { return m_apiId; }
35 template <typename ApiIdT = Aws::String>
36 void SetApiId(ApiIdT&& value) {
37 m_apiIdHasBeenSet = true;
38 m_apiId = std::forward<ApiIdT>(value);
39 }
40 template <typename ApiIdT = Aws::String>
42 SetApiId(std::forward<ApiIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetApiMappingId() const { return m_apiMappingId; }
52 template <typename ApiMappingIdT = Aws::String>
53 void SetApiMappingId(ApiMappingIdT&& value) {
54 m_apiMappingIdHasBeenSet = true;
55 m_apiMappingId = std::forward<ApiMappingIdT>(value);
56 }
57 template <typename ApiMappingIdT = Aws::String>
58 UpdateApiMappingResult& WithApiMappingId(ApiMappingIdT&& value) {
59 SetApiMappingId(std::forward<ApiMappingIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetApiMappingKey() const { return m_apiMappingKey; }
69 template <typename ApiMappingKeyT = Aws::String>
70 void SetApiMappingKey(ApiMappingKeyT&& value) {
71 m_apiMappingKeyHasBeenSet = true;
72 m_apiMappingKey = std::forward<ApiMappingKeyT>(value);
73 }
74 template <typename ApiMappingKeyT = Aws::String>
75 UpdateApiMappingResult& WithApiMappingKey(ApiMappingKeyT&& value) {
76 SetApiMappingKey(std::forward<ApiMappingKeyT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetStage() const { return m_stage; }
86 template <typename StageT = Aws::String>
87 void SetStage(StageT&& value) {
88 m_stageHasBeenSet = true;
89 m_stage = std::forward<StageT>(value);
90 }
91 template <typename StageT = Aws::String>
93 SetStage(std::forward<StageT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_apiId;
116
117 Aws::String m_apiMappingId;
118
119 Aws::String m_apiMappingKey;
120
121 Aws::String m_stage;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_apiIdHasBeenSet = false;
126 bool m_apiMappingIdHasBeenSet = false;
127 bool m_apiMappingKeyHasBeenSet = false;
128 bool m_stageHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace ApiGatewayV2
134} // namespace Aws
UpdateApiMappingResult & WithStage(StageT &&value)
UpdateApiMappingResult & WithApiMappingId(ApiMappingIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_APIGATEWAYV2_API UpdateApiMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiMappingResult & WithApiMappingKey(ApiMappingKeyT &&value)
UpdateApiMappingResult & WithApiId(ApiIdT &&value)
AWS_APIGATEWAYV2_API UpdateApiMappingResult()=default
AWS_APIGATEWAYV2_API UpdateApiMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiMappingResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue