AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
X12AdvancedOptions.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/X12SplitOptions.h>
9#include <aws/b2bi/model/X12ValidationOptions.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
34 {
35 public:
36 AWS_B2BI_API X12AdvancedOptions() = default;
40
41
43
47 inline const X12SplitOptions& GetSplitOptions() const { return m_splitOptions; }
48 inline bool SplitOptionsHasBeenSet() const { return m_splitOptionsHasBeenSet; }
49 template<typename SplitOptionsT = X12SplitOptions>
50 void SetSplitOptions(SplitOptionsT&& value) { m_splitOptionsHasBeenSet = true; m_splitOptions = std::forward<SplitOptionsT>(value); }
51 template<typename SplitOptionsT = X12SplitOptions>
52 X12AdvancedOptions& WithSplitOptions(SplitOptionsT&& value) { SetSplitOptions(std::forward<SplitOptionsT>(value)); return *this;}
54
56
62 inline const X12ValidationOptions& GetValidationOptions() const { return m_validationOptions; }
63 inline bool ValidationOptionsHasBeenSet() const { return m_validationOptionsHasBeenSet; }
64 template<typename ValidationOptionsT = X12ValidationOptions>
65 void SetValidationOptions(ValidationOptionsT&& value) { m_validationOptionsHasBeenSet = true; m_validationOptions = std::forward<ValidationOptionsT>(value); }
66 template<typename ValidationOptionsT = X12ValidationOptions>
67 X12AdvancedOptions& WithValidationOptions(ValidationOptionsT&& value) { SetValidationOptions(std::forward<ValidationOptionsT>(value)); return *this;}
69 private:
70
71 X12SplitOptions m_splitOptions;
72 bool m_splitOptionsHasBeenSet = false;
73
74 X12ValidationOptions m_validationOptions;
75 bool m_validationOptionsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace B2BI
80} // namespace Aws
const X12SplitOptions & GetSplitOptions() const
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12AdvancedOptions & WithValidationOptions(ValidationOptionsT &&value)
void SetValidationOptions(ValidationOptionsT &&value)
AWS_B2BI_API X12AdvancedOptions()=default
const X12ValidationOptions & GetValidationOptions() const
AWS_B2BI_API X12AdvancedOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API X12AdvancedOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
X12AdvancedOptions & WithSplitOptions(SplitOptionsT &&value)
void SetSplitOptions(SplitOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue