7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/fms/FMS_EXPORTS.h>
32 AWS_FMS_API
PartialMatch(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_FMS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename ReferenceT = Aws::String>
45 m_referenceHasBeenSet =
true;
46 m_reference = std::forward<ReferenceT>(value);
48 template <
typename ReferenceT = Aws::String>
61 template <
typename TargetViolationReasonsT = Aws::Vector<Aws::String>>
63 m_targetViolationReasonsHasBeenSet =
true;
64 m_targetViolationReasons = std::forward<TargetViolationReasonsT>(value);
66 template <
typename TargetViolationReasonsT = Aws::Vector<Aws::String>>
71 template <
typename TargetViolationReasonsT = Aws::String>
73 m_targetViolationReasonsHasBeenSet =
true;
74 m_targetViolationReasons.emplace_back(std::forward<TargetViolationReasonsT>(value));
82 bool m_referenceHasBeenSet =
false;
83 bool m_targetViolationReasonsHasBeenSet =
false;
PartialMatch & AddTargetViolationReasons(TargetViolationReasonsT &&value)
PartialMatch & WithReference(ReferenceT &&value)
void SetReference(ReferenceT &&value)
const Aws::String & GetReference() const
PartialMatch & WithTargetViolationReasons(TargetViolationReasonsT &&value)
bool TargetViolationReasonsHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargetViolationReasons() const
void SetTargetViolationReasons(TargetViolationReasonsT &&value)
AWS_FMS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ReferenceHasBeenSet() const
AWS_FMS_API PartialMatch & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_FMS_API PartialMatch()=default
AWS_FMS_API PartialMatch(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector