AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMatch(const PathMatchType& value) { m_matchHasBeenSet = true; m_match = value; }
58 inline void SetMatch(PathMatchType&& value) { m_matchHasBeenSet = true; m_match = std::move(value); }
59 inline PathMatch& WithMatch(const PathMatchType& value) { SetMatch(value); return *this;}
60 inline PathMatch& WithMatch(PathMatchType&& value) { SetMatch(std::move(value)); return *this;}
62 private:
63
64 bool m_caseSensitive;
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 & WithCaseSensitive(bool value)
Definition PathMatch.h:48
AWS_VPCLATTICE_API PathMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatch(const PathMatchType &value)
Definition PathMatch.h:57
AWS_VPCLATTICE_API PathMatch()
void SetCaseSensitive(bool value)
Definition PathMatch.h:47
void SetMatch(PathMatchType &&value)
Definition PathMatch.h:58
PathMatch & WithMatch(const PathMatchType &value)
Definition PathMatch.h:59
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
PathMatch & WithMatch(PathMatchType &&value)
Definition PathMatch.h:60
Aws::Utils::Json::JsonValue JsonValue