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

SMS settings for authentication.

See Also:

AWS * API Reference

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

The contents of the SMS message.

*/ inline const Aws::String& GetSmsMessage() const{ return m_smsMessage; } /** *

The contents of the SMS message.

*/ inline bool SmsMessageHasBeenSet() const { return m_smsMessageHasBeenSet; } /** *

The contents of the SMS message.

*/ inline void SetSmsMessage(const Aws::String& value) { m_smsMessageHasBeenSet = true; m_smsMessage = value; } /** *

The contents of the SMS message.

*/ inline void SetSmsMessage(Aws::String&& value) { m_smsMessageHasBeenSet = true; m_smsMessage = std::move(value); } /** *

The contents of the SMS message.

*/ inline void SetSmsMessage(const char* value) { m_smsMessageHasBeenSet = true; m_smsMessage.assign(value); } /** *

The contents of the SMS message.

*/ inline SmsSettings& WithSmsMessage(const Aws::String& value) { SetSmsMessage(value); return *this;} /** *

The contents of the SMS message.

*/ inline SmsSettings& WithSmsMessage(Aws::String&& value) { SetSmsMessage(std::move(value)); return *this;} /** *

The contents of the SMS message.

*/ inline SmsSettings& WithSmsMessage(const char* value) { SetSmsMessage(value); return *this;} private: Aws::String m_smsMessage; bool m_smsMessageHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws