AWS SDK for C++  1.9.14
AWS SDK for C++
HttpGatewayRouteMatch.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 
49  inline const Aws::String& GetPrefix() const{ return m_prefix; }
50 
59  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
60 
69  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
70 
79  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
80 
89  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
90 
99  inline HttpGatewayRouteMatch& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
100 
109  inline HttpGatewayRouteMatch& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
110 
119  inline HttpGatewayRouteMatch& WithPrefix(const char* value) { SetPrefix(value); return *this;}
120 
121  private:
122 
123  Aws::String m_prefix;
124  bool m_prefixHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace AppMesh
129 } // namespace Aws
Aws::AppMesh::Model::HttpGatewayRouteMatch::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: HttpGatewayRouteMatch.h:59
Aws::AppMesh::Model::HttpGatewayRouteMatch::operator=
HttpGatewayRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::HttpGatewayRouteMatch::HttpGatewayRouteMatch
HttpGatewayRouteMatch(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::HttpGatewayRouteMatch::HttpGatewayRouteMatch
HttpGatewayRouteMatch()
Aws::AppMesh::Model::HttpGatewayRouteMatch::SetPrefix
void SetPrefix(const char *value)
Definition: HttpGatewayRouteMatch.h:89
AppMesh_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::HttpGatewayRouteMatch::WithPrefix
HttpGatewayRouteMatch & WithPrefix(Aws::String &&value)
Definition: HttpGatewayRouteMatch.h:109
Aws::AppMesh::Model::HttpGatewayRouteMatch::WithPrefix
HttpGatewayRouteMatch & WithPrefix(const Aws::String &value)
Definition: HttpGatewayRouteMatch.h:99
Aws::AppMesh::Model::HttpGatewayRouteMatch::WithPrefix
HttpGatewayRouteMatch & WithPrefix(const char *value)
Definition: HttpGatewayRouteMatch.h:119
Aws::AppMesh::Model::HttpGatewayRouteMatch::GetPrefix
const Aws::String & GetPrefix() const
Definition: HttpGatewayRouteMatch.h:49
Aws::AppMesh::Model::HttpGatewayRouteMatch::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
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::HttpGatewayRouteMatch::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: HttpGatewayRouteMatch.h:69
Aws::AppMesh::Model::HttpGatewayRouteMatch
Definition: HttpGatewayRouteMatch.h:33
Aws::AppMesh::Model::HttpGatewayRouteMatch::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: HttpGatewayRouteMatch.h:79
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28