AWS SDK for C++  1.9.123
AWS SDK for C++
HttpQueryParameter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const QueryParameterMatch& GetMatch() const{ return m_match; }
46 
50  inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; }
51 
55  inline void SetMatch(const QueryParameterMatch& value) { m_matchHasBeenSet = true; m_match = value; }
56 
60  inline void SetMatch(QueryParameterMatch&& value) { m_matchHasBeenSet = true; m_match = std::move(value); }
61 
65  inline HttpQueryParameter& WithMatch(const QueryParameterMatch& value) { SetMatch(value); return *this;}
66 
70  inline HttpQueryParameter& WithMatch(QueryParameterMatch&& value) { SetMatch(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 
86  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 
91  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 
96  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 
101  inline HttpQueryParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
102 
106  inline HttpQueryParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 
111  inline HttpQueryParameter& WithName(const char* value) { SetName(value); return *this;}
112 
113  private:
114 
115  QueryParameterMatch m_match;
116  bool m_matchHasBeenSet;
117 
118  Aws::String m_name;
119  bool m_nameHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace AppMesh
124 } // namespace Aws
Aws::AppMesh::Model::HttpQueryParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::HttpQueryParameter::GetMatch
const QueryParameterMatch & GetMatch() const
Definition: HttpQueryParameter.h:45
Aws::AppMesh::Model::HttpQueryParameter::WithName
HttpQueryParameter & WithName(Aws::String &&value)
Definition: HttpQueryParameter.h:106
Aws::AppMesh::Model::HttpQueryParameter::SetName
void SetName(Aws::String &&value)
Definition: HttpQueryParameter.h:91
Aws::AppMesh::Model::HttpQueryParameter::HttpQueryParameter
HttpQueryParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::HttpQueryParameter::SetMatch
void SetMatch(QueryParameterMatch &&value)
Definition: HttpQueryParameter.h:60
AppMesh_EXPORTS.h
Aws::AppMesh::Model::HttpQueryParameter::SetMatch
void SetMatch(const QueryParameterMatch &value)
Definition: HttpQueryParameter.h:55
Aws::AppMesh::Model::QueryParameterMatch
Definition: QueryParameterMatch.h:33
Aws::AppMesh::Model::HttpQueryParameter
Definition: HttpQueryParameter.h:34
Aws::AppMesh::Model::HttpQueryParameter::HttpQueryParameter
HttpQueryParameter()
Aws::AppMesh::Model::HttpQueryParameter::WithMatch
HttpQueryParameter & WithMatch(const QueryParameterMatch &value)
Definition: HttpQueryParameter.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppMesh::Model::HttpQueryParameter::SetName
void SetName(const Aws::String &value)
Definition: HttpQueryParameter.h:86
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::HttpQueryParameter::MatchHasBeenSet
bool MatchHasBeenSet() const
Definition: HttpQueryParameter.h:50
Aws::AppMesh::Model::HttpQueryParameter::WithName
HttpQueryParameter & WithName(const char *value)
Definition: HttpQueryParameter.h:111
Aws::AppMesh::Model::HttpQueryParameter::SetName
void SetName(const char *value)
Definition: HttpQueryParameter.h:96
Aws::AppMesh::Model::HttpQueryParameter::operator=
HttpQueryParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::HttpQueryParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HttpQueryParameter.h:81
QueryParameterMatch.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::HttpQueryParameter::WithMatch
HttpQueryParameter & WithMatch(QueryParameterMatch &&value)
Definition: HttpQueryParameter.h:70
Aws::AppMesh::Model::HttpQueryParameter::WithName
HttpQueryParameter & WithName(const Aws::String &value)
Definition: HttpQueryParameter.h:101
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::HttpQueryParameter::GetName
const Aws::String & GetName() const
Definition: HttpQueryParameter.h:76