AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InsightResultValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API InsightResultValue() = default;
31 AWS_SECURITYHUB_API InsightResultValue(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetGroupByAttributeValue() const { return m_groupByAttributeValue; }
41 inline bool GroupByAttributeValueHasBeenSet() const { return m_groupByAttributeValueHasBeenSet; }
42 template <typename GroupByAttributeValueT = Aws::String>
43 void SetGroupByAttributeValue(GroupByAttributeValueT&& value) {
44 m_groupByAttributeValueHasBeenSet = true;
45 m_groupByAttributeValue = std::forward<GroupByAttributeValueT>(value);
46 }
47 template <typename GroupByAttributeValueT = Aws::String>
48 InsightResultValue& WithGroupByAttributeValue(GroupByAttributeValueT&& value) {
49 SetGroupByAttributeValue(std::forward<GroupByAttributeValueT>(value));
50 return *this;
51 }
53
55
59 inline int GetCount() const { return m_count; }
60 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
61 inline void SetCount(int value) {
62 m_countHasBeenSet = true;
63 m_count = value;
64 }
65 inline InsightResultValue& WithCount(int value) {
66 SetCount(value);
67 return *this;
68 }
70 private:
71 Aws::String m_groupByAttributeValue;
72
73 int m_count{0};
74 bool m_groupByAttributeValueHasBeenSet = false;
75 bool m_countHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
const Aws::String & GetGroupByAttributeValue() const
InsightResultValue & WithCount(int value)
AWS_SECURITYHUB_API InsightResultValue()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupByAttributeValue(GroupByAttributeValueT &&value)
AWS_SECURITYHUB_API InsightResultValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API InsightResultValue(Aws::Utils::Json::JsonView jsonValue)
InsightResultValue & WithGroupByAttributeValue(GroupByAttributeValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue