AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UpdateOutboundEmailContent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/UpdateOutboundEmailMessageSourceType.h>
9#include <aws/connect/model/UpdateOutboundRawMessage.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 UpdateOutboundEmailContent() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline UpdateOutboundEmailMessageSourceType GetMessageSourceType() const { return m_messageSourceType; }
41 inline bool MessageSourceTypeHasBeenSet() const { return m_messageSourceTypeHasBeenSet; }
43 m_messageSourceTypeHasBeenSet = true;
44 m_messageSourceType = value;
45 }
51
53
56 inline const UpdateOutboundRawMessage& GetRawMessage() const { return m_rawMessage; }
57 inline bool RawMessageHasBeenSet() const { return m_rawMessageHasBeenSet; }
58 template <typename RawMessageT = UpdateOutboundRawMessage>
59 void SetRawMessage(RawMessageT&& value) {
60 m_rawMessageHasBeenSet = true;
61 m_rawMessage = std::forward<RawMessageT>(value);
62 }
63 template <typename RawMessageT = UpdateOutboundRawMessage>
65 SetRawMessage(std::forward<RawMessageT>(value));
66 return *this;
67 }
69 private:
71
72 UpdateOutboundRawMessage m_rawMessage;
73 bool m_messageSourceTypeHasBeenSet = false;
74 bool m_rawMessageHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
UpdateOutboundEmailContent & WithRawMessage(RawMessageT &&value)
void SetMessageSourceType(UpdateOutboundEmailMessageSourceType value)
const UpdateOutboundRawMessage & GetRawMessage() const
UpdateOutboundEmailContent & WithMessageSourceType(UpdateOutboundEmailMessageSourceType value)
AWS_CONNECT_API UpdateOutboundEmailContent()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateOutboundEmailMessageSourceType GetMessageSourceType() const
AWS_CONNECT_API UpdateOutboundEmailContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API UpdateOutboundEmailContent(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue