7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
31 AWS_WORKSPACES_API
IpRuleItem(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API
IpRuleItem&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename IpRuleT = Aws::String>
43 m_ipRuleHasBeenSet =
true;
44 m_ipRule = std::forward<IpRuleT>(value);
46 template <
typename IpRuleT = Aws::String>
59 template <
typename RuleDescT = Aws::String>
61 m_ruleDescHasBeenSet =
true;
62 m_ruleDesc = std::forward<RuleDescT>(value);
64 template <
typename RuleDescT = Aws::String>
74 bool m_ipRuleHasBeenSet =
false;
75 bool m_ruleDescHasBeenSet =
false;
void SetRuleDesc(RuleDescT &&value)
void SetIpRule(IpRuleT &&value)
IpRuleItem & WithRuleDesc(RuleDescT &&value)
IpRuleItem & WithIpRule(IpRuleT &&value)
bool IpRuleHasBeenSet() const
const Aws::String & GetRuleDesc() const
AWS_WORKSPACES_API IpRuleItem & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetIpRule() const
bool RuleDescHasBeenSet() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API IpRuleItem(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API IpRuleItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String