AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaseEditItem.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityIR
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYIR_API CaseEditItem() = default;
36 AWS_SECURITYIR_API CaseEditItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYIR_API CaseEditItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
46 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
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>
50 CaseEditItem& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
52
54
57 inline const Aws::String& GetPrincipal() const { return m_principal; }
58 inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; }
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>
62 CaseEditItem& WithPrincipal(PrincipalT&& value) { SetPrincipal(std::forward<PrincipalT>(value)); return *this;}
64
66
69 inline const Aws::String& GetAction() const { return m_action; }
70 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
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>
74 CaseEditItem& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
76
78
81 inline const Aws::String& GetMessage() const { return m_message; }
82 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
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>
86 CaseEditItem& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
88 private:
89
90 Aws::Utils::DateTime m_eventTimestamp{};
91 bool m_eventTimestampHasBeenSet = false;
92
93 Aws::String m_principal;
94 bool m_principalHasBeenSet = false;
95
96 Aws::String m_action;
97 bool m_actionHasBeenSet = false;
98
99 Aws::String m_message;
100 bool m_messageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SecurityIR
105} // namespace Aws
AWS_SECURITYIR_API CaseEditItem()=default
const Aws::String & GetMessage() const
AWS_SECURITYIR_API CaseEditItem(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipal(PrincipalT &&value)
CaseEditItem & WithEventTimestamp(EventTimestampT &&value)
CaseEditItem & WithMessage(MessageT &&value)
AWS_SECURITYIR_API CaseEditItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEventTimestamp() 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