AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
RoutingRuleActionInvokeApi.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApiGatewayV2 {
20namespace Model {
21
28 public:
29 AWS_APIGATEWAYV2_API RoutingRuleActionInvokeApi() = default;
32 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetApiId() const { return m_apiId; }
37 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
38 template <typename ApiIdT = Aws::String>
39 void SetApiId(ApiIdT&& value) {
40 m_apiIdHasBeenSet = true;
41 m_apiId = std::forward<ApiIdT>(value);
42 }
43 template <typename ApiIdT = Aws::String>
45 SetApiId(std::forward<ApiIdT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetStage() const { return m_stage; }
53 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
54 template <typename StageT = Aws::String>
55 void SetStage(StageT&& value) {
56 m_stageHasBeenSet = true;
57 m_stage = std::forward<StageT>(value);
58 }
59 template <typename StageT = Aws::String>
61 SetStage(std::forward<StageT>(value));
62 return *this;
63 }
65
67
70 inline bool GetStripBasePath() const { return m_stripBasePath; }
71 inline bool StripBasePathHasBeenSet() const { return m_stripBasePathHasBeenSet; }
72 inline void SetStripBasePath(bool value) {
73 m_stripBasePathHasBeenSet = true;
74 m_stripBasePath = value;
75 }
77 SetStripBasePath(value);
78 return *this;
79 }
81 private:
82 Aws::String m_apiId;
83
84 Aws::String m_stage;
85
86 bool m_stripBasePath{false};
87 bool m_apiIdHasBeenSet = false;
88 bool m_stageHasBeenSet = false;
89 bool m_stripBasePathHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace ApiGatewayV2
94} // namespace Aws
RoutingRuleActionInvokeApi & WithApiId(ApiIdT &&value)
RoutingRuleActionInvokeApi & WithStripBasePath(bool value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API RoutingRuleActionInvokeApi(Aws::Utils::Json::JsonView jsonValue)
RoutingRuleActionInvokeApi & WithStage(StageT &&value)
AWS_APIGATEWAYV2_API RoutingRuleActionInvokeApi()=default
AWS_APIGATEWAYV2_API RoutingRuleActionInvokeApi & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue