AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline const Aws::String& GetApiId() const{ return m_apiId; }
40 inline void SetApiId(const Aws::String& value) { m_apiId = value; }
41 inline void SetApiId(Aws::String&& value) { m_apiId = std::move(value); }
42 inline void SetApiId(const char* value) { m_apiId.assign(value); }
43 inline GetApiMappingResult& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
44 inline GetApiMappingResult& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
45 inline GetApiMappingResult& WithApiId(const char* value) { SetApiId(value); return *this;}
47
49
52 inline const Aws::String& GetApiMappingId() const{ return m_apiMappingId; }
53 inline void SetApiMappingId(const Aws::String& value) { m_apiMappingId = value; }
54 inline void SetApiMappingId(Aws::String&& value) { m_apiMappingId = std::move(value); }
55 inline void SetApiMappingId(const char* value) { m_apiMappingId.assign(value); }
56 inline GetApiMappingResult& WithApiMappingId(const Aws::String& value) { SetApiMappingId(value); return *this;}
57 inline GetApiMappingResult& WithApiMappingId(Aws::String&& value) { SetApiMappingId(std::move(value)); return *this;}
58 inline GetApiMappingResult& WithApiMappingId(const char* value) { SetApiMappingId(value); return *this;}
60
62
65 inline const Aws::String& GetApiMappingKey() const{ return m_apiMappingKey; }
66 inline void SetApiMappingKey(const Aws::String& value) { m_apiMappingKey = value; }
67 inline void SetApiMappingKey(Aws::String&& value) { m_apiMappingKey = std::move(value); }
68 inline void SetApiMappingKey(const char* value) { m_apiMappingKey.assign(value); }
69 inline GetApiMappingResult& WithApiMappingKey(const Aws::String& value) { SetApiMappingKey(value); return *this;}
70 inline GetApiMappingResult& WithApiMappingKey(Aws::String&& value) { SetApiMappingKey(std::move(value)); return *this;}
71 inline GetApiMappingResult& WithApiMappingKey(const char* value) { SetApiMappingKey(value); return *this;}
73
75
78 inline const Aws::String& GetStage() const{ return m_stage; }
79 inline void SetStage(const Aws::String& value) { m_stage = value; }
80 inline void SetStage(Aws::String&& value) { m_stage = std::move(value); }
81 inline void SetStage(const char* value) { m_stage.assign(value); }
82 inline GetApiMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
83 inline GetApiMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
84 inline GetApiMappingResult& WithStage(const char* value) { SetStage(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetApiMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetApiMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetApiMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_apiId;
100
101 Aws::String m_apiMappingId;
102
103 Aws::String m_apiMappingKey;
104
105 Aws::String m_stage;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace ApiGatewayV2
112} // namespace Aws
GetApiMappingResult & WithApiMappingId(const Aws::String &value)
GetApiMappingResult & WithApiMappingKey(const Aws::String &value)
GetApiMappingResult & WithStage(const char *value)
GetApiMappingResult & WithRequestId(const char *value)
GetApiMappingResult & WithApiMappingKey(Aws::String &&value)
AWS_APIGATEWAYV2_API GetApiMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiMappingResult & WithApiId(const char *value)
GetApiMappingResult & WithRequestId(Aws::String &&value)
GetApiMappingResult & WithStage(Aws::String &&value)
GetApiMappingResult & WithApiMappingId(Aws::String &&value)
GetApiMappingResult & WithRequestId(const Aws::String &value)
GetApiMappingResult & WithApiMappingId(const char *value)
GetApiMappingResult & WithApiMappingKey(const char *value)
AWS_APIGATEWAYV2_API GetApiMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApiMappingKey(const Aws::String &value)
GetApiMappingResult & WithApiId(const Aws::String &value)
GetApiMappingResult & WithStage(const Aws::String &value)
GetApiMappingResult & WithApiId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue