AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMatch(const QueryParameterMatch& value) { m_matchHasBeenSet = true; m_match = value; }
49 inline void SetMatch(QueryParameterMatch&& value) { m_matchHasBeenSet = true; m_match = std::move(value); }
50 inline HttpQueryParameter& WithMatch(const QueryParameterMatch& value) { SetMatch(value); return *this;}
51 inline HttpQueryParameter& WithMatch(QueryParameterMatch&& value) { SetMatch(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline HttpQueryParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline HttpQueryParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline HttpQueryParameter& WithName(const char* value) { SetName(value); return *this;}
67 private:
68
69 QueryParameterMatch m_match;
70 bool m_matchHasBeenSet = false;
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppMesh
78} // namespace Aws
void SetName(const Aws::String &value)
void SetMatch(const QueryParameterMatch &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
HttpQueryParameter & WithName(Aws::String &&value)
AWS_APPMESH_API HttpQueryParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpQueryParameter & WithMatch(const QueryParameterMatch &value)
HttpQueryParameter & WithName(const char *value)
HttpQueryParameter & WithName(const Aws::String &value)
HttpQueryParameter & WithMatch(QueryParameterMatch &&value)
AWS_APPMESH_API HttpQueryParameter(Aws::Utils::Json::JsonView jsonValue)
const QueryParameterMatch & GetMatch() const
void SetMatch(QueryParameterMatch &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue