AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupByAttributeValue(const Aws::String& value) { m_groupByAttributeValueHasBeenSet = true; m_groupByAttributeValue = value; }
49 inline void SetGroupByAttributeValue(Aws::String&& value) { m_groupByAttributeValueHasBeenSet = true; m_groupByAttributeValue = std::move(value); }
50 inline void SetGroupByAttributeValue(const char* value) { m_groupByAttributeValueHasBeenSet = true; m_groupByAttributeValue.assign(value); }
52 inline InsightResultValue& WithGroupByAttributeValue(Aws::String&& value) { SetGroupByAttributeValue(std::move(value)); return *this;}
53 inline InsightResultValue& WithGroupByAttributeValue(const char* value) { SetGroupByAttributeValue(value); return *this;}
55
57
61 inline int GetCount() const{ return m_count; }
62 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
63 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
64 inline InsightResultValue& WithCount(int value) { SetCount(value); return *this;}
66 private:
67
68 Aws::String m_groupByAttributeValue;
69 bool m_groupByAttributeValueHasBeenSet = false;
70
71 int m_count;
72 bool m_countHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SecurityHub
77} // namespace Aws
const Aws::String & GetGroupByAttributeValue() const
InsightResultValue & WithCount(int value)
InsightResultValue & WithGroupByAttributeValue(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupByAttributeValue(const Aws::String &value)
InsightResultValue & WithGroupByAttributeValue(const char *value)
AWS_SECURITYHUB_API InsightResultValue & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightResultValue & WithGroupByAttributeValue(const Aws::String &value)
AWS_SECURITYHUB_API InsightResultValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue