/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WAFV2 { namespace Model { /** *

The name of a field in the request payload that contains part or all of your * customer's primary phone number.

This data type is used in the * RequestInspectionACFP data type.

See Also:

AWS * API Reference

*/ class PhoneNumberField { public: AWS_WAFV2_API PhoneNumberField(); AWS_WAFV2_API PhoneNumberField(Aws::Utils::Json::JsonView jsonValue); AWS_WAFV2_API PhoneNumberField& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline PhoneNumberField& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline PhoneNumberField& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

The name of a single primary phone number field.

How you specify the * phone number fields depends on the request inspection payload type.

    *
  • For JSON payloads, specify the field identifiers in JSON pointer syntax. * For information about the JSON Pointer syntax, see the Internet Engineering Task * Force (IETF) documentation JavaScript Object Notation (JSON) * Pointer.

    For example, for the JSON payload { "form": { * "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", * "primaryphoneline3": "THE_PHONE3" } }, the phone number field identifiers * are /form/primaryphoneline1, /form/primaryphoneline2, * and /form/primaryphoneline3.

  • For form encoded * payload types, use the HTML form names.

    For example, for an HTML form * with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone * number field identifiers are primaryphoneline1, * primaryphoneline2, and primaryphoneline3.

  • *
*/ inline PhoneNumberField& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws