AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionDefinition.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/PublishMetricAction.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 NetworkFirewall
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NETWORKFIREWALL_API ActionDefinition();
36 AWS_NETWORKFIREWALL_API ActionDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKFIREWALL_API ActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const PublishMetricAction& GetPublishMetricAction() const{ return m_publishMetricAction; }
52 inline bool PublishMetricActionHasBeenSet() const { return m_publishMetricActionHasBeenSet; }
53 inline void SetPublishMetricAction(const PublishMetricAction& value) { m_publishMetricActionHasBeenSet = true; m_publishMetricAction = value; }
54 inline void SetPublishMetricAction(PublishMetricAction&& value) { m_publishMetricActionHasBeenSet = true; m_publishMetricAction = std::move(value); }
56 inline ActionDefinition& WithPublishMetricAction(PublishMetricAction&& value) { SetPublishMetricAction(std::move(value)); return *this;}
58 private:
59
60 PublishMetricAction m_publishMetricAction;
61 bool m_publishMetricActionHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace NetworkFirewall
66} // namespace Aws
const PublishMetricAction & GetPublishMetricAction() const
void SetPublishMetricAction(PublishMetricAction &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
ActionDefinition & WithPublishMetricAction(const PublishMetricAction &value)
void SetPublishMetricAction(const PublishMetricAction &value)
AWS_NETWORKFIREWALL_API ActionDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API ActionDefinition()
ActionDefinition & WithPublishMetricAction(PublishMetricAction &&value)
AWS_NETWORKFIREWALL_API ActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue