AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayRouteHostnameMatch.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 GatewayRouteHostnameMatch();
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 GatewayRouteHostnameMatch& WithExact(const Aws::String& value) { SetExact(value); return *this;}
51 inline GatewayRouteHostnameMatch& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;}
52 inline GatewayRouteHostnameMatch& WithExact(const char* value) { SetExact(value); return *this;}
54
56
59 inline const Aws::String& GetSuffix() const{ return m_suffix; }
60 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
61 inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
62 inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
63 inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
64 inline GatewayRouteHostnameMatch& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
65 inline GatewayRouteHostnameMatch& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
66 inline GatewayRouteHostnameMatch& WithSuffix(const char* value) { SetSuffix(value); return *this;}
68 private:
69
70 Aws::String m_exact;
71 bool m_exactHasBeenSet = false;
72
73 Aws::String m_suffix;
74 bool m_suffixHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppMesh
79} // namespace Aws
GatewayRouteHostnameMatch & WithExact(const Aws::String &value)
GatewayRouteHostnameMatch & WithSuffix(const Aws::String &value)
GatewayRouteHostnameMatch & WithSuffix(Aws::String &&value)
AWS_APPMESH_API GatewayRouteHostnameMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteHostnameMatch & WithExact(const char *value)
AWS_APPMESH_API GatewayRouteHostnameMatch(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteHostnameMatch & WithSuffix(const char *value)
GatewayRouteHostnameMatch & WithExact(Aws::String &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue