AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailRecipients.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/model/RecipientDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_IOTEVENTS_API EmailRecipients();
40 AWS_IOTEVENTS_API EmailRecipients(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<RecipientDetail>& GetTo() const{ return m_to; }
50 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
51 inline void SetTo(const Aws::Vector<RecipientDetail>& value) { m_toHasBeenSet = true; m_to = value; }
52 inline void SetTo(Aws::Vector<RecipientDetail>&& value) { m_toHasBeenSet = true; m_to = std::move(value); }
53 inline EmailRecipients& WithTo(const Aws::Vector<RecipientDetail>& value) { SetTo(value); return *this;}
54 inline EmailRecipients& WithTo(Aws::Vector<RecipientDetail>&& value) { SetTo(std::move(value)); return *this;}
55 inline EmailRecipients& AddTo(const RecipientDetail& value) { m_toHasBeenSet = true; m_to.push_back(value); return *this; }
56 inline EmailRecipients& AddTo(RecipientDetail&& value) { m_toHasBeenSet = true; m_to.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_toHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace IoTEvents
66} // namespace Aws
void SetTo(const Aws::Vector< RecipientDetail > &value)
AWS_IOTEVENTS_API EmailRecipients(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RecipientDetail > & GetTo() const
AWS_IOTEVENTS_API EmailRecipients & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTo(Aws::Vector< RecipientDetail > &&value)
EmailRecipients & WithTo(Aws::Vector< RecipientDetail > &&value)
EmailRecipients & AddTo(const RecipientDetail &value)
EmailRecipients & WithTo(const Aws::Vector< RecipientDetail > &value)
EmailRecipients & AddTo(RecipientDetail &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue