7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
20namespace SecurityAgent {
42 template <
typename SenderT = Aws::String>
44 m_senderHasBeenSet =
true;
45 m_sender = std::forward<SenderT>(value);
47 template <
typename SenderT = Aws::String>
60 template <
typename SubjectT = Aws::String>
62 m_subjectHasBeenSet =
true;
63 m_subject = std::forward<SubjectT>(value);
65 template <
typename SubjectT = Aws::String>
79 template <
typename BodyT = Aws::String>
81 m_bodyHasBeenSet =
true;
82 m_body = std::forward<BodyT>(value);
84 template <
typename BodyT = Aws::String>
86 SetBody(std::forward<BodyT>(value));
97 template <
typename ReceivedAtT = Aws::Utils::DateTime>
99 m_receivedAtHasBeenSet =
true;
100 m_receivedAt = std::forward<ReceivedAtT>(value);
102 template <
typename ReceivedAtT = Aws::Utils::DateTime>
116 bool m_senderHasBeenSet =
false;
117 bool m_subjectHasBeenSet =
false;
118 bool m_bodyHasBeenSet =
false;
119 bool m_receivedAtHasBeenSet =
false;
const Aws::String & GetBody() const
ActorMessage & WithSubject(SubjectT &&value)
void SetBody(BodyT &&value)
ActorMessage & WithReceivedAt(ReceivedAtT &&value)
AWS_SECURITYAGENT_API ActorMessage(Aws::Utils::Json::JsonView jsonValue)
bool BodyHasBeenSet() const
AWS_SECURITYAGENT_API ActorMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSender() const
bool ReceivedAtHasBeenSet() const
AWS_SECURITYAGENT_API ActorMessage()=default
bool SenderHasBeenSet() const
const Aws::Utils::DateTime & GetReceivedAt() const
void SetSubject(SubjectT &&value)
bool SubjectHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReceivedAt(ReceivedAtT &&value)
const Aws::String & GetSubject() const
ActorMessage & WithSender(SenderT &&value)
ActorMessage & WithBody(BodyT &&value)
void SetSender(SenderT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue