AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RoutingRuleMatchHeaders.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/apigatewayv2/model/RoutingRuleMatchHeaderValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApiGatewayV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders() = default;
36 AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::Vector<RoutingRuleMatchHeaderValue>& GetAnyOf() const { return m_anyOf; }
48 inline bool AnyOfHasBeenSet() const { return m_anyOfHasBeenSet; }
49 template<typename AnyOfT = Aws::Vector<RoutingRuleMatchHeaderValue>>
50 void SetAnyOf(AnyOfT&& value) { m_anyOfHasBeenSet = true; m_anyOf = std::forward<AnyOfT>(value); }
51 template<typename AnyOfT = Aws::Vector<RoutingRuleMatchHeaderValue>>
52 RoutingRuleMatchHeaders& WithAnyOf(AnyOfT&& value) { SetAnyOf(std::forward<AnyOfT>(value)); return *this;}
53 template<typename AnyOfT = RoutingRuleMatchHeaderValue>
54 RoutingRuleMatchHeaders& AddAnyOf(AnyOfT&& value) { m_anyOfHasBeenSet = true; m_anyOf.emplace_back(std::forward<AnyOfT>(value)); return *this; }
56 private:
57
59 bool m_anyOfHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace ApiGatewayV2
64} // namespace Aws
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders()=default
RoutingRuleMatchHeaders & AddAnyOf(AnyOfT &&value)
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RoutingRuleMatchHeaderValue > & GetAnyOf() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingRuleMatchHeaders & WithAnyOf(AnyOfT &&value)
AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue