7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/FilePaths.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
79 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
100 bool m_nameHasBeenSet =
false;
103 bool m_severityHasBeenSet =
false;
106 bool m_itemCountHasBeenSet =
false;
109 bool m_filePathsHasBeenSet =
false;
bool FilePathsHasBeenSet() const
void SetName(const char *value)
Threat & WithName(Aws::String &&value)
Threat & WithName(const char *value)
void SetItemCount(int value)
Threat & AddFilePaths(FilePaths &&value)
const Aws::String & GetName() const
void SetSeverity(const Aws::String &value)
Threat & WithFilePaths(const Aws::Vector< FilePaths > &value)
AWS_SECURITYHUB_API Threat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
const Aws::String & GetSeverity() const
void SetFilePaths(const Aws::Vector< FilePaths > &value)
AWS_SECURITYHUB_API Threat()
AWS_SECURITYHUB_API Threat(Aws::Utils::Json::JsonView jsonValue)
bool SeverityHasBeenSet() const
Threat & WithSeverity(const char *value)
void SetSeverity(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeverity(Aws::String &&value)
Threat & WithItemCount(int value)
Threat & AddFilePaths(const FilePaths &value)
Threat & WithSeverity(const Aws::String &value)
Threat & WithFilePaths(Aws::Vector< FilePaths > &&value)
void SetName(const Aws::String &value)
const Aws::Vector< FilePaths > & GetFilePaths() const
void SetFilePaths(Aws::Vector< FilePaths > &&value)
Threat & WithSeverity(Aws::String &&value)
Threat & WithName(const Aws::String &value)
bool NameHasBeenSet() const
bool ItemCountHasBeenSet() 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