AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleGroupSourceCustomActionsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/StatelessCustomActionDefinition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const StatelessCustomActionDefinition& GetActionDefinition() const{ return m_actionDefinition; }
47 inline bool ActionDefinitionHasBeenSet() const { return m_actionDefinitionHasBeenSet; }
48 inline void SetActionDefinition(const StatelessCustomActionDefinition& value) { m_actionDefinitionHasBeenSet = true; m_actionDefinition = value; }
49 inline void SetActionDefinition(StatelessCustomActionDefinition&& value) { m_actionDefinitionHasBeenSet = true; m_actionDefinition = std::move(value); }
53
55
58 inline const Aws::String& GetActionName() const{ return m_actionName; }
59 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
60 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
61 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
62 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
63 inline RuleGroupSourceCustomActionsDetails& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
64 inline RuleGroupSourceCustomActionsDetails& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
65 inline RuleGroupSourceCustomActionsDetails& WithActionName(const char* value) { SetActionName(value); return *this;}
67 private:
68
69 StatelessCustomActionDefinition m_actionDefinition;
70 bool m_actionDefinitionHasBeenSet = false;
71
72 Aws::String m_actionName;
73 bool m_actionNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
RuleGroupSourceCustomActionsDetails & WithActionDefinition(const StatelessCustomActionDefinition &value)
RuleGroupSourceCustomActionsDetails & WithActionName(Aws::String &&value)
RuleGroupSourceCustomActionsDetails & WithActionName(const char *value)
RuleGroupSourceCustomActionsDetails & WithActionDefinition(StatelessCustomActionDefinition &&value)
AWS_SECURITYHUB_API RuleGroupSourceCustomActionsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API RuleGroupSourceCustomActionsDetails(Aws::Utils::Json::JsonView jsonValue)
void SetActionDefinition(const StatelessCustomActionDefinition &value)
RuleGroupSourceCustomActionsDetails & WithActionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue