AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
EmailField.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
30 public:
31 AWS_WAFV2_API EmailField() = default;
32 AWS_WAFV2_API EmailField(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
50 inline const Aws::String& GetIdentifier() const { return m_identifier; }
51 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
52 template <typename IdentifierT = Aws::String>
53 void SetIdentifier(IdentifierT&& value) {
54 m_identifierHasBeenSet = true;
55 m_identifier = std::forward<IdentifierT>(value);
56 }
57 template <typename IdentifierT = Aws::String>
58 EmailField& WithIdentifier(IdentifierT&& value) {
59 SetIdentifier(std::forward<IdentifierT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_identifier;
65 bool m_identifierHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace WAFV2
70} // namespace Aws
AWS_WAFV2_API EmailField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API EmailField()=default
void SetIdentifier(IdentifierT &&value)
Definition EmailField.h:53
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIdentifier() const
Definition EmailField.h:50
bool IdentifierHasBeenSet() const
Definition EmailField.h:51
EmailField & WithIdentifier(IdentifierT &&value)
Definition EmailField.h:58
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