7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename EventTimestampT = Aws::Utils::DateTime>
48 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet =
true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
49 template<
typename EventTimestampT = Aws::Utils::DateTime>
59 template<
typename PrincipalT = Aws::String>
60 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
61 template<
typename PrincipalT = Aws::String>
71 template<
typename ActionT = Aws::String>
72 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
73 template<
typename ActionT = Aws::String>
83 template<
typename MessageT = Aws::String>
84 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
85 template<
typename MessageT = Aws::String>
91 bool m_eventTimestampHasBeenSet =
false;
94 bool m_principalHasBeenSet =
false;
97 bool m_actionHasBeenSet =
false;
100 bool m_messageHasBeenSet =
false;
AWS_SECURITYIR_API CaseEditItem()=default
const Aws::String & GetMessage() const
AWS_SECURITYIR_API CaseEditItem(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ActionT &&value)
void SetPrincipal(PrincipalT &&value)
bool ActionHasBeenSet() const
CaseEditItem & WithEventTimestamp(EventTimestampT &&value)
bool MessageHasBeenSet() const
bool EventTimestampHasBeenSet() const
CaseEditItem & WithMessage(MessageT &&value)
AWS_SECURITYIR_API CaseEditItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEventTimestamp() const
bool PrincipalHasBeenSet() const
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
CaseEditItem & WithAction(ActionT &&value)
const Aws::String & GetPrincipal() const
CaseEditItem & WithPrincipal(PrincipalT &&value)
void SetEventTimestamp(EventTimestampT &&value)
const Aws::String & GetAction() const
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue