AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
X12ElementRequirementValidationRule.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/ElementRequirement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_B2BI_API X12ElementRequirementValidationRule() = default;
44
45
47
53 inline const Aws::String& GetElementPosition() const { return m_elementPosition; }
54 inline bool ElementPositionHasBeenSet() const { return m_elementPositionHasBeenSet; }
55 template<typename ElementPositionT = Aws::String>
56 void SetElementPosition(ElementPositionT&& value) { m_elementPositionHasBeenSet = true; m_elementPosition = std::forward<ElementPositionT>(value); }
57 template<typename ElementPositionT = Aws::String>
58 X12ElementRequirementValidationRule& WithElementPosition(ElementPositionT&& value) { SetElementPosition(std::forward<ElementPositionT>(value)); return *this;}
60
62
67 inline ElementRequirement GetRequirement() const { return m_requirement; }
68 inline bool RequirementHasBeenSet() const { return m_requirementHasBeenSet; }
69 inline void SetRequirement(ElementRequirement value) { m_requirementHasBeenSet = true; m_requirement = value; }
72 private:
73
74 Aws::String m_elementPosition;
75 bool m_elementPositionHasBeenSet = false;
76
78 bool m_requirementHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace B2BI
83} // namespace Aws
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API X12ElementRequirementValidationRule(Aws::Utils::Json::JsonView jsonValue)
X12ElementRequirementValidationRule & WithElementPosition(ElementPositionT &&value)
X12ElementRequirementValidationRule & WithRequirement(ElementRequirement value)
AWS_B2BI_API X12ElementRequirementValidationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue