AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
HttpQueryParameter.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/QueryParameterMatch.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:
36 AWS_APPMESH_API HttpQueryParameter() = default;
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const QueryParameterMatch& GetMatch() const { return m_match; }
47 inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; }
48 template<typename MatchT = QueryParameterMatch>
49 void SetMatch(MatchT&& value) { m_matchHasBeenSet = true; m_match = std::forward<MatchT>(value); }
50 template<typename MatchT = QueryParameterMatch>
51 HttpQueryParameter& WithMatch(MatchT&& value) { SetMatch(std::forward<MatchT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 HttpQueryParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65 private:
66
67 QueryParameterMatch m_match;
68 bool m_matchHasBeenSet = false;
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppMesh
76} // namespace Aws
AWS_APPMESH_API HttpQueryParameter()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API HttpQueryParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HttpQueryParameter(Aws::Utils::Json::JsonView jsonValue)
HttpQueryParameter & WithMatch(MatchT &&value)
const QueryParameterMatch & GetMatch() const
HttpQueryParameter & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue