7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename ElementIdT = Aws::String>
54 void SetElementId(ElementIdT&& value) { m_elementIdHasBeenSet =
true; m_elementId = std::forward<ElementIdT>(value); }
55 template<
typename ElementIdT = Aws::String>
67 inline void SetMaxLength(
int value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
79 inline void SetMinLength(
int value) { m_minLengthHasBeenSet =
true; m_minLength = value; }
85 bool m_elementIdHasBeenSet =
false;
88 bool m_maxLengthHasBeenSet =
false;
91 bool m_minLengthHasBeenSet =
false;
const Aws::String & GetElementId() const
X12ElementLengthValidationRule & WithElementId(ElementIdT &&value)
void SetMinLength(int value)
bool MaxLengthHasBeenSet() const
void SetMaxLength(int value)
AWS_B2BI_API X12ElementLengthValidationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetElementId(ElementIdT &&value)
X12ElementLengthValidationRule & WithMaxLength(int value)
bool ElementIdHasBeenSet() const
AWS_B2BI_API X12ElementLengthValidationRule()=default
bool MinLengthHasBeenSet() const
AWS_B2BI_API X12ElementLengthValidationRule(Aws::Utils::Json::JsonView jsonValue)
X12ElementLengthValidationRule & WithMinLength(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue