AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InsightResultValue.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API InsightResultValue() = default;
36 AWS_SECURITYHUB_API InsightResultValue(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetGroupByAttributeValue() const { return m_groupByAttributeValue; }
47 inline bool GroupByAttributeValueHasBeenSet() const { return m_groupByAttributeValueHasBeenSet; }
48 template<typename GroupByAttributeValueT = Aws::String>
49 void SetGroupByAttributeValue(GroupByAttributeValueT&& value) { m_groupByAttributeValueHasBeenSet = true; m_groupByAttributeValue = std::forward<GroupByAttributeValueT>(value); }
50 template<typename GroupByAttributeValueT = Aws::String>
51 InsightResultValue& WithGroupByAttributeValue(GroupByAttributeValueT&& value) { SetGroupByAttributeValue(std::forward<GroupByAttributeValueT>(value)); return *this;}
53
55
59 inline int GetCount() const { return m_count; }
60 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
61 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
62 inline InsightResultValue& WithCount(int value) { SetCount(value); return *this;}
64 private:
65
66 Aws::String m_groupByAttributeValue;
67 bool m_groupByAttributeValueHasBeenSet = false;
68
69 int m_count{0};
70 bool m_countHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // 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