7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename ReferenceT = Aws::String>
50 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet =
true; m_reference = std::forward<ReferenceT>(value); }
51 template<
typename ReferenceT = Aws::String>
61 template<
typename TargetViolationReasonsT = Aws::Vector<Aws::String>>
62 void SetTargetViolationReasons(TargetViolationReasonsT&& value) { m_targetViolationReasonsHasBeenSet =
true; m_targetViolationReasons = std::forward<TargetViolationReasonsT>(value); }
63 template<
typename TargetViolationReasonsT = Aws::Vector<Aws::String>>
65 template<
typename TargetViolationReasonsT = Aws::String>
66 PartialMatch&
AddTargetViolationReasons(TargetViolationReasonsT&& value) { m_targetViolationReasonsHasBeenSet =
true; m_targetViolationReasons.emplace_back(std::forward<TargetViolationReasonsT>(value));
return *
this; }
71 bool m_referenceHasBeenSet =
false;
74 bool m_targetViolationReasonsHasBeenSet =
false;
PartialMatch & AddTargetViolationReasons(TargetViolationReasonsT &&value)
AWS_FMS_API PartialMatch(Aws::Utils::Json::JsonView jsonValue)
PartialMatch & WithReference(ReferenceT &&value)
void SetReference(ReferenceT &&value)
AWS_FMS_API PartialMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
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 Aws::Utils::Json::JsonValue Jsonize() const
bool ReferenceHasBeenSet() const
AWS_FMS_API PartialMatch()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue