Download include/aws/sns/model/CheckIfPhoneNumberIsOptedOutRequest.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 2.5 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sns/model/CheckIfPhoneNumberIsOptedOutRequest.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sns/model/CheckIfPhoneNumberIsOptedOutRequest.h
-
curl -L -o CheckIfPhoneNumberIsOptedOutRequest.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sns/model/CheckIfPhoneNumberIsOptedOutRequest.h
2.5 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace SNS | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>The input for the <code>CheckIfPhoneNumberIsOptedOut</code> | |
| * action.</p><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutInput">AWS | |
| * API Reference</a></p> | |
| */ | |
| class CheckIfPhoneNumberIsOptedOutRequest : public SNSRequest | |
| { | |
| public: | |
| AWS_SNS_API CheckIfPhoneNumberIsOptedOutRequest(); | |
| // Service request name is the Operation name which will send this request out, | |
| // each operation should has unique request name, so that we can get operation's name from this request. | |
| // Note: this is not true for response, multiple operations may have the same response name, | |
| // so we can not get operation's name from response. | |
| inline virtual const char* GetServiceRequestName() const override { return "CheckIfPhoneNumberIsOptedOut"; } | |
| AWS_SNS_API Aws::String SerializePayload() const override; | |
| protected: | |
| AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; | |
| public: | |
| ///@{ | |
| /** | |
| * <p>The phone number for which you want to check the opt out status.</p> | |
| */ | |
| 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 | |