AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
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 RoutingRuleMatchHeaderValue() = default;
32 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetHeader() const { return m_header; }
37 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
38 template <typename HeaderT = Aws::String>
39 void SetHeader(HeaderT&& value) {
40 m_headerHasBeenSet = true;
41 m_header = std::forward<HeaderT>(value);
42 }
43 template <typename HeaderT = Aws::String>
45 SetHeader(std::forward<HeaderT>(value));
46 return *this;
47 }
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) {
56 m_valueGlobHasBeenSet = true;
57 m_valueGlob = std::forward<ValueGlobT>(value);
58 }
59 template <typename ValueGlobT = Aws::String>
61 SetValueGlob(std::forward<ValueGlobT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_header;
67
68 Aws::String m_valueGlob;
69 bool m_headerHasBeenSet = false;
70 bool m_valueGlobHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace ApiGatewayV2
75} // 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