AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
OutboundEdiOptions.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/X12Envelope.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace B2BI {
20namespace Model {
21
28 public:
29 AWS_B2BI_API OutboundEdiOptions() = default;
33
35
38 inline const X12Envelope& GetX12() const { return m_x12; }
39 inline bool X12HasBeenSet() const { return m_x12HasBeenSet; }
40 template <typename X12T = X12Envelope>
41 void SetX12(X12T&& value) {
42 m_x12HasBeenSet = true;
43 m_x12 = std::forward<X12T>(value);
44 }
45 template <typename X12T = X12Envelope>
46 OutboundEdiOptions& WithX12(X12T&& value) {
47 SetX12(std::forward<X12T>(value));
48 return *this;
49 }
51 private:
52 X12Envelope m_x12;
53 bool m_x12HasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace B2BI
58} // namespace Aws
AWS_B2BI_API OutboundEdiOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API OutboundEdiOptions()=default
AWS_B2BI_API OutboundEdiOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const X12Envelope & GetX12() const
OutboundEdiOptions & WithX12(X12T &&value)
Aws::Utils::Json::JsonValue JsonValue