AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryField.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace InternetMonitor
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_INTERNETMONITOR_API QueryField();
38 AWS_INTERNETMONITOR_API QueryField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INTERNETMONITOR_API QueryField& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline QueryField& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline QueryField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline QueryField& WithName(const char* value) { SetName(value); return *this;}
57
59
64 inline const Aws::String& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
69 inline QueryField& WithType(const Aws::String& value) { SetType(value); return *this;}
70 inline QueryField& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
71 inline QueryField& WithType(const char* value) { SetType(value); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 Aws::String m_type;
79 bool m_typeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace InternetMonitor
84} // namespace Aws
QueryField & WithName(const char *value)
Definition QueryField.h:55
QueryField & WithType(const char *value)
Definition QueryField.h:71
void SetName(const char *value)
Definition QueryField.h:52
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
Definition QueryField.h:50
void SetType(const char *value)
Definition QueryField.h:68
const Aws::String & GetType() const
Definition QueryField.h:64
const Aws::String & GetName() const
Definition QueryField.h:48
QueryField & WithName(Aws::String &&value)
Definition QueryField.h:54
AWS_INTERNETMONITOR_API QueryField(Aws::Utils::Json::JsonView jsonValue)
QueryField & WithType(Aws::String &&value)
Definition QueryField.h:70
void SetType(const Aws::String &value)
Definition QueryField.h:66
QueryField & WithName(const Aws::String &value)
Definition QueryField.h:53
void SetType(Aws::String &&value)
Definition QueryField.h:67
void SetName(Aws::String &&value)
Definition QueryField.h:51
AWS_INTERNETMONITOR_API QueryField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API QueryField()
QueryField & WithType(const Aws::String &value)
Definition QueryField.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue