/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a phone number to validate and retrieve information
* about.See Also:
AWS
* API Reference
The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline const Aws::String& GetIsoCountryCode() const{ return m_isoCountryCode; } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline bool IsoCountryCodeHasBeenSet() const { return m_isoCountryCodeHasBeenSet; } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline void SetIsoCountryCode(const Aws::String& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = value; } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline void SetIsoCountryCode(Aws::String&& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = std::move(value); } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline void SetIsoCountryCode(const char* value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode.assign(value); } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline NumberValidateRequest& WithIsoCountryCode(const Aws::String& value) { SetIsoCountryCode(value); return *this;} /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline NumberValidateRequest& WithIsoCountryCode(Aws::String&& value) { SetIsoCountryCode(std::move(value)); return *this;} /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region where the phone number was originally registered.
*/ inline NumberValidateRequest& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;} /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline NumberValidateRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline NumberValidateRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The phone number to retrieve information about. The phone number that you * provide should include a valid numeric country code. Otherwise, the operation * might result in an error.
*/ inline NumberValidateRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} private: Aws::String m_isoCountryCode; bool m_isoCountryCodeHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws