AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpGatewayRoutePrefixRewrite.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/DefaultGatewayRouteRewrite.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DefaultGatewayRouteRewrite& GetDefaultPrefix() const{ return m_defaultPrefix; }
48 inline bool DefaultPrefixHasBeenSet() const { return m_defaultPrefixHasBeenSet; }
49 inline void SetDefaultPrefix(const DefaultGatewayRouteRewrite& value) { m_defaultPrefixHasBeenSet = true; m_defaultPrefix = value; }
50 inline void SetDefaultPrefix(DefaultGatewayRouteRewrite&& value) { m_defaultPrefixHasBeenSet = true; m_defaultPrefix = std::move(value); }
54
56
59 inline const Aws::String& GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
62 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
63 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
64 inline HttpGatewayRoutePrefixRewrite& WithValue(const Aws::String& value) { SetValue(value); return *this;}
65 inline HttpGatewayRoutePrefixRewrite& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
66 inline HttpGatewayRoutePrefixRewrite& WithValue(const char* value) { SetValue(value); return *this;}
68 private:
69
70 DefaultGatewayRouteRewrite m_defaultPrefix;
71 bool m_defaultPrefixHasBeenSet = false;
72
73 Aws::String m_value;
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppMesh
79} // namespace Aws
HttpGatewayRoutePrefixRewrite & WithValue(Aws::String &&value)
void SetDefaultPrefix(DefaultGatewayRouteRewrite &&value)
HttpGatewayRoutePrefixRewrite & WithValue(const Aws::String &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
HttpGatewayRoutePrefixRewrite & WithValue(const char *value)
AWS_APPMESH_API HttpGatewayRoutePrefixRewrite(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultPrefix(const DefaultGatewayRouteRewrite &value)
AWS_APPMESH_API HttpGatewayRoutePrefixRewrite & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpGatewayRoutePrefixRewrite & WithDefaultPrefix(DefaultGatewayRouteRewrite &&value)
HttpGatewayRoutePrefixRewrite & WithDefaultPrefix(const DefaultGatewayRouteRewrite &value)
const DefaultGatewayRouteRewrite & GetDefaultPrefix() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue