AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RoutingRuleMatchHeaders.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/RoutingRuleMatchHeaderValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApiGatewayV2 {
21namespace Model {
22
29 public:
30 AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders() = default;
31 AWS_APIGATEWAYV2_API RoutingRuleMatchHeaders(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::Vector<RoutingRuleMatchHeaderValue>& GetAnyOf() const { return m_anyOf; }
42 inline bool AnyOfHasBeenSet() const { return m_anyOfHasBeenSet; }
43 template <typename AnyOfT = Aws::Vector<RoutingRuleMatchHeaderValue>>
44 void SetAnyOf(AnyOfT&& value) {
45 m_anyOfHasBeenSet = true;
46 m_anyOf = std::forward<AnyOfT>(value);
47 }
48 template <typename AnyOfT = Aws::Vector<RoutingRuleMatchHeaderValue>>
50 SetAnyOf(std::forward<AnyOfT>(value));
51 return *this;
52 }
53 template <typename AnyOfT = RoutingRuleMatchHeaderValue>
55 m_anyOfHasBeenSet = true;
56 m_anyOf.emplace_back(std::forward<AnyOfT>(value));
57 return *this;
58 }
60 private:
62 bool m_anyOfHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace ApiGatewayV2
67} // 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