AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
OutboundAdditionalRecipients.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EmailAddressInfo.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API OutboundAdditionalRecipients() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::Vector<EmailAddressInfo>& GetCcEmailAddresses() const { return m_ccEmailAddresses; }
44 inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; }
45 template <typename CcEmailAddressesT = Aws::Vector<EmailAddressInfo>>
46 void SetCcEmailAddresses(CcEmailAddressesT&& value) {
47 m_ccEmailAddressesHasBeenSet = true;
48 m_ccEmailAddresses = std::forward<CcEmailAddressesT>(value);
49 }
50 template <typename CcEmailAddressesT = Aws::Vector<EmailAddressInfo>>
52 SetCcEmailAddresses(std::forward<CcEmailAddressesT>(value));
53 return *this;
54 }
55 template <typename CcEmailAddressesT = EmailAddressInfo>
57 m_ccEmailAddressesHasBeenSet = true;
58 m_ccEmailAddresses.emplace_back(std::forward<CcEmailAddressesT>(value));
59 return *this;
60 }
62 private:
63 Aws::Vector<EmailAddressInfo> m_ccEmailAddresses;
64 bool m_ccEmailAddressesHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace Connect
69} // namespace Aws
OutboundAdditionalRecipients & WithCcEmailAddresses(CcEmailAddressesT &&value)
OutboundAdditionalRecipients & AddCcEmailAddresses(CcEmailAddressesT &&value)
AWS_CONNECT_API OutboundAdditionalRecipients(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API OutboundAdditionalRecipients & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API OutboundAdditionalRecipients()=default
const Aws::Vector< EmailAddressInfo > & GetCcEmailAddresses() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue