AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AccountAggregation.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AggregationFindingType.h>
9#include <aws/inspector2/model/AggregationResourceType.h>
10#include <aws/inspector2/model/AccountSortBy.h>
11#include <aws/inspector2/model/SortOrder.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Inspector2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_INSPECTOR2_API AccountAggregation() = default;
39 AWS_INSPECTOR2_API AccountAggregation(Aws::Utils::Json::JsonView jsonValue);
41 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline AggregationFindingType GetFindingType() const { return m_findingType; }
49 inline bool FindingTypeHasBeenSet() const { return m_findingTypeHasBeenSet; }
50 inline void SetFindingType(AggregationFindingType value) { m_findingTypeHasBeenSet = true; m_findingType = value; }
53
55
58 inline AggregationResourceType GetResourceType() const { return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
60 inline void SetResourceType(AggregationResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
63
65
68 inline AccountSortBy GetSortBy() const { return m_sortBy; }
69 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
70 inline void SetSortBy(AccountSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
71 inline AccountAggregation& WithSortBy(AccountSortBy value) { SetSortBy(value); return *this;}
73
75
78 inline SortOrder GetSortOrder() const { return m_sortOrder; }
79 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
80 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
81 inline AccountAggregation& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
83 private:
84
86 bool m_findingTypeHasBeenSet = false;
87
89 bool m_resourceTypeHasBeenSet = false;
90
92 bool m_sortByHasBeenSet = false;
93
94 SortOrder m_sortOrder{SortOrder::NOT_SET};
95 bool m_sortOrderHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Inspector2
100} // namespace Aws
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAggregation & WithResourceType(AggregationResourceType value)
AccountAggregation & WithSortBy(AccountSortBy value)
void SetFindingType(AggregationFindingType value)
AccountAggregation & WithSortOrder(SortOrder value)
AWS_INSPECTOR2_API AccountAggregation(Aws::Utils::Json::JsonView jsonValue)
AggregationResourceType GetResourceType() const
AWS_INSPECTOR2_API AccountAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationFindingType GetFindingType() const
AWS_INSPECTOR2_API AccountAggregation()=default
AccountAggregation & WithFindingType(AggregationFindingType value)
void SetResourceType(AggregationResourceType value)
Aws::Utils::Json::JsonValue JsonValue