AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSenderId(const Aws::String& value) { m_senderIdHasBeenSet = true; m_senderId = value; }
50 inline void SetSenderId(Aws::String&& value) { m_senderIdHasBeenSet = true; m_senderId = std::move(value); }
51 inline void SetSenderId(const char* value) { m_senderIdHasBeenSet = true; m_senderId.assign(value); }
52 inline SMSConfiguration& WithSenderId(const Aws::String& value) { SetSenderId(value); return *this;}
53 inline SMSConfiguration& WithSenderId(Aws::String&& value) { SetSenderId(std::move(value)); return *this;}
54 inline SMSConfiguration& WithSenderId(const char* value) { SetSenderId(value); return *this;}
56
58
62 inline const Aws::String& GetAdditionalMessage() const{ return m_additionalMessage; }
63 inline bool AdditionalMessageHasBeenSet() const { return m_additionalMessageHasBeenSet; }
64 inline void SetAdditionalMessage(const Aws::String& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = value; }
65 inline void SetAdditionalMessage(Aws::String&& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = std::move(value); }
66 inline void SetAdditionalMessage(const char* value) { m_additionalMessageHasBeenSet = true; m_additionalMessage.assign(value); }
67 inline SMSConfiguration& WithAdditionalMessage(const Aws::String& value) { SetAdditionalMessage(value); return *this;}
68 inline SMSConfiguration& WithAdditionalMessage(Aws::String&& value) { SetAdditionalMessage(std::move(value)); return *this;}
69 inline SMSConfiguration& WithAdditionalMessage(const char* value) { SetAdditionalMessage(value); return *this;}
71
73
79 inline const Aws::Vector<RecipientDetail>& GetRecipients() const{ return m_recipients; }
80 inline bool RecipientsHasBeenSet() const { return m_recipientsHasBeenSet; }
81 inline void SetRecipients(const Aws::Vector<RecipientDetail>& value) { m_recipientsHasBeenSet = true; m_recipients = value; }
82 inline void SetRecipients(Aws::Vector<RecipientDetail>&& value) { m_recipientsHasBeenSet = true; m_recipients = std::move(value); }
83 inline SMSConfiguration& WithRecipients(const Aws::Vector<RecipientDetail>& value) { SetRecipients(value); return *this;}
84 inline SMSConfiguration& WithRecipients(Aws::Vector<RecipientDetail>&& value) { SetRecipients(std::move(value)); return *this;}
85 inline SMSConfiguration& AddRecipients(const RecipientDetail& value) { m_recipientsHasBeenSet = true; m_recipients.push_back(value); return *this; }
86 inline SMSConfiguration& AddRecipients(RecipientDetail&& value) { m_recipientsHasBeenSet = true; m_recipients.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_senderId;
91 bool m_senderIdHasBeenSet = false;
92
93 Aws::String m_additionalMessage;
94 bool m_additionalMessageHasBeenSet = false;
95
97 bool m_recipientsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTEvents
102} // namespace Aws
SMSConfiguration & WithAdditionalMessage(const char *value)
void SetSenderId(const Aws::String &value)
SMSConfiguration & AddRecipients(const RecipientDetail &value)
SMSConfiguration & WithRecipients(const Aws::Vector< RecipientDetail > &value)
const Aws::Vector< RecipientDetail > & GetRecipients() const
void SetRecipients(const Aws::Vector< RecipientDetail > &value)
SMSConfiguration & WithAdditionalMessage(const Aws::String &value)
SMSConfiguration & WithRecipients(Aws::Vector< RecipientDetail > &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdditionalMessage(Aws::String &&value)
const Aws::String & GetSenderId() const
SMSConfiguration & WithSenderId(Aws::String &&value)
SMSConfiguration & AddRecipients(RecipientDetail &&value)
void SetAdditionalMessage(const char *value)
AWS_IOTEVENTS_API SMSConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalMessage(const Aws::String &value)
const Aws::String & GetAdditionalMessage() const
SMSConfiguration & WithAdditionalMessage(Aws::String &&value)
AWS_IOTEVENTS_API SMSConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSConfiguration & WithSenderId(const Aws::String &value)
void SetRecipients(Aws::Vector< RecipientDetail > &&value)
SMSConfiguration & WithSenderId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue