AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApiMappingResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ApiGatewayV2
24{
25namespace Model
26{
28 {
29 public:
30 AWS_APIGATEWAYV2_API GetApiMappingResult() = default;
33
34
36
39 inline const Aws::String& GetApiId() const { return m_apiId; }
40 template<typename ApiIdT = Aws::String>
41 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
42 template<typename ApiIdT = Aws::String>
43 GetApiMappingResult& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
45
47
50 inline const Aws::String& GetApiMappingId() const { return m_apiMappingId; }
51 template<typename ApiMappingIdT = Aws::String>
52 void SetApiMappingId(ApiMappingIdT&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::forward<ApiMappingIdT>(value); }
53 template<typename ApiMappingIdT = Aws::String>
54 GetApiMappingResult& WithApiMappingId(ApiMappingIdT&& value) { SetApiMappingId(std::forward<ApiMappingIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetApiMappingKey() const { return m_apiMappingKey; }
62 template<typename ApiMappingKeyT = Aws::String>
63 void SetApiMappingKey(ApiMappingKeyT&& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = std::forward<ApiMappingKeyT>(value); }
64 template<typename ApiMappingKeyT = Aws::String>
65 GetApiMappingResult& WithApiMappingKey(ApiMappingKeyT&& value) { SetApiMappingKey(std::forward<ApiMappingKeyT>(value)); return *this;}
67
69
72 inline const Aws::String& GetStage() const { return m_stage; }
73 template<typename StageT = Aws::String>
74 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
75 template<typename StageT = Aws::String>
76 GetApiMappingResult& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetApiMappingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_apiId;
90 bool m_apiIdHasBeenSet = false;
91
92 Aws::String m_apiMappingId;
93 bool m_apiMappingIdHasBeenSet = false;
94
95 Aws::String m_apiMappingKey;
96 bool m_apiMappingKeyHasBeenSet = false;
97
98 Aws::String m_stage;
99 bool m_stageHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ApiGatewayV2
107} // namespace Aws
AWS_APIGATEWAYV2_API GetApiMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiMappingResult & WithApiId(ApiIdT &&value)
AWS_APIGATEWAYV2_API GetApiMappingResult()=default
GetApiMappingResult & WithApiMappingKey(ApiMappingKeyT &&value)
GetApiMappingResult & WithStage(StageT &&value)
AWS_APIGATEWAYV2_API GetApiMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiMappingResult & WithApiMappingId(ApiMappingIdT &&value)
GetApiMappingResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue