AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRouteResponseResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigatewayv2/model/ParameterConstraints.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApiGatewayV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APIGATEWAYV2_API GetRouteResponseResult();
35
36
38
42 inline const Aws::String& GetModelSelectionExpression() const{ return m_modelSelectionExpression; }
43 inline void SetModelSelectionExpression(const Aws::String& value) { m_modelSelectionExpression = value; }
44 inline void SetModelSelectionExpression(Aws::String&& value) { m_modelSelectionExpression = std::move(value); }
45 inline void SetModelSelectionExpression(const char* value) { m_modelSelectionExpression.assign(value); }
48 inline GetRouteResponseResult& WithModelSelectionExpression(const char* value) { SetModelSelectionExpression(value); return *this;}
50
52
55 inline const Aws::Map<Aws::String, Aws::String>& GetResponseModels() const{ return m_responseModels; }
56 inline void SetResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { m_responseModels = value; }
57 inline void SetResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { m_responseModels = std::move(value); }
60 inline GetRouteResponseResult& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModels.emplace(key, value); return *this; }
61 inline GetRouteResponseResult& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModels.emplace(std::move(key), value); return *this; }
62 inline GetRouteResponseResult& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
63 inline GetRouteResponseResult& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModels.emplace(std::move(key), std::move(value)); return *this; }
64 inline GetRouteResponseResult& AddResponseModels(const char* key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
65 inline GetRouteResponseResult& AddResponseModels(Aws::String&& key, const char* value) { m_responseModels.emplace(std::move(key), value); return *this; }
66 inline GetRouteResponseResult& AddResponseModels(const char* key, const char* value) { m_responseModels.emplace(key, value); return *this; }
68
70
73 inline const Aws::Map<Aws::String, ParameterConstraints>& GetResponseParameters() const{ return m_responseParameters; }
74 inline void SetResponseParameters(const Aws::Map<Aws::String, ParameterConstraints>& value) { m_responseParameters = value; }
75 inline void SetResponseParameters(Aws::Map<Aws::String, ParameterConstraints>&& value) { m_responseParameters = std::move(value); }
78 inline GetRouteResponseResult& AddResponseParameters(const Aws::String& key, const ParameterConstraints& value) { m_responseParameters.emplace(key, value); return *this; }
79 inline GetRouteResponseResult& AddResponseParameters(Aws::String&& key, const ParameterConstraints& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
80 inline GetRouteResponseResult& AddResponseParameters(const Aws::String& key, ParameterConstraints&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
81 inline GetRouteResponseResult& AddResponseParameters(Aws::String&& key, ParameterConstraints&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
82 inline GetRouteResponseResult& AddResponseParameters(const char* key, ParameterConstraints&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
83 inline GetRouteResponseResult& AddResponseParameters(const char* key, const ParameterConstraints& value) { m_responseParameters.emplace(key, value); return *this; }
85
87
90 inline const Aws::String& GetRouteResponseId() const{ return m_routeResponseId; }
91 inline void SetRouteResponseId(const Aws::String& value) { m_routeResponseId = value; }
92 inline void SetRouteResponseId(Aws::String&& value) { m_routeResponseId = std::move(value); }
93 inline void SetRouteResponseId(const char* value) { m_routeResponseId.assign(value); }
94 inline GetRouteResponseResult& WithRouteResponseId(const Aws::String& value) { SetRouteResponseId(value); return *this;}
95 inline GetRouteResponseResult& WithRouteResponseId(Aws::String&& value) { SetRouteResponseId(std::move(value)); return *this;}
96 inline GetRouteResponseResult& WithRouteResponseId(const char* value) { SetRouteResponseId(value); return *this;}
98
100
103 inline const Aws::String& GetRouteResponseKey() const{ return m_routeResponseKey; }
104 inline void SetRouteResponseKey(const Aws::String& value) { m_routeResponseKey = value; }
105 inline void SetRouteResponseKey(Aws::String&& value) { m_routeResponseKey = std::move(value); }
106 inline void SetRouteResponseKey(const char* value) { m_routeResponseKey.assign(value); }
107 inline GetRouteResponseResult& WithRouteResponseKey(const Aws::String& value) { SetRouteResponseKey(value); return *this;}
108 inline GetRouteResponseResult& WithRouteResponseKey(Aws::String&& value) { SetRouteResponseKey(std::move(value)); return *this;}
109 inline GetRouteResponseResult& WithRouteResponseKey(const char* value) { SetRouteResponseKey(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline GetRouteResponseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline GetRouteResponseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline GetRouteResponseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_modelSelectionExpression;
125
126 Aws::Map<Aws::String, Aws::String> m_responseModels;
127
129
130 Aws::String m_routeResponseId;
131
132 Aws::String m_routeResponseKey;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace ApiGatewayV2
139} // namespace Aws
GetRouteResponseResult & WithModelSelectionExpression(Aws::String &&value)
GetRouteResponseResult & WithModelSelectionExpression(const char *value)
AWS_APIGATEWAYV2_API GetRouteResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRouteResponseResult & WithResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
GetRouteResponseResult & AddResponseParameters(const char *key, ParameterConstraints &&value)
GetRouteResponseResult & WithRequestId(Aws::String &&value)
void SetResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
GetRouteResponseResult & AddResponseModels(const Aws::String &key, Aws::String &&value)
GetRouteResponseResult & AddResponseParameters(Aws::String &&key, ParameterConstraints &&value)
GetRouteResponseResult & WithRouteResponseId(const char *value)
GetRouteResponseResult & WithRouteResponseKey(Aws::String &&value)
GetRouteResponseResult & AddResponseParameters(Aws::String &&key, const ParameterConstraints &value)
GetRouteResponseResult & WithRouteResponseId(Aws::String &&value)
GetRouteResponseResult & AddResponseModels(Aws::String &&key, const Aws::String &value)
GetRouteResponseResult & AddResponseParameters(const Aws::String &key, const ParameterConstraints &value)
GetRouteResponseResult & WithModelSelectionExpression(const Aws::String &value)
GetRouteResponseResult & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
GetRouteResponseResult & WithRouteResponseKey(const Aws::String &value)
GetRouteResponseResult & WithRouteResponseKey(const char *value)
void SetResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
GetRouteResponseResult & WithResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
GetRouteResponseResult & AddResponseModels(Aws::String &&key, Aws::String &&value)
GetRouteResponseResult & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetResponseParameters() const
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
GetRouteResponseResult & AddResponseModels(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
GetRouteResponseResult & AddResponseModels(const Aws::String &key, const Aws::String &value)
GetRouteResponseResult & AddResponseParameters(const char *key, const ParameterConstraints &value)
GetRouteResponseResult & AddResponseModels(Aws::String &&key, const char *value)
GetRouteResponseResult & AddResponseParameters(const Aws::String &key, ParameterConstraints &&value)
GetRouteResponseResult & WithRouteResponseId(const Aws::String &value)
GetRouteResponseResult & WithRequestId(const char *value)
GetRouteResponseResult & AddResponseModels(const char *key, const char *value)
AWS_APIGATEWAYV2_API GetRouteResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRouteResponseResult & WithRequestId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue