AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
X12Delimiters.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_B2BI_API X12Delimiters();
41
42
44
48 inline const Aws::String& GetComponentSeparator() const{ return m_componentSeparator; }
49 inline bool ComponentSeparatorHasBeenSet() const { return m_componentSeparatorHasBeenSet; }
50 inline void SetComponentSeparator(const Aws::String& value) { m_componentSeparatorHasBeenSet = true; m_componentSeparator = value; }
51 inline void SetComponentSeparator(Aws::String&& value) { m_componentSeparatorHasBeenSet = true; m_componentSeparator = std::move(value); }
52 inline void SetComponentSeparator(const char* value) { m_componentSeparatorHasBeenSet = true; m_componentSeparator.assign(value); }
53 inline X12Delimiters& WithComponentSeparator(const Aws::String& value) { SetComponentSeparator(value); return *this;}
54 inline X12Delimiters& WithComponentSeparator(Aws::String&& value) { SetComponentSeparator(std::move(value)); return *this;}
55 inline X12Delimiters& WithComponentSeparator(const char* value) { SetComponentSeparator(value); return *this;}
57
59
63 inline const Aws::String& GetDataElementSeparator() const{ return m_dataElementSeparator; }
64 inline bool DataElementSeparatorHasBeenSet() const { return m_dataElementSeparatorHasBeenSet; }
65 inline void SetDataElementSeparator(const Aws::String& value) { m_dataElementSeparatorHasBeenSet = true; m_dataElementSeparator = value; }
66 inline void SetDataElementSeparator(Aws::String&& value) { m_dataElementSeparatorHasBeenSet = true; m_dataElementSeparator = std::move(value); }
67 inline void SetDataElementSeparator(const char* value) { m_dataElementSeparatorHasBeenSet = true; m_dataElementSeparator.assign(value); }
68 inline X12Delimiters& WithDataElementSeparator(const Aws::String& value) { SetDataElementSeparator(value); return *this;}
69 inline X12Delimiters& WithDataElementSeparator(Aws::String&& value) { SetDataElementSeparator(std::move(value)); return *this;}
70 inline X12Delimiters& WithDataElementSeparator(const char* value) { SetDataElementSeparator(value); return *this;}
72
74
77 inline const Aws::String& GetSegmentTerminator() const{ return m_segmentTerminator; }
78 inline bool SegmentTerminatorHasBeenSet() const { return m_segmentTerminatorHasBeenSet; }
79 inline void SetSegmentTerminator(const Aws::String& value) { m_segmentTerminatorHasBeenSet = true; m_segmentTerminator = value; }
80 inline void SetSegmentTerminator(Aws::String&& value) { m_segmentTerminatorHasBeenSet = true; m_segmentTerminator = std::move(value); }
81 inline void SetSegmentTerminator(const char* value) { m_segmentTerminatorHasBeenSet = true; m_segmentTerminator.assign(value); }
82 inline X12Delimiters& WithSegmentTerminator(const Aws::String& value) { SetSegmentTerminator(value); return *this;}
83 inline X12Delimiters& WithSegmentTerminator(Aws::String&& value) { SetSegmentTerminator(std::move(value)); return *this;}
84 inline X12Delimiters& WithSegmentTerminator(const char* value) { SetSegmentTerminator(value); return *this;}
86 private:
87
88 Aws::String m_componentSeparator;
89 bool m_componentSeparatorHasBeenSet = false;
90
91 Aws::String m_dataElementSeparator;
92 bool m_dataElementSeparatorHasBeenSet = false;
93
94 Aws::String m_segmentTerminator;
95 bool m_segmentTerminatorHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace B2BI
100} // namespace Aws
X12Delimiters & WithSegmentTerminator(Aws::String &&value)
X12Delimiters & WithDataElementSeparator(Aws::String &&value)
X12Delimiters & WithDataElementSeparator(const char *value)
const Aws::String & GetComponentSeparator() const
X12Delimiters & WithComponentSeparator(const char *value)
void SetDataElementSeparator(const Aws::String &value)
const Aws::String & GetDataElementSeparator() const
X12Delimiters & WithSegmentTerminator(const char *value)
bool DataElementSeparatorHasBeenSet() const
X12Delimiters & WithComponentSeparator(const Aws::String &value)
X12Delimiters & WithDataElementSeparator(const Aws::String &value)
void SetComponentSeparator(Aws::String &&value)
void SetComponentSeparator(const char *value)
void SetDataElementSeparator(const char *value)
void SetDataElementSeparator(Aws::String &&value)
AWS_B2BI_API X12Delimiters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSegmentTerminator(const Aws::String &value)
const Aws::String & GetSegmentTerminator() const
void SetSegmentTerminator(Aws::String &&value)
AWS_B2BI_API X12Delimiters(Aws::Utils::Json::JsonView jsonValue)
void SetComponentSeparator(const Aws::String &value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12Delimiters & WithSegmentTerminator(const Aws::String &value)
void SetSegmentTerminator(const char *value)
X12Delimiters & WithComponentSeparator(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue