AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
X12Details.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/X12TransactionSet.h>
9#include <aws/b2bi/model/X12Version.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 X12Details();
41 AWS_B2BI_API X12Details(Aws::Utils::Json::JsonView jsonValue);
44
45
47
52 inline const X12TransactionSet& GetTransactionSet() const{ return m_transactionSet; }
53 inline bool TransactionSetHasBeenSet() const { return m_transactionSetHasBeenSet; }
54 inline void SetTransactionSet(const X12TransactionSet& value) { m_transactionSetHasBeenSet = true; m_transactionSet = value; }
55 inline void SetTransactionSet(X12TransactionSet&& value) { m_transactionSetHasBeenSet = true; m_transactionSet = std::move(value); }
56 inline X12Details& WithTransactionSet(const X12TransactionSet& value) { SetTransactionSet(value); return *this;}
57 inline X12Details& WithTransactionSet(X12TransactionSet&& value) { SetTransactionSet(std::move(value)); return *this;}
59
61
64 inline const X12Version& GetVersion() const{ return m_version; }
65 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
66 inline void SetVersion(const X12Version& value) { m_versionHasBeenSet = true; m_version = value; }
67 inline void SetVersion(X12Version&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
68 inline X12Details& WithVersion(const X12Version& value) { SetVersion(value); return *this;}
69 inline X12Details& WithVersion(X12Version&& value) { SetVersion(std::move(value)); return *this;}
71 private:
72
73 X12TransactionSet m_transactionSet;
74 bool m_transactionSetHasBeenSet = false;
75
76 X12Version m_version;
77 bool m_versionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace B2BI
82} // namespace Aws
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12Details & WithVersion(const X12Version &value)
Definition X12Details.h:68
X12Details & WithTransactionSet(X12TransactionSet &&value)
Definition X12Details.h:57
void SetVersion(X12Version &&value)
Definition X12Details.h:67
void SetTransactionSet(X12TransactionSet &&value)
Definition X12Details.h:55
void SetVersion(const X12Version &value)
Definition X12Details.h:66
void SetTransactionSet(const X12TransactionSet &value)
Definition X12Details.h:54
AWS_B2BI_API X12Details(Aws::Utils::Json::JsonView jsonValue)
const X12TransactionSet & GetTransactionSet() const
Definition X12Details.h:52
X12Details & WithVersion(X12Version &&value)
Definition X12Details.h:69
X12Details & WithTransactionSet(const X12TransactionSet &value)
Definition X12Details.h:56
AWS_B2BI_API X12Details & operator=(Aws::Utils::Json::JsonView jsonValue)
const X12Version & GetVersion() const
Definition X12Details.h:64
bool TransactionSetHasBeenSet() const
Definition X12Details.h:53
Aws::Utils::Json::JsonValue JsonValue