AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SMSConfiguration.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotevents/model/RecipientDetail.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTEvents
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTEVENTS_API SMSConfiguration() = default;
38 AWS_IOTEVENTS_API SMSConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetSenderId() const { return m_senderId; }
48 inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; }
49 template<typename SenderIdT = Aws::String>
50 void SetSenderId(SenderIdT&& value) { m_senderIdHasBeenSet = true; m_senderId = std::forward<SenderIdT>(value); }
51 template<typename SenderIdT = Aws::String>
52 SMSConfiguration& WithSenderId(SenderIdT&& value) { SetSenderId(std::forward<SenderIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetAdditionalMessage() const { return m_additionalMessage; }
61 inline bool AdditionalMessageHasBeenSet() const { return m_additionalMessageHasBeenSet; }
62 template<typename AdditionalMessageT = Aws::String>
63 void SetAdditionalMessage(AdditionalMessageT&& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = std::forward<AdditionalMessageT>(value); }
64 template<typename AdditionalMessageT = Aws::String>
65 SMSConfiguration& WithAdditionalMessage(AdditionalMessageT&& value) { SetAdditionalMessage(std::forward<AdditionalMessageT>(value)); return *this;}
67
69
75 inline const Aws::Vector<RecipientDetail>& GetRecipients() const { return m_recipients; }
76 inline bool RecipientsHasBeenSet() const { return m_recipientsHasBeenSet; }
77 template<typename RecipientsT = Aws::Vector<RecipientDetail>>
78 void SetRecipients(RecipientsT&& value) { m_recipientsHasBeenSet = true; m_recipients = std::forward<RecipientsT>(value); }
79 template<typename RecipientsT = Aws::Vector<RecipientDetail>>
80 SMSConfiguration& WithRecipients(RecipientsT&& value) { SetRecipients(std::forward<RecipientsT>(value)); return *this;}
81 template<typename RecipientsT = RecipientDetail>
82 SMSConfiguration& AddRecipients(RecipientsT&& value) { m_recipientsHasBeenSet = true; m_recipients.emplace_back(std::forward<RecipientsT>(value)); return *this; }
84 private:
85
86 Aws::String m_senderId;
87 bool m_senderIdHasBeenSet = false;
88
89 Aws::String m_additionalMessage;
90 bool m_additionalMessageHasBeenSet = false;
91
93 bool m_recipientsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoTEvents
98} // namespace Aws
const Aws::Vector< RecipientDetail > & GetRecipients() const
SMSConfiguration & WithSenderId(SenderIdT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
SMSConfiguration & WithAdditionalMessage(AdditionalMessageT &&value)
AWS_IOTEVENTS_API SMSConfiguration()=default
const Aws::String & GetSenderId() const
SMSConfiguration & WithRecipients(RecipientsT &&value)
AWS_IOTEVENTS_API SMSConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRecipients(RecipientsT &&value)
SMSConfiguration & AddRecipients(RecipientsT &&value)
const Aws::String & GetAdditionalMessage() const
void SetAdditionalMessage(AdditionalMessageT &&value)
AWS_IOTEVENTS_API SMSConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue