AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RoutingRuleMatchBasePaths.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 RoutingRuleMatchBasePaths() = default;
33 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Aws::String>& GetAnyOf() const { return m_anyOf; }
40 inline bool AnyOfHasBeenSet() const { return m_anyOfHasBeenSet; }
41 template <typename AnyOfT = Aws::Vector<Aws::String>>
42 void SetAnyOf(AnyOfT&& value) {
43 m_anyOfHasBeenSet = true;
44 m_anyOf = std::forward<AnyOfT>(value);
45 }
46 template <typename AnyOfT = Aws::Vector<Aws::String>>
48 SetAnyOf(std::forward<AnyOfT>(value));
49 return *this;
50 }
51 template <typename AnyOfT = Aws::String>
53 m_anyOfHasBeenSet = true;
54 m_anyOf.emplace_back(std::forward<AnyOfT>(value));
55 return *this;
56 }
58 private:
60 bool m_anyOfHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace ApiGatewayV2
65} // namespace Aws
const Aws::Vector< Aws::String > & GetAnyOf() const
AWS_APIGATEWAYV2_API RoutingRuleMatchBasePaths(Aws::Utils::Json::JsonView jsonValue)
RoutingRuleMatchBasePaths & AddAnyOf(AnyOfT &&value)
AWS_APIGATEWAYV2_API RoutingRuleMatchBasePaths()=default
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API RoutingRuleMatchBasePaths & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingRuleMatchBasePaths & WithAnyOf(AnyOfT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue