AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
OutboundEmailConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API OutboundEmailConfig() = default;
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetOutboundEmailAddressId() const { return m_outboundEmailAddressId; }
39 inline bool OutboundEmailAddressIdHasBeenSet() const { return m_outboundEmailAddressIdHasBeenSet; }
40 template <typename OutboundEmailAddressIdT = Aws::String>
41 void SetOutboundEmailAddressId(OutboundEmailAddressIdT&& value) {
42 m_outboundEmailAddressIdHasBeenSet = true;
43 m_outboundEmailAddressId = std::forward<OutboundEmailAddressIdT>(value);
44 }
45 template <typename OutboundEmailAddressIdT = Aws::String>
46 OutboundEmailConfig& WithOutboundEmailAddressId(OutboundEmailAddressIdT&& value) {
47 SetOutboundEmailAddressId(std::forward<OutboundEmailAddressIdT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_outboundEmailAddressId;
53 bool m_outboundEmailAddressIdHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Connect
58} // namespace Aws
AWS_CONNECT_API OutboundEmailConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOutboundEmailAddressId() const
OutboundEmailConfig & WithOutboundEmailAddressId(OutboundEmailAddressIdT &&value)
void SetOutboundEmailAddressId(OutboundEmailAddressIdT &&value)
AWS_CONNECT_API OutboundEmailConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API OutboundEmailConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue