7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/ActionDefinition.h>
20namespace NetworkFirewall {
45 AWS_NETWORKFIREWALL_API
CustomAction(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
47 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
56 template <
typename ActionNameT = Aws::String>
58 m_actionNameHasBeenSet =
true;
59 m_actionName = std::forward<ActionNameT>(value);
61 template <
typename ActionNameT = Aws::String>
74 template <
typename ActionDefinitionT = ActionDefinition>
76 m_actionDefinitionHasBeenSet =
true;
77 m_actionDefinition = std::forward<ActionDefinitionT>(value);
79 template <
typename ActionDefinitionT = ActionDefinition>
89 bool m_actionNameHasBeenSet =
false;
90 bool m_actionDefinitionHasBeenSet =
false;
AWS_NETWORKFIREWALL_API CustomAction & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CustomAction & WithActionName(ActionNameT &&value)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetActionDefinition(ActionDefinitionT &&value)
const Aws::String & GetActionName() const
void SetActionName(ActionNameT &&value)
bool ActionNameHasBeenSet() const
CustomAction & WithActionDefinition(ActionDefinitionT &&value)
AWS_NETWORKFIREWALL_API CustomAction(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const ActionDefinition & GetActionDefinition() const
bool ActionDefinitionHasBeenSet() const
AWS_NETWORKFIREWALL_API CustomAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String