7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/X12CodeListValidationRule.h>
9#include <aws/b2bi/model/X12ElementLengthValidationRule.h>
10#include <aws/b2bi/model/X12ElementRequirementValidationRule.h>
58 template<
typename CodeListVal
idationRuleT = X12CodeListVal
idationRule>
59 void SetCodeListValidationRule(CodeListValidationRuleT&& value) { m_codeListValidationRuleHasBeenSet =
true; m_codeListValidationRule = std::forward<CodeListValidationRuleT>(value); }
60 template<
typename CodeListVal
idationRuleT = X12CodeListVal
idationRule>
73 template<
typename ElementLengthVal
idationRuleT = X12ElementLengthVal
idationRule>
74 void SetElementLengthValidationRule(ElementLengthValidationRuleT&& value) { m_elementLengthValidationRuleHasBeenSet =
true; m_elementLengthValidationRule = std::forward<ElementLengthValidationRuleT>(value); }
75 template<
typename ElementLengthVal
idationRuleT = X12ElementLengthVal
idationRule>
88 template<
typename ElementRequirementVal
idationRuleT = X12ElementRequirementVal
idationRule>
89 void SetElementRequirementValidationRule(ElementRequirementValidationRuleT&& value) { m_elementRequirementValidationRuleHasBeenSet =
true; m_elementRequirementValidationRule = std::forward<ElementRequirementValidationRuleT>(value); }
90 template<
typename ElementRequirementVal
idationRuleT = X12ElementRequirementVal
idationRule>
96 bool m_codeListValidationRuleHasBeenSet =
false;
99 bool m_elementLengthValidationRuleHasBeenSet =
false;
102 bool m_elementRequirementValidationRuleHasBeenSet =
false;
X12ValidationRule & WithElementRequirementValidationRule(ElementRequirementValidationRuleT &&value)
bool ElementRequirementValidationRuleHasBeenSet() const
const X12ElementRequirementValidationRule & GetElementRequirementValidationRule() const
AWS_B2BI_API X12ValidationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const X12CodeListValidationRule & GetCodeListValidationRule() const
void SetElementRequirementValidationRule(ElementRequirementValidationRuleT &&value)
AWS_B2BI_API X12ValidationRule()=default
bool ElementLengthValidationRuleHasBeenSet() const
AWS_B2BI_API X12ValidationRule(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12ValidationRule & WithElementLengthValidationRule(ElementLengthValidationRuleT &&value)
bool CodeListValidationRuleHasBeenSet() const
const X12ElementLengthValidationRule & GetElementLengthValidationRule() const
void SetCodeListValidationRule(CodeListValidationRuleT &&value)
X12ValidationRule & WithCodeListValidationRule(CodeListValidationRuleT &&value)
void SetElementLengthValidationRule(ElementLengthValidationRuleT &&value)
Aws::Utils::Json::JsonValue JsonValue