AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
SoftwareGroupByRule.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/SoftwareFilters.h>
9#include <aws/securityhub/model/SoftwareGroupByField.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API SoftwareGroupByRule() = default;
32 AWS_SECURITYHUB_API SoftwareGroupByRule(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline SoftwareGroupByField GetGroupByField() const { return m_groupByField; }
41 inline bool GroupByFieldHasBeenSet() const { return m_groupByFieldHasBeenSet; }
43 m_groupByFieldHasBeenSet = true;
44 m_groupByField = value;
45 }
47 SetGroupByField(value);
48 return *this;
49 }
51
53
57 inline const SoftwareFilters& GetFilters() const { return m_filters; }
58 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
59 template <typename FiltersT = SoftwareFilters>
60 void SetFilters(FiltersT&& value) {
61 m_filtersHasBeenSet = true;
62 m_filters = std::forward<FiltersT>(value);
63 }
64 template <typename FiltersT = SoftwareFilters>
65 SoftwareGroupByRule& WithFilters(FiltersT&& value) {
66 SetFilters(std::forward<FiltersT>(value));
67 return *this;
68 }
70 private:
72
73 SoftwareFilters m_filters;
74 bool m_groupByFieldHasBeenSet = false;
75 bool m_filtersHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
void SetGroupByField(SoftwareGroupByField value)
SoftwareGroupByRule & WithFilters(FiltersT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API SoftwareGroupByRule()=default
AWS_SECURITYHUB_API SoftwareGroupByRule(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API SoftwareGroupByRule & operator=(Aws::Utils::Json::JsonView jsonValue)
SoftwareGroupByRule & WithGroupByField(SoftwareGroupByField value)
Aws::Utils::Json::JsonValue JsonValue