AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleGroupSourceStatelessRuleDefinition.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/RuleGroupSourceStatelessRuleMatchAttributes.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::Vector<Aws::String>& GetActions() const{ return m_actions; }
50 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
51 inline void SetActions(const Aws::Vector<Aws::String>& value) { m_actionsHasBeenSet = true; m_actions = value; }
52 inline void SetActions(Aws::Vector<Aws::String>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
55 inline RuleGroupSourceStatelessRuleDefinition& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
56 inline RuleGroupSourceStatelessRuleDefinition& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
57 inline RuleGroupSourceStatelessRuleDefinition& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
59
61
65 inline const RuleGroupSourceStatelessRuleMatchAttributes& GetMatchAttributes() const{ return m_matchAttributes; }
66 inline bool MatchAttributesHasBeenSet() const { return m_matchAttributesHasBeenSet; }
67 inline void SetMatchAttributes(const RuleGroupSourceStatelessRuleMatchAttributes& value) { m_matchAttributesHasBeenSet = true; m_matchAttributes = value; }
68 inline void SetMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes&& value) { m_matchAttributesHasBeenSet = true; m_matchAttributes = std::move(value); }
72 private:
73
75 bool m_actionsHasBeenSet = false;
76
78 bool m_matchAttributesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
void SetMatchAttributes(const RuleGroupSourceStatelessRuleMatchAttributes &value)
RuleGroupSourceStatelessRuleDefinition & WithMatchAttributes(const RuleGroupSourceStatelessRuleMatchAttributes &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes &&value)
RuleGroupSourceStatelessRuleDefinition & AddActions(Aws::String &&value)
RuleGroupSourceStatelessRuleDefinition & WithActions(Aws::Vector< Aws::String > &&value)
RuleGroupSourceStatelessRuleDefinition & WithActions(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API RuleGroupSourceStatelessRuleDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleGroupSourceStatelessRuleDefinition & AddActions(const Aws::String &value)
RuleGroupSourceStatelessRuleDefinition & AddActions(const char *value)
AWS_SECURITYHUB_API RuleGroupSourceStatelessRuleDefinition(Aws::Utils::Json::JsonView jsonValue)
const RuleGroupSourceStatelessRuleMatchAttributes & GetMatchAttributes() const
RuleGroupSourceStatelessRuleDefinition & WithMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue