AWS SDK for C++  1.9.107
AWS SDK for C++
SingleQueryArgument.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAFV2
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline SingleQueryArgument& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline SingleQueryArgument& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline SingleQueryArgument& WithName(const char* value) { SetName(value); return *this;}
82 
83  private:
84 
85  Aws::String m_name;
86  bool m_nameHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace WAFV2
91 } // namespace Aws
Aws::WAFV2::Model::SingleQueryArgument::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::SingleQueryArgument::SetName
void SetName(Aws::String &&value)
Definition: SingleQueryArgument.h:61
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
WAFV2_EXPORTS.h
Aws::WAFV2::Model::SingleQueryArgument::GetName
const Aws::String & GetName() const
Definition: SingleQueryArgument.h:46
Aws::WAFV2::Model::SingleQueryArgument::SingleQueryArgument
SingleQueryArgument()
Aws::WAFV2::Model::SingleQueryArgument::WithName
SingleQueryArgument & WithName(const Aws::String &value)
Definition: SingleQueryArgument.h:71
Aws::WAFV2::Model::SingleQueryArgument::WithName
SingleQueryArgument & WithName(Aws::String &&value)
Definition: SingleQueryArgument.h:76
Aws::WAFV2::Model::SingleQueryArgument::operator=
SingleQueryArgument & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::WAFV2::Model::SingleQueryArgument::SingleQueryArgument
SingleQueryArgument(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::SingleQueryArgument::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SingleQueryArgument.h:51
Aws::WAFV2::Model::SingleQueryArgument
Definition: SingleQueryArgument.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::SingleQueryArgument::SetName
void SetName(const Aws::String &value)
Definition: SingleQueryArgument.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::SingleQueryArgument::WithName
SingleQueryArgument & WithName(const char *value)
Definition: SingleQueryArgument.h:81
Aws::WAFV2::Model::SingleQueryArgument::SetName
void SetName(const char *value)
Definition: SingleQueryArgument.h:66