/**
* 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; } inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } inline CheckIfPhoneNumberIsOptedOutRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} inline CheckIfPhoneNumberIsOptedOutRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} 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