/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTEvents { namespace Model { /** *

Contains the configuration information of SMS notifications.

See * Also:

AWS * API Reference

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

The sender ID.

*/ inline const Aws::String& GetSenderId() const{ return m_senderId; } /** *

The sender ID.

*/ inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; } /** *

The sender ID.

*/ inline void SetSenderId(const Aws::String& value) { m_senderIdHasBeenSet = true; m_senderId = value; } /** *

The sender ID.

*/ inline void SetSenderId(Aws::String&& value) { m_senderIdHasBeenSet = true; m_senderId = std::move(value); } /** *

The sender ID.

*/ inline void SetSenderId(const char* value) { m_senderIdHasBeenSet = true; m_senderId.assign(value); } /** *

The sender ID.

*/ inline SMSConfiguration& WithSenderId(const Aws::String& value) { SetSenderId(value); return *this;} /** *

The sender ID.

*/ inline SMSConfiguration& WithSenderId(Aws::String&& value) { SetSenderId(std::move(value)); return *this;} /** *

The sender ID.

*/ inline SMSConfiguration& WithSenderId(const char* value) { SetSenderId(value); return *this;} /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline const Aws::String& GetAdditionalMessage() const{ return m_additionalMessage; } /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline bool AdditionalMessageHasBeenSet() const { return m_additionalMessageHasBeenSet; } /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline void SetAdditionalMessage(const Aws::String& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = value; } /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline void SetAdditionalMessage(Aws::String&& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = std::move(value); } /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline void SetAdditionalMessage(const char* value) { m_additionalMessageHasBeenSet = true; m_additionalMessage.assign(value); } /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline SMSConfiguration& WithAdditionalMessage(const Aws::String& value) { SetAdditionalMessage(value); return *this;} /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline SMSConfiguration& WithAdditionalMessage(Aws::String&& value) { SetAdditionalMessage(std::move(value)); return *this;} /** *

The message that you want to send. The message can be up to 200 * characters.

*/ inline SMSConfiguration& WithAdditionalMessage(const char* value) { SetAdditionalMessage(value); return *this;} /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline const Aws::Vector& GetRecipients() const{ return m_recipients; } /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline bool RecipientsHasBeenSet() const { return m_recipientsHasBeenSet; } /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline void SetRecipients(const Aws::Vector& value) { m_recipientsHasBeenSet = true; m_recipients = value; } /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline void SetRecipients(Aws::Vector&& value) { m_recipientsHasBeenSet = true; m_recipients = std::move(value); } /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline SMSConfiguration& WithRecipients(const Aws::Vector& value) { SetRecipients(value); return *this;} /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline SMSConfiguration& WithRecipients(Aws::Vector&& value) { SetRecipients(std::move(value)); return *this;} /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline SMSConfiguration& AddRecipients(const RecipientDetail& value) { m_recipientsHasBeenSet = true; m_recipients.push_back(value); return *this; } /** *

Specifies one or more recipients who receive the message.

*

You must add * the users that receive SMS messages to your AWS SSO store.

*/ inline SMSConfiguration& AddRecipients(RecipientDetail&& value) { m_recipientsHasBeenSet = true; m_recipients.push_back(std::move(value)); return *this; } private: Aws::String m_senderId; bool m_senderIdHasBeenSet = false; Aws::String m_additionalMessage; bool m_additionalMessageHasBeenSet = false; Aws::Vector m_recipients; bool m_recipientsHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws