AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Insight.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsSecurityFindingFilters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
33 class Insight
34 {
35 public:
36 AWS_SECURITYHUB_API Insight();
37 AWS_SECURITYHUB_API Insight(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Insight& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetInsightArn() const{ return m_insightArn; }
47 inline bool InsightArnHasBeenSet() const { return m_insightArnHasBeenSet; }
48 inline void SetInsightArn(const Aws::String& value) { m_insightArnHasBeenSet = true; m_insightArn = value; }
49 inline void SetInsightArn(Aws::String&& value) { m_insightArnHasBeenSet = true; m_insightArn = std::move(value); }
50 inline void SetInsightArn(const char* value) { m_insightArnHasBeenSet = true; m_insightArn.assign(value); }
51 inline Insight& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;}
52 inline Insight& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;}
53 inline Insight& WithInsightArn(const char* value) { SetInsightArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline Insight& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline Insight& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline Insight& WithName(const char* value) { SetName(value); return *this;}
69
71
77 inline const AwsSecurityFindingFilters& GetFilters() const{ return m_filters; }
78 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
79 inline void SetFilters(const AwsSecurityFindingFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
80 inline void SetFilters(AwsSecurityFindingFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
81 inline Insight& WithFilters(const AwsSecurityFindingFilters& value) { SetFilters(value); return *this;}
82 inline Insight& WithFilters(AwsSecurityFindingFilters&& value) { SetFilters(std::move(value)); return *this;}
84
86
92 inline const Aws::String& GetGroupByAttribute() const{ return m_groupByAttribute; }
93 inline bool GroupByAttributeHasBeenSet() const { return m_groupByAttributeHasBeenSet; }
94 inline void SetGroupByAttribute(const Aws::String& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = value; }
95 inline void SetGroupByAttribute(Aws::String&& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = std::move(value); }
96 inline void SetGroupByAttribute(const char* value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute.assign(value); }
97 inline Insight& WithGroupByAttribute(const Aws::String& value) { SetGroupByAttribute(value); return *this;}
98 inline Insight& WithGroupByAttribute(Aws::String&& value) { SetGroupByAttribute(std::move(value)); return *this;}
99 inline Insight& WithGroupByAttribute(const char* value) { SetGroupByAttribute(value); return *this;}
101 private:
102
103 Aws::String m_insightArn;
104 bool m_insightArnHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
110 bool m_filtersHasBeenSet = false;
111
112 Aws::String m_groupByAttribute;
113 bool m_groupByAttributeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
Insight & WithInsightArn(Aws::String &&value)
Definition Insight.h:52
void SetGroupByAttribute(Aws::String &&value)
Definition Insight.h:95
void SetInsightArn(const Aws::String &value)
Definition Insight.h:48
Insight & WithInsightArn(const Aws::String &value)
Definition Insight.h:51
void SetFilters(const AwsSecurityFindingFilters &value)
Definition Insight.h:79
Insight & WithGroupByAttribute(Aws::String &&value)
Definition Insight.h:98
const AwsSecurityFindingFilters & GetFilters() const
Definition Insight.h:77
Insight & WithName(Aws::String &&value)
Definition Insight.h:66
Insight & WithName(const Aws::String &value)
Definition Insight.h:65
void SetGroupByAttribute(const char *value)
Definition Insight.h:96
Insight & WithName(const char *value)
Definition Insight.h:67
AWS_SECURITYHUB_API Insight()
const Aws::String & GetName() const
Definition Insight.h:60
void SetFilters(AwsSecurityFindingFilters &&value)
Definition Insight.h:80
void SetGroupByAttribute(const Aws::String &value)
Definition Insight.h:94
void SetInsightArn(Aws::String &&value)
Definition Insight.h:49
Insight & WithFilters(AwsSecurityFindingFilters &&value)
Definition Insight.h:82
Insight & WithGroupByAttribute(const Aws::String &value)
Definition Insight.h:97
void SetInsightArn(const char *value)
Definition Insight.h:50
const Aws::String & GetInsightArn() const
Definition Insight.h:46
const Aws::String & GetGroupByAttribute() const
Definition Insight.h:92
void SetName(const char *value)
Definition Insight.h:64
AWS_SECURITYHUB_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition Insight.h:62
AWS_SECURITYHUB_API Insight(Aws::Utils::Json::JsonView jsonValue)
Insight & WithInsightArn(const char *value)
Definition Insight.h:53
bool InsightArnHasBeenSet() const
Definition Insight.h:47
Insight & WithGroupByAttribute(const char *value)
Definition Insight.h:99
void SetName(Aws::String &&value)
Definition Insight.h:63
Insight & WithFilters(const AwsSecurityFindingFilters &value)
Definition Insight.h:81
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool GroupByAttributeHasBeenSet() const
Definition Insight.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue