AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RoutingRuleMatchHeaderValue.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 RoutingRuleMatchHeaderValue() = default;
37 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetHeader() const { return m_header; }
43 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
44 template<typename HeaderT = Aws::String>
45 void SetHeader(HeaderT&& value) { m_headerHasBeenSet = true; m_header = std::forward<HeaderT>(value); }
46 template<typename HeaderT = Aws::String>
47 RoutingRuleMatchHeaderValue& WithHeader(HeaderT&& value) { SetHeader(std::forward<HeaderT>(value)); return *this;}
49
51
52 inline const Aws::String& GetValueGlob() const { return m_valueGlob; }
53 inline bool ValueGlobHasBeenSet() const { return m_valueGlobHasBeenSet; }
54 template<typename ValueGlobT = Aws::String>
55 void SetValueGlob(ValueGlobT&& value) { m_valueGlobHasBeenSet = true; m_valueGlob = std::forward<ValueGlobT>(value); }
56 template<typename ValueGlobT = Aws::String>
57 RoutingRuleMatchHeaderValue& WithValueGlob(ValueGlobT&& value) { SetValueGlob(std::forward<ValueGlobT>(value)); return *this;}
59 private:
60
61 Aws::String m_header;
62 bool m_headerHasBeenSet = false;
63
64 Aws::String m_valueGlob;
65 bool m_valueGlobHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace ApiGatewayV2
70} // namespace Aws
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaderValue()=default
RoutingRuleMatchHeaderValue & WithHeader(HeaderT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaderValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaderValue(Aws::Utils::Json::JsonView jsonValue)
RoutingRuleMatchHeaderValue & WithValueGlob(ValueGlobT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue