AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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