AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
X12ElementRequirementValidationRule.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/ElementRequirement.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace B2BI {
21namespace Model {
22
34 public:
35 AWS_B2BI_API X12ElementRequirementValidationRule() = default;
39
41
47 inline const Aws::String& GetElementPosition() const { return m_elementPosition; }
48 inline bool ElementPositionHasBeenSet() const { return m_elementPositionHasBeenSet; }
49 template <typename ElementPositionT = Aws::String>
50 void SetElementPosition(ElementPositionT&& value) {
51 m_elementPositionHasBeenSet = true;
52 m_elementPosition = std::forward<ElementPositionT>(value);
53 }
54 template <typename ElementPositionT = Aws::String>
56 SetElementPosition(std::forward<ElementPositionT>(value));
57 return *this;
58 }
60
62
67 inline ElementRequirement GetRequirement() const { return m_requirement; }
68 inline bool RequirementHasBeenSet() const { return m_requirementHasBeenSet; }
70 m_requirementHasBeenSet = true;
71 m_requirement = value;
72 }
74 SetRequirement(value);
75 return *this;
76 }
78 private:
79 Aws::String m_elementPosition;
80 bool m_elementPositionHasBeenSet = false;
81
83 bool m_requirementHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace B2BI
88} // 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