AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpPathMatch.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AppMesh
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPMESH_API HttpPathMatch();
36 AWS_APPMESH_API HttpPathMatch(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetExact() const{ return m_exact; }
46 inline bool ExactHasBeenSet() const { return m_exactHasBeenSet; }
47 inline void SetExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact = value; }
48 inline void SetExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact = std::move(value); }
49 inline void SetExact(const char* value) { m_exactHasBeenSet = true; m_exact.assign(value); }
50 inline HttpPathMatch& WithExact(const Aws::String& value) { SetExact(value); return *this;}
51 inline HttpPathMatch& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;}
52 inline HttpPathMatch& WithExact(const char* value) { SetExact(value); return *this;}
54
56
59 inline const Aws::String& GetRegex() const{ return m_regex; }
60 inline bool RegexHasBeenSet() const { return m_regexHasBeenSet; }
61 inline void SetRegex(const Aws::String& value) { m_regexHasBeenSet = true; m_regex = value; }
62 inline void SetRegex(Aws::String&& value) { m_regexHasBeenSet = true; m_regex = std::move(value); }
63 inline void SetRegex(const char* value) { m_regexHasBeenSet = true; m_regex.assign(value); }
64 inline HttpPathMatch& WithRegex(const Aws::String& value) { SetRegex(value); return *this;}
65 inline HttpPathMatch& WithRegex(Aws::String&& value) { SetRegex(std::move(value)); return *this;}
66 inline HttpPathMatch& WithRegex(const char* value) { SetRegex(value); return *this;}
68 private:
69
70 Aws::String m_exact;
71 bool m_exactHasBeenSet = false;
72
73 Aws::String m_regex;
74 bool m_regexHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppMesh
79} // namespace Aws
const Aws::String & GetRegex() const
HttpPathMatch & WithExact(Aws::String &&value)
void SetRegex(const Aws::String &value)
HttpPathMatch & WithExact(const Aws::String &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExact(const char *value)
HttpPathMatch & WithRegex(Aws::String &&value)
HttpPathMatch & WithRegex(const Aws::String &value)
void SetExact(Aws::String &&value)
AWS_APPMESH_API HttpPathMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HttpPathMatch(Aws::Utils::Json::JsonView jsonValue)
void SetRegex(Aws::String &&value)
HttpPathMatch & WithRegex(const char *value)
void SetExact(const Aws::String &value)
HttpPathMatch & WithExact(const char *value)
const Aws::String & GetExact() const
void SetRegex(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue