AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PathMatch.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/model/PathMatchType.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 VPCLattice
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_VPCLATTICE_API PathMatch() = default;
36 AWS_VPCLATTICE_API PathMatch(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VPCLATTICE_API PathMatch& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetCaseSensitive() const { return m_caseSensitive; }
46 inline bool CaseSensitiveHasBeenSet() const { return m_caseSensitiveHasBeenSet; }
47 inline void SetCaseSensitive(bool value) { m_caseSensitiveHasBeenSet = true; m_caseSensitive = value; }
48 inline PathMatch& WithCaseSensitive(bool value) { SetCaseSensitive(value); return *this;}
50
52
55 inline const PathMatchType& GetMatch() const { return m_match; }
56 inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; }
57 template<typename MatchT = PathMatchType>
58 void SetMatch(MatchT&& value) { m_matchHasBeenSet = true; m_match = std::forward<MatchT>(value); }
59 template<typename MatchT = PathMatchType>
60 PathMatch& WithMatch(MatchT&& value) { SetMatch(std::forward<MatchT>(value)); return *this;}
62 private:
63
64 bool m_caseSensitive{false};
65 bool m_caseSensitiveHasBeenSet = false;
66
67 PathMatchType m_match;
68 bool m_matchHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace VPCLattice
73} // namespace Aws
const PathMatchType & GetMatch() const
Definition PathMatch.h:55
AWS_VPCLATTICE_API PathMatch(Aws::Utils::Json::JsonView jsonValue)
PathMatch & WithMatch(MatchT &&value)
Definition PathMatch.h:60
PathMatch & WithCaseSensitive(bool value)
Definition PathMatch.h:48
AWS_VPCLATTICE_API PathMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API PathMatch()=default
void SetCaseSensitive(bool value)
Definition PathMatch.h:47
void SetMatch(MatchT &&value)
Definition PathMatch.h:58
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue