AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 X12FunctionalGroupHeaders() = default;
39
40
42
46 inline const Aws::String& GetApplicationSenderCode() const { return m_applicationSenderCode; }
47 inline bool ApplicationSenderCodeHasBeenSet() const { return m_applicationSenderCodeHasBeenSet; }
48 template<typename ApplicationSenderCodeT = Aws::String>
49 void SetApplicationSenderCode(ApplicationSenderCodeT&& value) { m_applicationSenderCodeHasBeenSet = true; m_applicationSenderCode = std::forward<ApplicationSenderCodeT>(value); }
50 template<typename ApplicationSenderCodeT = Aws::String>
51 X12FunctionalGroupHeaders& WithApplicationSenderCode(ApplicationSenderCodeT&& value) { SetApplicationSenderCode(std::forward<ApplicationSenderCodeT>(value)); return *this;}
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) { m_applicationReceiverCodeHasBeenSet = true; m_applicationReceiverCode = std::forward<ApplicationReceiverCodeT>(value); }
63 template<typename ApplicationReceiverCodeT = Aws::String>
64 X12FunctionalGroupHeaders& WithApplicationReceiverCode(ApplicationReceiverCodeT&& value) { SetApplicationReceiverCode(std::forward<ApplicationReceiverCodeT>(value)); return *this;}
66
68
71 inline const Aws::String& GetResponsibleAgencyCode() const { return m_responsibleAgencyCode; }
72 inline bool ResponsibleAgencyCodeHasBeenSet() const { return m_responsibleAgencyCodeHasBeenSet; }
73 template<typename ResponsibleAgencyCodeT = Aws::String>
74 void SetResponsibleAgencyCode(ResponsibleAgencyCodeT&& value) { m_responsibleAgencyCodeHasBeenSet = true; m_responsibleAgencyCode = std::forward<ResponsibleAgencyCodeT>(value); }
75 template<typename ResponsibleAgencyCodeT = Aws::String>
76 X12FunctionalGroupHeaders& WithResponsibleAgencyCode(ResponsibleAgencyCodeT&& value) { SetResponsibleAgencyCode(std::forward<ResponsibleAgencyCodeT>(value)); return *this;}
78 private:
79
80 Aws::String m_applicationSenderCode;
81 bool m_applicationSenderCodeHasBeenSet = false;
82
83 Aws::String m_applicationReceiverCode;
84 bool m_applicationReceiverCodeHasBeenSet = false;
85
86 Aws::String m_responsibleAgencyCode;
87 bool m_responsibleAgencyCodeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace B2BI
92} // 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