/** * 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 Pinpoint { namespace Model { /** *

Verify OTP message request.

See Also:

AWS * API Reference

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

The destination identity to send OTP to.

*/ inline const Aws::String& GetDestinationIdentity() const{ return m_destinationIdentity; } /** *

The destination identity to send OTP to.

*/ inline bool DestinationIdentityHasBeenSet() const { return m_destinationIdentityHasBeenSet; } /** *

The destination identity to send OTP to.

*/ inline void SetDestinationIdentity(const Aws::String& value) { m_destinationIdentityHasBeenSet = true; m_destinationIdentity = value; } /** *

The destination identity to send OTP to.

*/ inline void SetDestinationIdentity(Aws::String&& value) { m_destinationIdentityHasBeenSet = true; m_destinationIdentity = std::move(value); } /** *

The destination identity to send OTP to.

*/ inline void SetDestinationIdentity(const char* value) { m_destinationIdentityHasBeenSet = true; m_destinationIdentity.assign(value); } /** *

The destination identity to send OTP to.

*/ inline VerifyOTPMessageRequestParameters& WithDestinationIdentity(const Aws::String& value) { SetDestinationIdentity(value); return *this;} /** *

The destination identity to send OTP to.

*/ inline VerifyOTPMessageRequestParameters& WithDestinationIdentity(Aws::String&& value) { SetDestinationIdentity(std::move(value)); return *this;} /** *

The destination identity to send OTP to.

*/ inline VerifyOTPMessageRequestParameters& WithDestinationIdentity(const char* value) { SetDestinationIdentity(value); return *this;} /** *

The OTP the end user provided for verification.

*/ inline const Aws::String& GetOtp() const{ return m_otp; } /** *

The OTP the end user provided for verification.

*/ inline bool OtpHasBeenSet() const { return m_otpHasBeenSet; } /** *

The OTP the end user provided for verification.

*/ inline void SetOtp(const Aws::String& value) { m_otpHasBeenSet = true; m_otp = value; } /** *

The OTP the end user provided for verification.

*/ inline void SetOtp(Aws::String&& value) { m_otpHasBeenSet = true; m_otp = std::move(value); } /** *

The OTP the end user provided for verification.

*/ inline void SetOtp(const char* value) { m_otpHasBeenSet = true; m_otp.assign(value); } /** *

The OTP the end user provided for verification.

*/ inline VerifyOTPMessageRequestParameters& WithOtp(const Aws::String& value) { SetOtp(value); return *this;} /** *

The OTP the end user provided for verification.

*/ inline VerifyOTPMessageRequestParameters& WithOtp(Aws::String&& value) { SetOtp(std::move(value)); return *this;} /** *

The OTP the end user provided for verification.

*/ inline VerifyOTPMessageRequestParameters& WithOtp(const char* value) { SetOtp(value); return *this;} /** *

The reference identifier provided when the OTP was previously sent.

*/ inline const Aws::String& GetReferenceId() const{ return m_referenceId; } /** *

The reference identifier provided when the OTP was previously sent.

*/ inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } /** *

The reference identifier provided when the OTP was previously sent.

*/ inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } /** *

The reference identifier provided when the OTP was previously sent.

*/ inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); } /** *

The reference identifier provided when the OTP was previously sent.

*/ inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); } /** *

The reference identifier provided when the OTP was previously sent.

*/ inline VerifyOTPMessageRequestParameters& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;} /** *

The reference identifier provided when the OTP was previously sent.

*/ inline VerifyOTPMessageRequestParameters& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;} /** *

The reference identifier provided when the OTP was previously sent.

*/ inline VerifyOTPMessageRequestParameters& WithReferenceId(const char* value) { SetReferenceId(value); return *this;} private: Aws::String m_destinationIdentity; bool m_destinationIdentityHasBeenSet = false; Aws::String m_otp; bool m_otpHasBeenSet = false; Aws::String m_referenceId; bool m_referenceIdHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws