AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
X12FunctionalGroupHeaders.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
29 public:
30 AWS_B2BI_API X12FunctionalGroupHeaders() = default;
34
36
40 inline const Aws::String& GetApplicationSenderCode() const { return m_applicationSenderCode; }
41 inline bool ApplicationSenderCodeHasBeenSet() const { return m_applicationSenderCodeHasBeenSet; }
42 template <typename ApplicationSenderCodeT = Aws::String>
43 void SetApplicationSenderCode(ApplicationSenderCodeT&& value) {
44 m_applicationSenderCodeHasBeenSet = true;
45 m_applicationSenderCode = std::forward<ApplicationSenderCodeT>(value);
46 }
47 template <typename ApplicationSenderCodeT = Aws::String>
48 X12FunctionalGroupHeaders& WithApplicationSenderCode(ApplicationSenderCodeT&& value) {
49 SetApplicationSenderCode(std::forward<ApplicationSenderCodeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetApplicationReceiverCode() const { return m_applicationReceiverCode; }
60 inline bool ApplicationReceiverCodeHasBeenSet() const { return m_applicationReceiverCodeHasBeenSet; }
61 template <typename ApplicationReceiverCodeT = Aws::String>
62 void SetApplicationReceiverCode(ApplicationReceiverCodeT&& value) {
63 m_applicationReceiverCodeHasBeenSet = true;
64 m_applicationReceiverCode = std::forward<ApplicationReceiverCodeT>(value);
65 }
66 template <typename ApplicationReceiverCodeT = Aws::String>
67 X12FunctionalGroupHeaders& WithApplicationReceiverCode(ApplicationReceiverCodeT&& value) {
68 SetApplicationReceiverCode(std::forward<ApplicationReceiverCodeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetResponsibleAgencyCode() const { return m_responsibleAgencyCode; }
78 inline bool ResponsibleAgencyCodeHasBeenSet() const { return m_responsibleAgencyCodeHasBeenSet; }
79 template <typename ResponsibleAgencyCodeT = Aws::String>
80 void SetResponsibleAgencyCode(ResponsibleAgencyCodeT&& value) {
81 m_responsibleAgencyCodeHasBeenSet = true;
82 m_responsibleAgencyCode = std::forward<ResponsibleAgencyCodeT>(value);
83 }
84 template <typename ResponsibleAgencyCodeT = Aws::String>
85 X12FunctionalGroupHeaders& WithResponsibleAgencyCode(ResponsibleAgencyCodeT&& value) {
86 SetResponsibleAgencyCode(std::forward<ResponsibleAgencyCodeT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_applicationSenderCode;
92 bool m_applicationSenderCodeHasBeenSet = false;
93
94 Aws::String m_applicationReceiverCode;
95 bool m_applicationReceiverCodeHasBeenSet = false;
96
97 Aws::String m_responsibleAgencyCode;
98 bool m_responsibleAgencyCodeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace B2BI
103} // namespace Aws
AWS_B2BI_API X12FunctionalGroupHeaders(Aws::Utils::Json::JsonView jsonValue)
X12FunctionalGroupHeaders & WithApplicationReceiverCode(ApplicationReceiverCodeT &&value)
void SetApplicationReceiverCode(ApplicationReceiverCodeT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
X12FunctionalGroupHeaders & WithResponsibleAgencyCode(ResponsibleAgencyCodeT &&value)
AWS_B2BI_API X12FunctionalGroupHeaders & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationSenderCode(ApplicationSenderCodeT &&value)
void SetResponsibleAgencyCode(ResponsibleAgencyCodeT &&value)
AWS_B2BI_API X12FunctionalGroupHeaders()=default
X12FunctionalGroupHeaders & WithApplicationSenderCode(ApplicationSenderCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue