7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FindingReference.h>
11#include <aws/guardduty/model/ThreatReference.h>
33 AWS_GUARDDUTY_API
Attack() =
default;
44 template <
typename TacticT = ThreatReference>
46 m_tacticHasBeenSet =
true;
47 m_tactic = std::forward<TacticT>(value);
49 template <
typename TacticT = ThreatReference>
62 template <
typename TechniqueT = ThreatReference>
64 m_techniqueHasBeenSet =
true;
65 m_technique = std::forward<TechniqueT>(value);
67 template <
typename TechniqueT = ThreatReference>
80 template <
typename FindingsT = Aws::Vector<FindingReference>>
82 m_findingsHasBeenSet =
true;
83 m_findings = std::forward<FindingsT>(value);
85 template <
typename FindingsT = Aws::Vector<FindingReference>>
90 template <
typename FindingsT = FindingReference>
92 m_findingsHasBeenSet =
true;
93 m_findings.emplace_back(std::forward<FindingsT>(value));
105 template <
typename VersionT = Aws::String>
107 m_versionHasBeenSet =
true;
108 m_version = std::forward<VersionT>(value);
110 template <
typename VersionT = Aws::String>
124 bool m_tacticHasBeenSet =
false;
125 bool m_techniqueHasBeenSet =
false;
126 bool m_findingsHasBeenSet =
false;
127 bool m_versionHasBeenSet =
false;
bool VersionHasBeenSet() const
void SetTactic(TacticT &&value)
Attack & WithFindings(FindingsT &&value)
AWS_GUARDDUTY_API Attack & operator=(Aws::Utils::Json::JsonView jsonValue)
const ThreatReference & GetTechnique() const
bool FindingsHasBeenSet() const
const ThreatReference & GetTactic() const
void SetVersion(VersionT &&value)
Attack & AddFindings(FindingsT &&value)
const Aws::String & GetVersion() const
void SetTechnique(TechniqueT &&value)
const Aws::Vector< FindingReference > & GetFindings() const
Attack & WithTechnique(TechniqueT &&value)
Attack & WithTactic(TacticT &&value)
AWS_GUARDDUTY_API Attack(Aws::Utils::Json::JsonView jsonValue)
void SetFindings(FindingsT &&value)
AWS_GUARDDUTY_API Attack()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Attack & WithVersion(VersionT &&value)
bool TacticHasBeenSet() const
bool TechniqueHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue