7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/fms/FMS_EXPORTS.h>
33 AWS_FMS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename RuleGroupNameT = Aws::String>
43 m_ruleGroupNameHasBeenSet =
true;
44 m_ruleGroupName = std::forward<RuleGroupNameT>(value);
46 template <
typename RuleGroupNameT = Aws::String>
59 template <
typename ResourceIdT = Aws::String>
61 m_resourceIdHasBeenSet =
true;
62 m_resourceId = std::forward<ResourceIdT>(value);
64 template <
typename ResourceIdT = Aws::String>
79 m_priorityHasBeenSet =
true;
92 int64_t m_priority{0};
93 bool m_ruleGroupNameHasBeenSet =
false;
94 bool m_resourceIdHasBeenSet =
false;
95 bool m_priorityHasBeenSet =
false;
StatelessRuleGroup & WithPriority(int64_t value)
AWS_FMS_API StatelessRuleGroup & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetPriority(int64_t value)
StatelessRuleGroup & WithRuleGroupName(RuleGroupNameT &&value)
void SetRuleGroupName(RuleGroupNameT &&value)
bool PriorityHasBeenSet() const
AWS_FMS_API StatelessRuleGroup()=default
const Aws::String & GetRuleGroupName() const
bool RuleGroupNameHasBeenSet() const
bool ResourceIdHasBeenSet() const
AWS_FMS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetResourceId(ResourceIdT &&value)
AWS_FMS_API StatelessRuleGroup(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetResourceId() const
StatelessRuleGroup & WithResourceId(ResourceIdT &&value)
int64_t GetPriority() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String