AWS SDK for C++
AWS SDK for C++ Version 1.11.929
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-appmesh
include
aws
appmesh
model
HttpRouteHeader.h
1
6
#pragma once
7
#include <aws/appmesh/AppMesh_EXPORTS.h>
8
#include <aws/appmesh/model/HeaderMatchMethod.h>
9
#include <aws/core/utils/memory/stl/AWSString.h>
10
11
#include <utility>
12
13
namespace
Aws
{
14
namespace
Utils {
15
namespace
Json {
16
class
JsonValue
;
17
class
JsonView;
18
}
// namespace Json
19
}
// namespace Utils
20
namespace
AppMesh {
21
namespace
Model {
22
29
class
HttpRouteHeader
{
30
public
:
31
AWS_APPMESH_API
HttpRouteHeader
() =
default
;
32
AWS_APPMESH_API
HttpRouteHeader
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_APPMESH_API
HttpRouteHeader
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
34
AWS_APPMESH_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
35
37
41
inline
bool
GetInvert
()
const
{
return
m_invert; }
42
inline
bool
InvertHasBeenSet
()
const
{
return
m_invertHasBeenSet; }
43
inline
void
SetInvert
(
bool
value) {
44
m_invertHasBeenSet =
true
;
45
m_invert = value;
46
}
47
inline
HttpRouteHeader
&
WithInvert
(
bool
value) {
48
SetInvert
(value);
49
return
*
this
;
50
}
52
54
57
inline
const
HeaderMatchMethod
&
GetMatch
()
const
{
return
m_match; }
58
inline
bool
MatchHasBeenSet
()
const
{
return
m_matchHasBeenSet; }
59
template
<
typename
MatchT = HeaderMatchMethod>
60
void
SetMatch
(MatchT&& value) {
61
m_matchHasBeenSet =
true
;
62
m_match = std::forward<MatchT>(value);
63
}
64
template
<
typename
MatchT = HeaderMatchMethod>
65
HttpRouteHeader
&
WithMatch
(MatchT&& value) {
66
SetMatch
(std::forward<MatchT>(value));
67
return
*
this
;
68
}
70
72
75
inline
const
Aws::String
&
GetName
()
const
{
return
m_name; }
76
inline
bool
NameHasBeenSet
()
const
{
return
m_nameHasBeenSet; }
77
template
<
typename
NameT = Aws::String>
78
void
SetName
(NameT&& value) {
79
m_nameHasBeenSet =
true
;
80
m_name = std::forward<NameT>(value);
81
}
82
template
<
typename
NameT = Aws::String>
83
HttpRouteHeader
&
WithName
(NameT&& value) {
84
SetName
(std::forward<NameT>(value));
85
return
*
this
;
86
}
88
private
:
89
bool
m_invert{
false
};
90
91
HeaderMatchMethod m_match;
92
93
Aws::String
m_name;
94
bool
m_invertHasBeenSet =
false
;
95
bool
m_matchHasBeenSet =
false
;
96
bool
m_nameHasBeenSet =
false
;
97
};
98
99
}
// namespace Model
100
}
// namespace AppMesh
101
}
// namespace Aws
Aws::AppMesh::Model::HeaderMatchMethod
Definition
HeaderMatchMethod.h:29
Aws::AppMesh::Model::HttpRouteHeader
Definition
HttpRouteHeader.h:29
Aws::AppMesh::Model::HttpRouteHeader::SetName
void SetName(NameT &&value)
Definition
HttpRouteHeader.h:78
Aws::AppMesh::Model::HttpRouteHeader::HttpRouteHeader
AWS_APPMESH_API HttpRouteHeader()=default
Aws::AppMesh::Model::HttpRouteHeader::operator=
AWS_APPMESH_API HttpRouteHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::HttpRouteHeader::MatchHasBeenSet
bool MatchHasBeenSet() const
Definition
HttpRouteHeader.h:58
Aws::AppMesh::Model::HttpRouteHeader::Jsonize
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::HttpRouteHeader::GetName
const Aws::String & GetName() const
Definition
HttpRouteHeader.h:75
Aws::AppMesh::Model::HttpRouteHeader::SetMatch
void SetMatch(MatchT &&value)
Definition
HttpRouteHeader.h:60
Aws::AppMesh::Model::HttpRouteHeader::SetInvert
void SetInvert(bool value)
Definition
HttpRouteHeader.h:43
Aws::AppMesh::Model::HttpRouteHeader::HttpRouteHeader
AWS_APPMESH_API HttpRouteHeader(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::HttpRouteHeader::NameHasBeenSet
bool NameHasBeenSet() const
Definition
HttpRouteHeader.h:76
Aws::AppMesh::Model::HttpRouteHeader::WithMatch
HttpRouteHeader & WithMatch(MatchT &&value)
Definition
HttpRouteHeader.h:65
Aws::AppMesh::Model::HttpRouteHeader::WithInvert
HttpRouteHeader & WithInvert(bool value)
Definition
HttpRouteHeader.h:47
Aws::AppMesh::Model::HttpRouteHeader::WithName
HttpRouteHeader & WithName(NameT &&value)
Definition
HttpRouteHeader.h:83
Aws::AppMesh::Model::HttpRouteHeader::GetInvert
bool GetInvert() const
Definition
HttpRouteHeader.h:41
Aws::AppMesh::Model::HttpRouteHeader::InvertHasBeenSet
bool InvertHasBeenSet() const
Definition
HttpRouteHeader.h:42
Aws::AppMesh::Model::HttpRouteHeader::GetMatch
const HeaderMatchMethod & GetMatch() const
Definition
HttpRouteHeader.h:57
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences