AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Matcher.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_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 VPCLattice
22{
23namespace Model
24{
25
32 class Matcher
33 {
34 public:
35 AWS_VPCLATTICE_API Matcher();
36 AWS_VPCLATTICE_API Matcher(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VPCLATTICE_API Matcher& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetHttpCode() const{ return m_httpCode; }
47 inline bool HttpCodeHasBeenSet() const { return m_httpCodeHasBeenSet; }
48 inline void SetHttpCode(const Aws::String& value) { m_httpCodeHasBeenSet = true; m_httpCode = value; }
49 inline void SetHttpCode(Aws::String&& value) { m_httpCodeHasBeenSet = true; m_httpCode = std::move(value); }
50 inline void SetHttpCode(const char* value) { m_httpCodeHasBeenSet = true; m_httpCode.assign(value); }
51 inline Matcher& WithHttpCode(const Aws::String& value) { SetHttpCode(value); return *this;}
52 inline Matcher& WithHttpCode(Aws::String&& value) { SetHttpCode(std::move(value)); return *this;}
53 inline Matcher& WithHttpCode(const char* value) { SetHttpCode(value); return *this;}
55 private:
56
57 Aws::String m_httpCode;
58 bool m_httpCodeHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace VPCLattice
63} // namespace Aws
AWS_VPCLATTICE_API Matcher()
Matcher & WithHttpCode(const Aws::String &value)
Definition Matcher.h:51
void SetHttpCode(const char *value)
Definition Matcher.h:50
void SetHttpCode(Aws::String &&value)
Definition Matcher.h:49
Matcher & WithHttpCode(Aws::String &&value)
Definition Matcher.h:52
void SetHttpCode(const Aws::String &value)
Definition Matcher.h:48
bool HttpCodeHasBeenSet() const
Definition Matcher.h:47
AWS_VPCLATTICE_API Matcher(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API Matcher & operator=(Aws::Utils::Json::JsonView jsonValue)
Matcher & WithHttpCode(const char *value)
Definition Matcher.h:53
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHttpCode() const
Definition Matcher.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue