AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateApiMappingResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2 {
22namespace Model {
24 public:
25 AWS_APIGATEWAYV2_API CreateApiMappingResult() = default;
28
30
33 inline const Aws::String& GetApiId() const { return m_apiId; }
34 template <typename ApiIdT = Aws::String>
35 void SetApiId(ApiIdT&& value) {
36 m_apiIdHasBeenSet = true;
37 m_apiId = std::forward<ApiIdT>(value);
38 }
39 template <typename ApiIdT = Aws::String>
41 SetApiId(std::forward<ApiIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetApiMappingId() const { return m_apiMappingId; }
51 template <typename ApiMappingIdT = Aws::String>
52 void SetApiMappingId(ApiMappingIdT&& value) {
53 m_apiMappingIdHasBeenSet = true;
54 m_apiMappingId = std::forward<ApiMappingIdT>(value);
55 }
56 template <typename ApiMappingIdT = Aws::String>
57 CreateApiMappingResult& WithApiMappingId(ApiMappingIdT&& value) {
58 SetApiMappingId(std::forward<ApiMappingIdT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetApiMappingKey() const { return m_apiMappingKey; }
68 template <typename ApiMappingKeyT = Aws::String>
69 void SetApiMappingKey(ApiMappingKeyT&& value) {
70 m_apiMappingKeyHasBeenSet = true;
71 m_apiMappingKey = std::forward<ApiMappingKeyT>(value);
72 }
73 template <typename ApiMappingKeyT = Aws::String>
74 CreateApiMappingResult& WithApiMappingKey(ApiMappingKeyT&& value) {
75 SetApiMappingKey(std::forward<ApiMappingKeyT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetStage() const { return m_stage; }
85 template <typename StageT = Aws::String>
86 void SetStage(StageT&& value) {
87 m_stageHasBeenSet = true;
88 m_stage = std::forward<StageT>(value);
89 }
90 template <typename StageT = Aws::String>
92 SetStage(std::forward<StageT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_apiId;
113
114 Aws::String m_apiMappingId;
115
116 Aws::String m_apiMappingKey;
117
118 Aws::String m_stage;
119
120 Aws::String m_requestId;
121 bool m_apiIdHasBeenSet = false;
122 bool m_apiMappingIdHasBeenSet = false;
123 bool m_apiMappingKeyHasBeenSet = false;
124 bool m_stageHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ApiGatewayV2
130} // namespace Aws
AWS_APIGATEWAYV2_API CreateApiMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API CreateApiMappingResult()=default
AWS_APIGATEWAYV2_API CreateApiMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiMappingResult & WithStage(StageT &&value)
CreateApiMappingResult & WithApiMappingId(ApiMappingIdT &&value)
CreateApiMappingResult & WithRequestId(RequestIdT &&value)
CreateApiMappingResult & WithApiMappingKey(ApiMappingKeyT &&value)
CreateApiMappingResult & WithApiId(ApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue