AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
SingleQueryArgument.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
33 public:
34 AWS_WAFV2_API SingleQueryArgument() = default;
37 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
51 SingleQueryArgument& WithName(NameT&& value) {
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_name;
58 bool m_nameHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace WAFV2
63} // namespace Aws
SingleQueryArgument & WithName(NameT &&value)
AWS_WAFV2_API SingleQueryArgument(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API SingleQueryArgument & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API SingleQueryArgument()=default
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue