AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailField.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_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 WAFV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_WAFV2_API EmailField();
37 AWS_WAFV2_API EmailField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
56 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
59 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
60 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
61 inline EmailField& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
62 inline EmailField& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
63 inline EmailField& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
65 private:
66
67 Aws::String m_identifier;
68 bool m_identifierHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WAFV2
73} // namespace Aws
AWS_WAFV2_API EmailField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(const char *value)
Definition EmailField.h:60
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
EmailField & WithIdentifier(Aws::String &&value)
Definition EmailField.h:62
EmailField & WithIdentifier(const char *value)
Definition EmailField.h:63
EmailField & WithIdentifier(const Aws::String &value)
Definition EmailField.h:61
void SetIdentifier(const Aws::String &value)
Definition EmailField.h:58
void SetIdentifier(Aws::String &&value)
Definition EmailField.h:59
const Aws::String & GetIdentifier() const
Definition EmailField.h:56
bool IdentifierHasBeenSet() const
Definition EmailField.h:57
AWS_WAFV2_API EmailField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue