AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
PhoneNumberField.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 PhoneNumberField() = default;
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template <typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) {
60 m_identifierHasBeenSet = true;
61 m_identifier = std::forward<IdentifierT>(value);
62 }
63 template <typename IdentifierT = Aws::String>
64 PhoneNumberField& WithIdentifier(IdentifierT&& value) {
65 SetIdentifier(std::forward<IdentifierT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_identifier;
71 bool m_identifierHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WAFV2
76} // namespace Aws
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIdentifier() const
AWS_WAFV2_API PhoneNumberField()=default
void SetIdentifier(IdentifierT &&value)
PhoneNumberField & WithIdentifier(IdentifierT &&value)
AWS_WAFV2_API PhoneNumberField(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API PhoneNumberField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue