AWS SDK for C++  1.9.123
AWS SDK for C++
GatewayRouteHostnameMatch.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetExact() const{ return m_exact; }
45 
49  inline bool ExactHasBeenSet() const { return m_exactHasBeenSet; }
50 
54  inline void SetExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact = value; }
55 
59  inline void SetExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact = std::move(value); }
60 
64  inline void SetExact(const char* value) { m_exactHasBeenSet = true; m_exact.assign(value); }
65 
69  inline GatewayRouteHostnameMatch& WithExact(const Aws::String& value) { SetExact(value); return *this;}
70 
74  inline GatewayRouteHostnameMatch& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;}
75 
79  inline GatewayRouteHostnameMatch& WithExact(const char* value) { SetExact(value); return *this;}
80 
81 
85  inline const Aws::String& GetSuffix() const{ return m_suffix; }
86 
90  inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
91 
95  inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
96 
100  inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
101 
105  inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
106 
110  inline GatewayRouteHostnameMatch& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
111 
115  inline GatewayRouteHostnameMatch& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
116 
120  inline GatewayRouteHostnameMatch& WithSuffix(const char* value) { SetSuffix(value); return *this;}
121 
122  private:
123 
124  Aws::String m_exact;
125  bool m_exactHasBeenSet;
126 
127  Aws::String m_suffix;
128  bool m_suffixHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace AppMesh
133 } // namespace Aws
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetSuffix
void SetSuffix(const char *value)
Definition: GatewayRouteHostnameMatch.h:105
Aws::AppMesh::Model::GatewayRouteHostnameMatch::GetExact
const Aws::String & GetExact() const
Definition: GatewayRouteHostnameMatch.h:44
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetSuffix
void SetSuffix(const Aws::String &value)
Definition: GatewayRouteHostnameMatch.h:95
Aws::AppMesh::Model::GatewayRouteHostnameMatch::GatewayRouteHostnameMatch
GatewayRouteHostnameMatch(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetExact
void SetExact(const char *value)
Definition: GatewayRouteHostnameMatch.h:64
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithExact
GatewayRouteHostnameMatch & WithExact(Aws::String &&value)
Definition: GatewayRouteHostnameMatch.h:74
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetSuffix
void SetSuffix(Aws::String &&value)
Definition: GatewayRouteHostnameMatch.h:100
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithSuffix
GatewayRouteHostnameMatch & WithSuffix(const Aws::String &value)
Definition: GatewayRouteHostnameMatch.h:110
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetExact
void SetExact(const Aws::String &value)
Definition: GatewayRouteHostnameMatch.h:54
Aws::AppMesh::Model::GatewayRouteHostnameMatch::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::GatewayRouteHostnameMatch::operator=
GatewayRouteHostnameMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteHostnameMatch
Definition: GatewayRouteHostnameMatch.h:33
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SetExact
void SetExact(Aws::String &&value)
Definition: GatewayRouteHostnameMatch.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithSuffix
GatewayRouteHostnameMatch & WithSuffix(const char *value)
Definition: GatewayRouteHostnameMatch.h:120
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithSuffix
GatewayRouteHostnameMatch & WithSuffix(Aws::String &&value)
Definition: GatewayRouteHostnameMatch.h:115
Aws::AppMesh::Model::GatewayRouteHostnameMatch::GetSuffix
const Aws::String & GetSuffix() const
Definition: GatewayRouteHostnameMatch.h:85
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithExact
GatewayRouteHostnameMatch & WithExact(const char *value)
Definition: GatewayRouteHostnameMatch.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::GatewayRouteHostnameMatch::GatewayRouteHostnameMatch
GatewayRouteHostnameMatch()
Aws::AppMesh::Model::GatewayRouteHostnameMatch::ExactHasBeenSet
bool ExactHasBeenSet() const
Definition: GatewayRouteHostnameMatch.h:49
Aws::AppMesh::Model::GatewayRouteHostnameMatch::WithExact
GatewayRouteHostnameMatch & WithExact(const Aws::String &value)
Definition: GatewayRouteHostnameMatch.h:69
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::GatewayRouteHostnameMatch::SuffixHasBeenSet
bool SuffixHasBeenSet() const
Definition: GatewayRouteHostnameMatch.h:90