AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FindingAggregator.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
30 public:
31 AWS_SECURITYHUB_API FindingAggregator() = default;
32 AWS_SECURITYHUB_API FindingAggregator(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetFindingAggregatorArn() const { return m_findingAggregatorArn; }
42 inline bool FindingAggregatorArnHasBeenSet() const { return m_findingAggregatorArnHasBeenSet; }
43 template <typename FindingAggregatorArnT = Aws::String>
44 void SetFindingAggregatorArn(FindingAggregatorArnT&& value) {
45 m_findingAggregatorArnHasBeenSet = true;
46 m_findingAggregatorArn = std::forward<FindingAggregatorArnT>(value);
47 }
48 template <typename FindingAggregatorArnT = Aws::String>
49 FindingAggregator& WithFindingAggregatorArn(FindingAggregatorArnT&& value) {
50 SetFindingAggregatorArn(std::forward<FindingAggregatorArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_findingAggregatorArn;
56 bool m_findingAggregatorArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SecurityHub
61} // namespace Aws
void SetFindingAggregatorArn(FindingAggregatorArnT &&value)
FindingAggregator & WithFindingAggregatorArn(FindingAggregatorArnT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API FindingAggregator & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFindingAggregatorArn() const
AWS_SECURITYHUB_API FindingAggregator(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API FindingAggregator()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue