AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppMesh {
21namespace Model {
22
30 public:
31 AWS_APPMESH_API HttpQueryParameter() = default;
34 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const QueryParameterMatch& GetMatch() const { return m_match; }
41 inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; }
42 template <typename MatchT = QueryParameterMatch>
43 void SetMatch(MatchT&& value) {
44 m_matchHasBeenSet = true;
45 m_match = std::forward<MatchT>(value);
46 }
47 template <typename MatchT = QueryParameterMatch>
48 HttpQueryParameter& WithMatch(MatchT&& value) {
49 SetMatch(std::forward<MatchT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 HttpQueryParameter& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71 private:
72 QueryParameterMatch m_match;
73
74 Aws::String m_name;
75 bool m_matchHasBeenSet = false;
76 bool m_nameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AppMesh
81} // 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