AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TTPsObservedDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_DETECTIVE_API TTPsObservedDetail() = default;
38 AWS_DETECTIVE_API TTPsObservedDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTactic() const { return m_tactic; }
48 inline bool TacticHasBeenSet() const { return m_tacticHasBeenSet; }
49 template<typename TacticT = Aws::String>
50 void SetTactic(TacticT&& value) { m_tacticHasBeenSet = true; m_tactic = std::forward<TacticT>(value); }
51 template<typename TacticT = Aws::String>
52 TTPsObservedDetail& WithTactic(TacticT&& value) { SetTactic(std::forward<TacticT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTechnique() const { return m_technique; }
60 inline bool TechniqueHasBeenSet() const { return m_techniqueHasBeenSet; }
61 template<typename TechniqueT = Aws::String>
62 void SetTechnique(TechniqueT&& value) { m_techniqueHasBeenSet = true; m_technique = std::forward<TechniqueT>(value); }
63 template<typename TechniqueT = Aws::String>
64 TTPsObservedDetail& WithTechnique(TechniqueT&& value) { SetTechnique(std::forward<TechniqueT>(value)); return *this;}
66
68
71 inline const Aws::String& GetProcedure() const { return m_procedure; }
72 inline bool ProcedureHasBeenSet() const { return m_procedureHasBeenSet; }
73 template<typename ProcedureT = Aws::String>
74 void SetProcedure(ProcedureT&& value) { m_procedureHasBeenSet = true; m_procedure = std::forward<ProcedureT>(value); }
75 template<typename ProcedureT = Aws::String>
76 TTPsObservedDetail& WithProcedure(ProcedureT&& value) { SetProcedure(std::forward<ProcedureT>(value)); return *this;}
78
80
84 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
85 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
86 template<typename IpAddressT = Aws::String>
87 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
88 template<typename IpAddressT = Aws::String>
89 TTPsObservedDetail& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
91
93
97 inline const Aws::String& GetAPIName() const { return m_aPIName; }
98 inline bool APINameHasBeenSet() const { return m_aPINameHasBeenSet; }
99 template<typename APINameT = Aws::String>
100 void SetAPIName(APINameT&& value) { m_aPINameHasBeenSet = true; m_aPIName = std::forward<APINameT>(value); }
101 template<typename APINameT = Aws::String>
102 TTPsObservedDetail& WithAPIName(APINameT&& value) { SetAPIName(std::forward<APINameT>(value)); return *this;}
104
106
109 inline long long GetAPISuccessCount() const { return m_aPISuccessCount; }
110 inline bool APISuccessCountHasBeenSet() const { return m_aPISuccessCountHasBeenSet; }
111 inline void SetAPISuccessCount(long long value) { m_aPISuccessCountHasBeenSet = true; m_aPISuccessCount = value; }
112 inline TTPsObservedDetail& WithAPISuccessCount(long long value) { SetAPISuccessCount(value); return *this;}
114
116
119 inline long long GetAPIFailureCount() const { return m_aPIFailureCount; }
120 inline bool APIFailureCountHasBeenSet() const { return m_aPIFailureCountHasBeenSet; }
121 inline void SetAPIFailureCount(long long value) { m_aPIFailureCountHasBeenSet = true; m_aPIFailureCount = value; }
122 inline TTPsObservedDetail& WithAPIFailureCount(long long value) { SetAPIFailureCount(value); return *this;}
124 private:
125
126 Aws::String m_tactic;
127 bool m_tacticHasBeenSet = false;
128
129 Aws::String m_technique;
130 bool m_techniqueHasBeenSet = false;
131
132 Aws::String m_procedure;
133 bool m_procedureHasBeenSet = false;
134
135 Aws::String m_ipAddress;
136 bool m_ipAddressHasBeenSet = false;
137
138 Aws::String m_aPIName;
139 bool m_aPINameHasBeenSet = false;
140
141 long long m_aPISuccessCount{0};
142 bool m_aPISuccessCountHasBeenSet = false;
143
144 long long m_aPIFailureCount{0};
145 bool m_aPIFailureCountHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Detective
150} // namespace Aws
TTPsObservedDetail & WithAPIFailureCount(long long value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
TTPsObservedDetail & WithTechnique(TechniqueT &&value)
TTPsObservedDetail & WithAPISuccessCount(long long value)
TTPsObservedDetail & WithTactic(TacticT &&value)
TTPsObservedDetail & WithAPIName(APINameT &&value)
AWS_DETECTIVE_API TTPsObservedDetail()=default
TTPsObservedDetail & WithIpAddress(IpAddressT &&value)
AWS_DETECTIVE_API TTPsObservedDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API TTPsObservedDetail(Aws::Utils::Json::JsonView jsonValue)
TTPsObservedDetail & WithProcedure(ProcedureT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue