AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
X12InterchangeControlHeaders.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
36 {
37 public:
42
43
45
50 inline const Aws::String& GetSenderIdQualifier() const{ return m_senderIdQualifier; }
51 inline bool SenderIdQualifierHasBeenSet() const { return m_senderIdQualifierHasBeenSet; }
52 inline void SetSenderIdQualifier(const Aws::String& value) { m_senderIdQualifierHasBeenSet = true; m_senderIdQualifier = value; }
53 inline void SetSenderIdQualifier(Aws::String&& value) { m_senderIdQualifierHasBeenSet = true; m_senderIdQualifier = std::move(value); }
54 inline void SetSenderIdQualifier(const char* value) { m_senderIdQualifierHasBeenSet = true; m_senderIdQualifier.assign(value); }
56 inline X12InterchangeControlHeaders& WithSenderIdQualifier(Aws::String&& value) { SetSenderIdQualifier(std::move(value)); return *this;}
57 inline X12InterchangeControlHeaders& WithSenderIdQualifier(const char* value) { SetSenderIdQualifier(value); return *this;}
59
61
65 inline const Aws::String& GetSenderId() const{ return m_senderId; }
66 inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; }
67 inline void SetSenderId(const Aws::String& value) { m_senderIdHasBeenSet = true; m_senderId = value; }
68 inline void SetSenderId(Aws::String&& value) { m_senderIdHasBeenSet = true; m_senderId = std::move(value); }
69 inline void SetSenderId(const char* value) { m_senderIdHasBeenSet = true; m_senderId.assign(value); }
70 inline X12InterchangeControlHeaders& WithSenderId(const Aws::String& value) { SetSenderId(value); return *this;}
71 inline X12InterchangeControlHeaders& WithSenderId(Aws::String&& value) { SetSenderId(std::move(value)); return *this;}
72 inline X12InterchangeControlHeaders& WithSenderId(const char* value) { SetSenderId(value); return *this;}
74
76
81 inline const Aws::String& GetReceiverIdQualifier() const{ return m_receiverIdQualifier; }
82 inline bool ReceiverIdQualifierHasBeenSet() const { return m_receiverIdQualifierHasBeenSet; }
83 inline void SetReceiverIdQualifier(const Aws::String& value) { m_receiverIdQualifierHasBeenSet = true; m_receiverIdQualifier = value; }
84 inline void SetReceiverIdQualifier(Aws::String&& value) { m_receiverIdQualifierHasBeenSet = true; m_receiverIdQualifier = std::move(value); }
85 inline void SetReceiverIdQualifier(const char* value) { m_receiverIdQualifierHasBeenSet = true; m_receiverIdQualifier.assign(value); }
88 inline X12InterchangeControlHeaders& WithReceiverIdQualifier(const char* value) { SetReceiverIdQualifier(value); return *this;}
90
92
97 inline const Aws::String& GetReceiverId() const{ return m_receiverId; }
98 inline bool ReceiverIdHasBeenSet() const { return m_receiverIdHasBeenSet; }
99 inline void SetReceiverId(const Aws::String& value) { m_receiverIdHasBeenSet = true; m_receiverId = value; }
100 inline void SetReceiverId(Aws::String&& value) { m_receiverIdHasBeenSet = true; m_receiverId = std::move(value); }
101 inline void SetReceiverId(const char* value) { m_receiverIdHasBeenSet = true; m_receiverId.assign(value); }
102 inline X12InterchangeControlHeaders& WithReceiverId(const Aws::String& value) { SetReceiverId(value); return *this;}
103 inline X12InterchangeControlHeaders& WithReceiverId(Aws::String&& value) { SetReceiverId(std::move(value)); return *this;}
104 inline X12InterchangeControlHeaders& WithReceiverId(const char* value) { SetReceiverId(value); return *this;}
106
108
117 inline const Aws::String& GetRepetitionSeparator() const{ return m_repetitionSeparator; }
118 inline bool RepetitionSeparatorHasBeenSet() const { return m_repetitionSeparatorHasBeenSet; }
119 inline void SetRepetitionSeparator(const Aws::String& value) { m_repetitionSeparatorHasBeenSet = true; m_repetitionSeparator = value; }
120 inline void SetRepetitionSeparator(Aws::String&& value) { m_repetitionSeparatorHasBeenSet = true; m_repetitionSeparator = std::move(value); }
121 inline void SetRepetitionSeparator(const char* value) { m_repetitionSeparatorHasBeenSet = true; m_repetitionSeparator.assign(value); }
124 inline X12InterchangeControlHeaders& WithRepetitionSeparator(const char* value) { SetRepetitionSeparator(value); return *this;}
126
128
133 inline const Aws::String& GetAcknowledgmentRequestedCode() const{ return m_acknowledgmentRequestedCode; }
134 inline bool AcknowledgmentRequestedCodeHasBeenSet() const { return m_acknowledgmentRequestedCodeHasBeenSet; }
135 inline void SetAcknowledgmentRequestedCode(const Aws::String& value) { m_acknowledgmentRequestedCodeHasBeenSet = true; m_acknowledgmentRequestedCode = value; }
136 inline void SetAcknowledgmentRequestedCode(Aws::String&& value) { m_acknowledgmentRequestedCodeHasBeenSet = true; m_acknowledgmentRequestedCode = std::move(value); }
137 inline void SetAcknowledgmentRequestedCode(const char* value) { m_acknowledgmentRequestedCodeHasBeenSet = true; m_acknowledgmentRequestedCode.assign(value); }
142
144
151 inline const Aws::String& GetUsageIndicatorCode() const{ return m_usageIndicatorCode; }
152 inline bool UsageIndicatorCodeHasBeenSet() const { return m_usageIndicatorCodeHasBeenSet; }
153 inline void SetUsageIndicatorCode(const Aws::String& value) { m_usageIndicatorCodeHasBeenSet = true; m_usageIndicatorCode = value; }
154 inline void SetUsageIndicatorCode(Aws::String&& value) { m_usageIndicatorCodeHasBeenSet = true; m_usageIndicatorCode = std::move(value); }
155 inline void SetUsageIndicatorCode(const char* value) { m_usageIndicatorCodeHasBeenSet = true; m_usageIndicatorCode.assign(value); }
158 inline X12InterchangeControlHeaders& WithUsageIndicatorCode(const char* value) { SetUsageIndicatorCode(value); return *this;}
160 private:
161
162 Aws::String m_senderIdQualifier;
163 bool m_senderIdQualifierHasBeenSet = false;
164
165 Aws::String m_senderId;
166 bool m_senderIdHasBeenSet = false;
167
168 Aws::String m_receiverIdQualifier;
169 bool m_receiverIdQualifierHasBeenSet = false;
170
171 Aws::String m_receiverId;
172 bool m_receiverIdHasBeenSet = false;
173
174 Aws::String m_repetitionSeparator;
175 bool m_repetitionSeparatorHasBeenSet = false;
176
177 Aws::String m_acknowledgmentRequestedCode;
178 bool m_acknowledgmentRequestedCodeHasBeenSet = false;
179
180 Aws::String m_usageIndicatorCode;
181 bool m_usageIndicatorCodeHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace B2BI
186} // namespace Aws
X12InterchangeControlHeaders & WithAcknowledgmentRequestedCode(Aws::String &&value)
X12InterchangeControlHeaders & WithSenderId(const char *value)
X12InterchangeControlHeaders & WithReceiverIdQualifier(const Aws::String &value)
X12InterchangeControlHeaders & WithUsageIndicatorCode(Aws::String &&value)
X12InterchangeControlHeaders & WithSenderId(const Aws::String &value)
X12InterchangeControlHeaders & WithReceiverId(const Aws::String &value)
X12InterchangeControlHeaders & WithReceiverId(const char *value)
AWS_B2BI_API X12InterchangeControlHeaders(Aws::Utils::Json::JsonView jsonValue)
X12InterchangeControlHeaders & WithSenderIdQualifier(const Aws::String &value)
X12InterchangeControlHeaders & WithSenderIdQualifier(const char *value)
X12InterchangeControlHeaders & WithSenderIdQualifier(Aws::String &&value)
X12InterchangeControlHeaders & WithReceiverId(Aws::String &&value)
X12InterchangeControlHeaders & WithSenderId(Aws::String &&value)
X12InterchangeControlHeaders & WithAcknowledgmentRequestedCode(const char *value)
X12InterchangeControlHeaders & WithRepetitionSeparator(Aws::String &&value)
X12InterchangeControlHeaders & WithUsageIndicatorCode(const Aws::String &value)
X12InterchangeControlHeaders & WithUsageIndicatorCode(const char *value)
X12InterchangeControlHeaders & WithRepetitionSeparator(const char *value)
X12InterchangeControlHeaders & WithRepetitionSeparator(const Aws::String &value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12InterchangeControlHeaders & WithReceiverIdQualifier(Aws::String &&value)
X12InterchangeControlHeaders & WithAcknowledgmentRequestedCode(const Aws::String &value)
AWS_B2BI_API X12InterchangeControlHeaders & operator=(Aws::Utils::Json::JsonView jsonValue)
X12InterchangeControlHeaders & WithReceiverIdQualifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue