7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/ItemPath.h>
37 AWS_GUARDDUTY_API
Threat() =
default;
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename SourceT = Aws::String>
63 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
64 template<
typename SourceT = Aws::String>
75 template<
typename ItemPathsT = Aws::Vector<ItemPath>>
76 void SetItemPaths(ItemPathsT&& value) { m_itemPathsHasBeenSet =
true; m_itemPaths = std::forward<ItemPathsT>(value); }
77 template<
typename ItemPathsT = Aws::Vector<ItemPath>>
79 template<
typename ItemPathsT = ItemPath>
80 Threat&
AddItemPaths(ItemPathsT&& value) { m_itemPathsHasBeenSet =
true; m_itemPaths.emplace_back(std::forward<ItemPathsT>(value));
return *
this; }
85 bool m_nameHasBeenSet =
false;
88 bool m_sourceHasBeenSet =
false;
91 bool m_itemPathsHasBeenSet =
false;
Threat & WithSource(SourceT &&value)
bool NameHasBeenSet() const
const Aws::String & GetSource() const
bool ItemPathsHasBeenSet() const
AWS_GUARDDUTY_API Threat()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Threat & WithName(NameT &&value)
Threat & WithItemPaths(ItemPathsT &&value)
const Aws::Vector< ItemPath > & GetItemPaths() const
Threat & AddItemPaths(ItemPathsT &&value)
void SetItemPaths(ItemPathsT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_GUARDDUTY_API Threat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSource(SourceT &&value)
AWS_GUARDDUTY_API Threat(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() 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