/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the CheckIfPhoneNumberIsOptedOut
* action.See Also:
AWS
* API Reference
The phone number for which you want to check the opt out status.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The phone number for which you want to check the opt out status.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The phone number for which you want to check the opt out status.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The phone number for which you want to check the opt out status.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The phone number for which you want to check the opt out status.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The phone number for which you want to check the opt out status.
*/ inline CheckIfPhoneNumberIsOptedOutRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The phone number for which you want to check the opt out status.
*/ inline CheckIfPhoneNumberIsOptedOutRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The phone number for which you want to check the opt out status.
*/ inline CheckIfPhoneNumberIsOptedOutRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} private: Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; }; } // namespace Model } // namespace SNS } // namespace Aws