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/InsightResultValue.h>
50 template<
typename InsightArnT = Aws::String>
51 void SetInsightArn(InsightArnT&& value) { m_insightArnHasBeenSet =
true; m_insightArn = std::forward<InsightArnT>(value); }
52 template<
typename InsightArnT = Aws::String>
63 template<
typename GroupByAttributeT = Aws::String>
64 void SetGroupByAttribute(GroupByAttributeT&& value) { m_groupByAttributeHasBeenSet =
true; m_groupByAttribute = std::forward<GroupByAttributeT>(value); }
65 template<
typename GroupByAttributeT = Aws::String>
76 template<
typename ResultValuesT = Aws::Vector<InsightResultValue>>
77 void SetResultValues(ResultValuesT&& value) { m_resultValuesHasBeenSet =
true; m_resultValues = std::forward<ResultValuesT>(value); }
78 template<
typename ResultValuesT = Aws::Vector<InsightResultValue>>
80 template<
typename ResultValuesT = InsightResultValue>
81 InsightResults&
AddResultValues(ResultValuesT&& value) { m_resultValuesHasBeenSet =
true; m_resultValues.emplace_back(std::forward<ResultValuesT>(value));
return *
this; }
86 bool m_insightArnHasBeenSet =
false;
89 bool m_groupByAttributeHasBeenSet =
false;
92 bool m_resultValuesHasBeenSet =
false;
InsightResults & WithInsightArn(InsightArnT &&value)
AWS_SECURITYHUB_API InsightResults & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightResults & WithGroupByAttribute(GroupByAttributeT &&value)
const Aws::String & GetInsightArn() const
void SetGroupByAttribute(GroupByAttributeT &&value)
void SetResultValues(ResultValuesT &&value)
AWS_SECURITYHUB_API InsightResults()=default
bool ResultValuesHasBeenSet() const
AWS_SECURITYHUB_API InsightResults(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGroupByAttribute() const
InsightResults & AddResultValues(ResultValuesT &&value)
void SetInsightArn(InsightArnT &&value)
bool InsightArnHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
InsightResults & WithResultValues(ResultValuesT &&value)
const Aws::Vector< InsightResultValue > & GetResultValues() const
bool GroupByAttributeHasBeenSet() 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