7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/InsightResultValue.h>
44 template <
typename InsightArnT = Aws::String>
46 m_insightArnHasBeenSet =
true;
47 m_insightArn = std::forward<InsightArnT>(value);
49 template <
typename InsightArnT = Aws::String>
63 template <
typename GroupByAttributeT = Aws::String>
65 m_groupByAttributeHasBeenSet =
true;
66 m_groupByAttribute = std::forward<GroupByAttributeT>(value);
68 template <
typename GroupByAttributeT = Aws::String>
82 template <
typename ResultValuesT = Aws::Vector<InsightResultValue>>
84 m_resultValuesHasBeenSet =
true;
85 m_resultValues = std::forward<ResultValuesT>(value);
87 template <
typename ResultValuesT = Aws::Vector<InsightResultValue>>
92 template <
typename ResultValuesT = InsightResultValue>
94 m_resultValuesHasBeenSet =
true;
95 m_resultValues.emplace_back(std::forward<ResultValuesT>(value));
105 bool m_insightArnHasBeenSet =
false;
106 bool m_groupByAttributeHasBeenSet =
false;
107 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