AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InsightResults.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API InsightResults();
38 AWS_SECURITYHUB_API InsightResults(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API InsightResults& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetInsightArn() const{ return m_insightArn; }
49 inline bool InsightArnHasBeenSet() const { return m_insightArnHasBeenSet; }
50 inline void SetInsightArn(const Aws::String& value) { m_insightArnHasBeenSet = true; m_insightArn = value; }
51 inline void SetInsightArn(Aws::String&& value) { m_insightArnHasBeenSet = true; m_insightArn = std::move(value); }
52 inline void SetInsightArn(const char* value) { m_insightArnHasBeenSet = true; m_insightArn.assign(value); }
53 inline InsightResults& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;}
54 inline InsightResults& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;}
55 inline InsightResults& WithInsightArn(const char* value) { SetInsightArn(value); return *this;}
57
59
63 inline const Aws::String& GetGroupByAttribute() const{ return m_groupByAttribute; }
64 inline bool GroupByAttributeHasBeenSet() const { return m_groupByAttributeHasBeenSet; }
65 inline void SetGroupByAttribute(const Aws::String& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = value; }
66 inline void SetGroupByAttribute(Aws::String&& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = std::move(value); }
67 inline void SetGroupByAttribute(const char* value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute.assign(value); }
68 inline InsightResults& WithGroupByAttribute(const Aws::String& value) { SetGroupByAttribute(value); return *this;}
69 inline InsightResults& WithGroupByAttribute(Aws::String&& value) { SetGroupByAttribute(std::move(value)); return *this;}
70 inline InsightResults& WithGroupByAttribute(const char* value) { SetGroupByAttribute(value); return *this;}
72
74
78 inline const Aws::Vector<InsightResultValue>& GetResultValues() const{ return m_resultValues; }
79 inline bool ResultValuesHasBeenSet() const { return m_resultValuesHasBeenSet; }
80 inline void SetResultValues(const Aws::Vector<InsightResultValue>& value) { m_resultValuesHasBeenSet = true; m_resultValues = value; }
81 inline void SetResultValues(Aws::Vector<InsightResultValue>&& value) { m_resultValuesHasBeenSet = true; m_resultValues = std::move(value); }
83 inline InsightResults& WithResultValues(Aws::Vector<InsightResultValue>&& value) { SetResultValues(std::move(value)); return *this;}
84 inline InsightResults& AddResultValues(const InsightResultValue& value) { m_resultValuesHasBeenSet = true; m_resultValues.push_back(value); return *this; }
85 inline InsightResults& AddResultValues(InsightResultValue&& value) { m_resultValuesHasBeenSet = true; m_resultValues.push_back(std::move(value)); return *this; }
87 private:
88
89 Aws::String m_insightArn;
90 bool m_insightArnHasBeenSet = false;
91
92 Aws::String m_groupByAttribute;
93 bool m_groupByAttributeHasBeenSet = false;
94
96 bool m_resultValuesHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SecurityHub
101} // namespace Aws
InsightResults & WithInsightArn(const char *value)
InsightResults & WithGroupByAttribute(const Aws::String &value)
InsightResults & WithResultValues(const Aws::Vector< InsightResultValue > &value)
AWS_SECURITYHUB_API InsightResults & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInsightArn() const
InsightResults & WithGroupByAttribute(Aws::String &&value)
InsightResults & WithInsightArn(const Aws::String &value)
InsightResults & AddResultValues(const InsightResultValue &value)
AWS_SECURITYHUB_API InsightResults(Aws::Utils::Json::JsonView jsonValue)
InsightResults & WithInsightArn(Aws::String &&value)
InsightResults & AddResultValues(InsightResultValue &&value)
const Aws::String & GetGroupByAttribute() const
void SetResultValues(Aws::Vector< InsightResultValue > &&value)
void SetInsightArn(Aws::String &&value)
InsightResults & WithGroupByAttribute(const char *value)
InsightResults & WithResultValues(Aws::Vector< InsightResultValue > &&value)
void SetGroupByAttribute(const Aws::String &value)
void SetResultValues(const Aws::Vector< InsightResultValue > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupByAttribute(const char *value)
void SetGroupByAttribute(Aws::String &&value)
const Aws::Vector< InsightResultValue > & GetResultValues() const
void SetInsightArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue