AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APIGATEWAYV2_API RoutingRuleActionInvokeApi() = default;
37 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetApiId() const { return m_apiId; }
43 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
44 template<typename ApiIdT = Aws::String>
45 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
46 template<typename ApiIdT = Aws::String>
47 RoutingRuleActionInvokeApi& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
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) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
56 template<typename StageT = Aws::String>
57 RoutingRuleActionInvokeApi& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
59
61
64 inline bool GetStripBasePath() const { return m_stripBasePath; }
65 inline bool StripBasePathHasBeenSet() const { return m_stripBasePathHasBeenSet; }
66 inline void SetStripBasePath(bool value) { m_stripBasePathHasBeenSet = true; m_stripBasePath = value; }
67 inline RoutingRuleActionInvokeApi& WithStripBasePath(bool value) { SetStripBasePath(value); return *this;}
69 private:
70
71 Aws::String m_apiId;
72 bool m_apiIdHasBeenSet = false;
73
74 Aws::String m_stage;
75 bool m_stageHasBeenSet = false;
76
77 bool m_stripBasePath{false};
78 bool m_stripBasePathHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ApiGatewayV2
83} // 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