AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GroupByValue.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 GroupByValue() = default;
36 AWS_SECURITYHUB_API GroupByValue(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API GroupByValue& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFieldValue() const { return m_fieldValue; }
46 inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; }
47 template<typename FieldValueT = Aws::String>
48 void SetFieldValue(FieldValueT&& value) { m_fieldValueHasBeenSet = true; m_fieldValue = std::forward<FieldValueT>(value); }
49 template<typename FieldValueT = Aws::String>
50 GroupByValue& WithFieldValue(FieldValueT&& value) { SetFieldValue(std::forward<FieldValueT>(value)); return *this;}
52
54
58 inline int GetCount() const { return m_count; }
59 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
60 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
61 inline GroupByValue& WithCount(int value) { SetCount(value); return *this;}
63 private:
64
65 Aws::String m_fieldValue;
66 bool m_fieldValueHasBeenSet = false;
67
68 int m_count{0};
69 bool m_countHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SecurityHub
74} // namespace Aws
GroupByValue & WithCount(int value)
const Aws::String & GetFieldValue() const
AWS_SECURITYHUB_API GroupByValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFieldValue(FieldValueT &&value)
AWS_SECURITYHUB_API GroupByValue(Aws::Utils::Json::JsonView jsonValue)
GroupByValue & WithFieldValue(FieldValueT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API GroupByValue()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue